Callback Payment
Callback Payment
Receive updates about your payout
POST
Callback Payment
Callbacks
Receive updates about your payout.Payout
Endpoint:
POST https://your.endpoint.to.notifyThis is your endpoint where WEpayments will send notifications about payout status changes.Response
You should respond with 200 OK to acknowledge receipt of the webhook.Body
The webhook payload contains the following fields:Payout IDExample:
2322977Payout invoiceExample:
575e8327-f145-48ff-b207-737eef2d6f3fPayout end-to-endExample:
END-TO-END-IDObject that contains the current status of your payout.
Last update of your payout.Format:
<date-time>Example: 2024-09-25 15:55:18This object will only be returned if the payout is canceled and the merchant is using the “Account Mismatch” functionality. It provides more details on the reason for the cancellation.
Webhook Payload Example
Status Codes
Common payout status codes:| Status ID | Status Name | Description |
|---|---|---|
| 1 | Created | Payout has been created |
| 2 | Processing | Payout is being processed |
| 3 | Paid | Payout has been paid successfully |
| 4 | Failed | Payout failed |
| 5 | Rejected | Payout rejected by compliance |
| 6 | Cancelled | Payout was cancelled |
Best Practices
Always Respond 200 OK: Your endpoint must respond with HTTP 200 to acknowledge receipt. Otherwise, WEpayments will retry sending the webhook.
Re-submission Policy:
INVALID_DATA: You may resubmit the same payload in a new request only if the payment status is INVALID_DATA. This status occurs when banking details are incorrect (provided validation is enabled for the merchant).
Other Statuses: All other statuses will trigger a duplication block if an invoice with the same data already exists.
Related Resources
Create Payment
Create a payout payment
Webhook Signature
Validate webhook signatures

