PromptPay by Thunes Payment Workflow {#thunes-intro-flow-promptpay}
===================================================================

This workflow describes the sequence of events that comprises a successful PromptPay payment.

#### Figure:

Payment Workflow  
![](/content/dam/documentation/cybs/en-us/topics/payments-processing/altpay/thunes/graphics/thunes-flow-promptpay-600x430.svg/jcr:content/renditions/original)

1. The customer begins to checkout on the merchant's website and chooses the PromptPay payment method.{#thunes-intro-flow-promptpay_step1}
   {#thunes-intro-flow-promptpay_step1}
2. The merchant sends a sale API request to `Cybersource`. For more information, see [Process a Sale](/docs/cybs/en-us/thunes/developer/all/rest/thunes/thunes-promptpay-intro/thunes-promptpay-sale-intro.md "").{#thunes-intro-flow-promptpay_step2}
   {#thunes-intro-flow-promptpay_step2}
3. `Cybersource` responds to the merchant with a `PENDING` status and a redirect URL.{#thunes-intro-flow-promptpay_step3}
   {#thunes-intro-flow-promptpay_step3}
4. The merchant displays a QR code to the customer that redirects the customer to a PromptPay checkout page.
5. The customer completes the checkout using PromptPay and is redirected to the merchant website.{#thunes-intro-flow-promptpay_step5}
   {#thunes-intro-flow-promptpay_step5}
6. The merchant sends a check status API request to `Cybersource`. For more information, see [Check a Request Status](/docs/cybs/en-us/thunes/developer/all/rest/thunes/thunes-promptpay-intro/thunes-promptpay-status-intro.md "").{#thunes-intro-flow-promptpay_step6}
   {#thunes-intro-flow-promptpay_step6}
7. `Cybersource` responds to the merchant with a `SETTLED` status.{#thunes-intro-flow-promptpay_step7}
   {#thunes-intro-flow-promptpay_step7}
8. The merchant displays a confirmation of the completed payment to the customer.{#thunes-intro-flow-promptpay_step8}
   {#thunes-intro-flow-promptpay_step8}

