Skip to main content

Payout Object Changes

The Payout object has been enhanced to include a new failure object in the response. This provides more structured and cleaner failure information when a payout has failed, making it easier to programmatically identify and handle failure scenarios. We will be deprecating the old failure codes that were populated in the status_description field soon. It is recommended to consume these new failure codes instead.

New Field Added

  • failure An object that contains details about why a payout failed. This field is null for payouts that have not failed.
The failure object is only populated when the payout status is failed. For all other statuses (e.g., succeeded, processing, reversed), this field will be null.

Example Response (Failed Payout)

Example Response (Successful Payout)

Payout Webhook Changes

The payout.failed webhook event now includes the same failure object in its payload. When a payout fails, the webhook response will contain the failure object with code and description fields, providing structured failure details alongside the existing status_description.

Example Webhook Payload (payout.failed)