If you’re just getting started, please check out our quick start guide.
Webhook registration
Use the Endpoint: POST/v1/notifications/webhooks/settings to register a new webhook to receive notifications.
Request Example:
id: A unique identifier for the webhook (e.g., webhook_123456). Use this id to delete or update the webhook when needed url: The URL where webhook notifications will be sent enabled: indicates if message devivery is enabled for specific web hook. true by default. createdAt: The timestamp when the webhook was created. updatedAt: The timestamp when the last time the webhook was updated.
**Note: ** When a webhook is sent, a 200 OK response is expected to confirm successful delivery. If the receiving endpoint does not respond with a 200 status or raise an error, the system will automatically attempt to retry the delivery multiple times.
If all retry attempts fail, the webhook will be marked as disabled by setting "enabled": false. Once disabled, no further webhook events will be delivered to that endpoint. Web hook could be re-enabled using endpoint below
Updating webhook
Use the Endpoint: POSThttps://sandbox-api.borderless.xyz/v1/notifications/webhooks/settings/${id} to update existing webhook url :
Request Example:
${id} with webhook id you would like to update the URL. Additionally, you could disable the web hook is needed:
Request Example:
url field:
Request Example:
Get webhook by id
Use the Endpoint: GET/v1/notifications/webhooks/settings/${id} to receive all webhooks registered for your organization.
Request Example:
${id} with webhook id youʼre interested in.
Get all registered webhooks
Use the Endpoint: GET/v1/notifications/webhooks/settings to receive all webhooks registered for your organization.
Request Example:
Webhook deletion
Finally, use the Endpoint: DELETE/v1/notifications/webhooks/settings/${id} to delete the webhook by id.
Request Example:
Signing payload using public and private keys
Borderless supports webhooks payload authenticity verification using private and public key pair at organization level. A private key is generated with RSA-SHA256 when first web hook address is registered in the system. The verification process on the caller side could use the corresponding public key along with the payload to validate the signature. To regenerate private and public key, send a request to this API:Supported event types
Following event_types are supported:- Transaction_Created
- Transaction_Updated
- VirtualAccount_Created
- VirtualAccount_CreationFailed
- IdentityComplianceCheck_Updated
- IdentityComplianceCheck_Completed
Supported operation types
Web hooks are triggered when one of operation from the list below is executed in the system:- Deposit
- Withdrawal
- Transfer
- TransferToExternalWallet
- Swap
- Approval
If you have any questions, please don’t hesitate to reach out to us via email or slack.