cURL
curl --request POST \ --url https://api.paytring.com/api/v2/webhook/topics \ --header 'Authorization: Basic <encoded-value>'
{ "status": true, "data": [ { "name": "<string>", "description": "<string>" } ] }
Retrieve a list of all available webhook event types (topics) that you can subscribe to.
curl --location 'https://api.paytring.com/api/v2/webhook/topics' \ --user '<API_KEY>:<API_SECRET>'
{ "status": true, "data": [ { "name": "order.paid", "description": "Triggered when an order is successfully paid." }, { "name": "order.failed", "description": "Triggered when a payment attempt fails." } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful response
Show child attributes