State machine
status is returned in the Payout create response, the Payout inquiry response and the PAYOUT_NOTIFICATION notification.
SUCCESSandFAILUREare final. Once a payout reaches a final status, its status never changes again.- The create response usually returns
IN_PROGRESS. When the request is rejected, a Payout error code is returned instead, and no payout notification is sent. - Never treat a long-running
IN_PROGRESSas a failure. Query the payout, or wait for the notification.
Idempotency
payoutRequestId is the idempotency key of Payout create. It must be unique within your merchant account.
When a request carries a payoutRequestId that already exists, Waffo does not create a new payout. It compares these fields with the existing payout:
payoutAmountpayoutCurrencypayoutInfo.payoutMethodUserAccountNo