List webhook subscriptions
GET
/api/webhooks/subscription/list
Code sample: Shell / cURL
curl --request GET \ --url https://api.ztlpay.io/api/webhooks/subscription/list \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Enabled and disabled subscriptions belonging to the authenticated partner.
Media typeapplication/json
Array<object>
object
id
required
string format: uuid
targetUrl
required
string format: uri
enabled
required
boolean
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
eventTypes
required
Array<string>
hasBearerToken
required
boolean
Example
[ { "eventTypes": [ "PAYMENT_STATUS" ] }]Authentication failed.