Swipelux
Webhook API

Get current webhook configuration

Retrieve the current webhook configuration

GET
/v1/webhooks

Authorization

X-API-Key<token>

In: header

Response Body

The webhook configuration was retrieved successfully

idRequiredstring

The unique identifier for the webhook

urlRequiredstring

The URL of the webhook

secretKeyRequiredstring

The secret key for the webhook

createdAtRequiredstring

The date and time the webhook was created

updatedAtRequiredstring

The date and time the webhook was last updated

export interface Response {
  /**
   * The unique identifier for the webhook
   */
  id: string;
  /**
   * The URL of the webhook
   */
  url: string;
  /**
   * The secret key for the webhook
   */
  secretKey: string;
  /**
   * The date and time the webhook was created
   */
  createdAt: string;
  /**
   * The date and time the webhook was last updated
   */
  updatedAt: string;
}
 
curl -X GET "https://wallet.swipelux.com/v1/webhooks" \
  -H "X-API-Key: <token>"
{
  "id": "string",
  "url": "string",
  "secretKey": "string",
  "createdAt": "string",
  "updatedAt": "string"
}