These docs are for v4.0.2. Click to read the latest docs for v4.3.0.

Payment Flow Response Code

❗️

Important Notice

New version of Pyyment Flow Code List has been released.
We are recommending our merchants to refer new guide Payment Flow Code .

When Merchant is implement Do Payment API to perform payment. 2c2p will return Do Payment API Response to merchant and this is require merchant to follow the process flow by each of the code.

Below are the list of process flow code.

Response CodePlatformPayment FlowAction Required
1000Web / MobileLoad redirect URL with IFrame / Webview.Client should close the iframe when the URL is loading RESULT URL and read the BODY message.
1001Web / MobileDo full redirect to 3rd party web page.None, end of payment flow after full redirect.
1002Web / MobileLoad redirect URL with multiple tab in external web browser or Load redirect Scheme URL to open 3rd party application that do not do call back.Mobile: on app RESUME, call get Transaction status API.

WEB: need to do a looping query or long post to get transaction status.
1003Web / MobileGet Alternative Payment Method (123) payslip information and set transaction status PENDING.Get payslip info, and display payslip. End of payment flow.
1004MobileRedirect to external app with app scheme, and back with app call back.Receive call back from 3rd party application.
1005Web / MobileDisplay generated QR information for scan.After display QR, do a looping query or long post to get transaction status.
2000Web / MobileTransaction completed, perform payment inquiry to get payment status and full response.Get payment result, and display result to customer. End of payment flow.
2001Web / MobileTransaction in progress.Recursive transaction status inquiry API until getting payment result.
2002Web / MobileTransaction not found.Display result to customer.
2003Web / MobileFailed To Inquiry.Display result to customer.
Other CodeWeb / MobileTransaction failed or rejected, perform payment inquiry to get payment status and full response.Get payment result, and display result to customer. End of payment flow.