Color coding
All flow diagrams use the same color convention:- Green: success / completed
- Red: failed / error
- Orange: reversed / refunded
- Yellow: on hold / cancelled
Customer status
What to do:
VERIFIED: unlock transaction flows for this customerFAILED: checkfailure_reasonin theCUSTOMERwebhook. If recoverable (e.g.,DOCUMENT_VERIFICATION_FAILED), prompt the user to retry. If terminal (e.g.,KYC_FAILED), contact DollarPe support with the customer ID
Bank status
What to do:
VERIFIED: the bank account is ready for payout ordersFAILED: checkfailure_reasonin theBANKwebhook. Common reasons:ACCOUNT_TYPE_NRE,NAME_MISMATCH,PENNY_DROP_FAILED. Prompt the user to add a different account or correct the details
Quotation status
What to do:
EXPIRED: fetch a new quotation and present the updated rate to the user before retrying
Payin status
What to do:
SUCCESS: release crypto to the user. Record theidfrom the webhook as your reconciliation referenceFAILED: checkfailure_reasonin thePAYINwebhook (e.g.,INCORRECT_UTR,PAYMENT_NOT_RECEIVED). Notify the user. Do not release cryptoREFUND_INITIATED: wait forREFUNDEDbefore updating the userREFUNDED: notify the user that their fiat has been returned. Do not release cryptoON_HOLD: do not release crypto. Contact DollarPe support with the payin ID
Payout status
What to do:
SUCCESS: confirm delivery to the user. Usemetadata.utrfrom the webhook as the transfer referenceFAILED: checkfailure_reasonin thePAYOUTwebhook. Notify the user. Contact DollarPe support for reconciliationREFUNDED/CANCELLED: notify the user. The transaction did not complete
EDD status
Enhanced Due Diligence applies to customers whose transaction volume triggers additional verification requirements.
What to do:
VERIFIED: update the customerโs displayed limits in your UIFAILED: inform the user their limits remain unchanged. They can resubmit EDD documents if the failure reason is correctable

