These endpoints configure, retrieve and remove webhooks. See Webhooks for more details.
The GET /webhook/config
endpoint retrieves the webhook configuration.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a payment, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "config": {
- "type": [
- "PAYMENT_STATUS_CHANGED"
], - "url": "your-webhook-url.com"
}
}
The PUT /webhook/config
endpoint sets the webhook configuration.
object (Config) Specifies the types of webhook currently configured. |
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a payment, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{- "config": {
- "type": [
- "PAYMENT_STATUS_CHANGED"
], - "url": "your-webhook-url.com"
}
}
{ }
The DELETE /webhook/config
endpoint deletes the webhook configuration.
Successful response
The client specified an invalid argument
The authorization information is missing or invalid
Permission to access this endpoint is denied
The requested entity, such as a payment, was not found
Too many requests
An unexpected or internal server error
The operation was not implemented
Service is unavailable
Gateway has timed out
{ }