Paytrie Developer Documentation
API ReferenceWebhooks

Get Webhooks

Get webhook configuration for the authenticated API key. Returns the current webhook URLs and their enabled status.

GET
/webhooks

Authorization

ApiKeyAuth
x-api-key<token>

API key

In: header

Header Parameters

x-api-key*string

API key for authentication

Response Body

application/json

curl -X GET "https://api.paytrie.com/webhooks" \  -H "x-api-key: string"
{
  "status": "success",
  "webhook": {
    "transactionCompleteEnabled": true,
    "transactionInitiatedEnabled": true,
    "transactionStatusUpdateEnabled": true,
    "verifiedEmailEnabled": true,
    "transactionCompleteUrl": "string",
    "transactionInitiatedUrl": "string",
    "transactionStatusUpdateUrl": "string",
    "verifiedEmailUrl": "string"
  }
}