data.orderId as the unique identifier for tracking the same order throughout its lifecycle.data.orderStatus as the current business status.PROCESSING is an intermediate status used only for Payout.REFUNDING is an intermediate status used only after a PayIn refund is initiated.| Status | Applicable Transaction Type | Description |
|---|---|---|
INIT | Payout | The Payout is initialized. |
PROCESSING | Payout | The Payout is being processed. |
SUCCESS | PayIn, Payout | The PayIn or Payout has completed successfully at the current stage. |
FAIL | Payout | The Payout failed before reaching SUCCESS. This status currently applies only to Payout. |
REFUNDING | PayIn refund | A PayIn refund has been initiated and is being processed asynchronously. This status applies only to PayIn refunds. |
REFUNDED | PayIn refund, Payout return | PayIn: The refund completed successfully. Payout: The initially successful Payout was later returned. |
REFUND_FAIL | PayIn refund | The PayIn refund could not be initiated or completed. |
RETURNED | System-returned PayIn | The PayIn was returned by the system before the funds were credited to the balance, for example because RFI or limit requirements were not satisfied. The funds are returned to the payer through the original channel, the balance remains unchanged, and only one order is notified with RETURNED; no new order is created. |
RETURNED is reserved and will not be emittedRETURNED will no longer appear in webhook notifications. The status remains reserved in the system design but must not be expected or used in the current merchant integration flow.SUCCESS may be followed by a refund-related status.SUCCESS and does not enter PROCESSING.SUCCESSSUCCESS.businessType = PAYIN_REFUND and links it to the original PayIn through data.originalOrderId.Original PayIn SUCCESS → PAYIN_REFUND REFUNDING → REFUNDED
Original PayIn SUCCESS → PAYIN_REFUND REFUNDING → REFUND_FAIL
Original PayIn SUCCESS → PAYIN_REFUND REFUND_FAILREFUND_FAIL outcome may occur when the refund fails before entering asynchronous processing.PAYIN_REFUND webhook notification:data.orderId: The new PAYIN_REFUND order ID.data.originalOrderId: The original PayIn order ID.data.orderStatus: The current refund status.REFUND_FAILREFUND_FAIL means that the refund attempt failed and requires manual intervention. It does not invalidate the original successful PayIn.REFUNDED.REFUND_FAIL → Manual intervention → REFUNDEDSUCCESS.REFUND_FAIL → Manual decision: no refund → Original PayIn remains SUCCESS[!IMPORTANT]
In the second outcome, the PayIn does not transition fromREFUND_FAILback toSUCCESS. The original PayIn remains successful, while the failed refund attempt is closed without completing a refund.
RETURNED.RETURNED_FAIL and manual intervention is required.SUCCESS notification is sent.RETURNED_FAILRETURNED.RETURNED_FAIL → Manual intervention → RETURNEDSUCCESS.RETURNED_FAIL → Manual decision: accept PayIn → SUCCESSRETURNED, the funds are returned before being credited to the balance and the balance remains unchanged.PROCESSING → SUCCESS
PROCESSING → FAILPROCESSING: The Payout is being processed.SUCCESS: The Payout was initially completed successfully.FAIL: The Payout failed before reaching SUCCESS.SUCCESS.SUCCESS to REFUNDED.PAYOUT_REFUND order is created with status SUCCESS.PAYOUT_REFUND order.PROCESSING → SUCCESS → REFUNDEDSUCCESS to REFUNDED is an internal update. No webhook notification is sent for this status change.SUCCESSPAYOUT_REFUND order is created with status SUCCESS, and a webhook notification is sent for this refund order.[!IMPORTANT]
Merchants receive only the webhook for the newPAYOUT_REFUNDorder. The original Payout order's transition toREFUNDEDdoes not send a webhook.
originalOrderId field links the original Payout order and the generated Payout refund order.PAYOUT_REFUND Webhookdata.orderId: The new PAYOUT_REFUND order ID.orderStatus: SUCCESS.data.originalOrderId: The original Payout order ID.orderId: The original Payout order ID.orderStatus: REFUNDED.originalOrderId: The newly created PAYOUT_REFUND order ID.data.orderId.data.orderStatus to that order.