Create a webhook
Subscribe to real-time status updates for customers, virtual accounts, and payments. When you create a webhook, you’ll receive JSON notifications at your specified endpoint whenever status changes occur.
Each affiliate can configure only one webhook endpoint. If you register the same event type with a different endpoint, the existing webhook configuration will be updated with the new endpoint details.
Webhook Payload Mapping:
- If you subscribe to CUSTOMER STATUS, your webhook will receive the payload described in the
customer_status_updatedevent. - If you subscribe to VBAN STATUS, your webhook will receive the payload described in the
virtual_account_status_updatedevent. - If you subscribe to PAYMENT STATUS, your webhook will receive the payload described in the
payment_status_updatedevent. - If you subscribe to THIRD PARTY CUSTOMER STATUS, your webhook will receive the payload described in the
third_party_customer_status_updatedevent.
For details of the payload structure, refer to the respective webhook event definition linked above.
Authentication: Bearer token required
Authentication
OAuth 2.0 Bearer token authentication. This API uses OAuth 2.0 Client Credentials flow. Please refer to the Authentication section for detailed information on how to obtain and use your OAuth credentials.