Webhook
Register a webhook
Register a webhook to receive notifications for transaction events
post/webhook/register
Request body
Example request
{
"url": "https://webhook.site/12345678-1234-1234-1234-123456789012",
"secret": "secret"
}Response
Webhook response
Example response
{
"status": "ok",
"data": {
"url": "https://webhook.site/12345678-1234-1234-1234-123456789012",
"secret": "secret",
"event": {
"event": "ping",
"data": {
"message": "This is a test webhook event",
"timestamp": "2021-07-01T12:00:00Z"
}
}
}
}