Skip to main content
POST
Setup

Setup

The system allows the registration of webhook URLs to receive automatic notifications about relevant events. Webhook URL: HTTPS address where the events will be delivered.
Supported events: onboarding, pix_key_payin
Notification format: JSON payload sent via HTTP request
Request method: All notifications will be sent exclusively using the POST method

Request Body

string
required
Type of event that will trigger the webhook.Allowed values: onboarding, pix_key_payin
  • onboarding: notifications about the account onboarding status.
  • pix_key_payin: notifications about Payin credits received via Pix key.
Example: pix_key_payin
string
required
Endpoint URL that will receive the webhook notifications for the selected event.URL characters: a-z, A-Z charactersExample: https://my-url.com/test

Response

string
Type of event that will trigger the webhook.Allowed values: onboarding, pix_key_payinExample: pix_key_payin
string
Endpoint URL that was registered to receive webhook notifications.Example: https://my-url.requestcatcher.com/test

Request Example

Webhook Payload

When an onboarding event occurs, a POST request will be sent to your webhook URL:
The account_id is only returned the first time in the webhook when the status is active.
When the new Onboarding Documents Flow is enabled for a merchant, the payload for the pending_documents status also includes a documents array with the documents the client must send.
Your webhook endpoint must return a 200 OK status code to acknowledge receipt. If the endpoint fails or returns an error, delivery is retried up to 3 times, every 15 minutes.