Create Webhook

Create Webhook

POST {{Environment_URL}}/v1/notifications/webhooks/:role/:correspondentId

Registers a new webhook URL for a specific role.

Only one URL per scope is allowed. If a webhook is already registered for the given role, it will be overwritten.

Available webhook roles:

  • transactions

  • remittances

  • clients

  • simple_transactions

  • simple_remittances

  • simple_moneygram

Headers

Name
Value

Authorization

Bearer <token>

Path Params

Name
Value
Description

role

clients

Role of the webhook to create

correspondentId

1

Correspondent ID associated with the authenticated user. Obtainable via the /validate route.

Request Body

Response