Skip to main content
GET
/
webhook
cURL
curl --request GET \
  --url https://api.xpaycheckout.com/webhook \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "webhookConfigId": "whc_gKAi2oZN1AeU7BfV",
      "webHookUrl": "https://your-webhook-endpoint.com/webhook",
      "eventSigner": "secret_key",
      "subscribedEventTypes": [
        "intent.checkout_opened",
        "intent.created",
        "intent.failed",
        "intent.refunded",
        "intent.success",
        "subscription.trialing",
        "subscription.cycle_charged"
      ],
      "isActive": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

List of webhook configurations

data
object[]
required

List of webhook configurations