Refund Workflow {#pay-by-bank-payto-intro-flow-refund}
======================================================

This workflow describes the sequence of events that comprises a successful PayTo Pay by Bank refund.

#### Figure: {#pay-by-bank-payto-intro-flow-refund_fig_cgp_hqz_4gc}

Issuing a Refund Workflow

#### Figure: {#pay-by-bank-payto-intro-flow-refund_fig_dgp_hqz_4gc}

![](/content/dam/new-documentation/documentation/en-us/topics/payments-processing/altpay/pay-by-bank-payto/images/pay-by-bank-payto-refund.svg)

1. The customer returns the purchase to the merchant.
2. The merchant sends a refund API request to `Cybersource` with the request ID from the successful capture. For more information, see [Refund a Payment](/docs/cybs/en-us/pay-by-bank-payto/developer/all/rest/pay-by-bank-payto/pay-by-bank-payto-process-trxn/pay-by-bank-payto-refund-intro.md "").
3. `Cybersource` responds to the merchant with the `PENDING` status and a refund request ID.
4. The merchant sends periodic check status API requests to `Cybersource` until the status updates. For more information, see [Check a Status](/docs/cybs/en-us/pay-by-bank-payto/developer/all/rest/pay-by-bank-payto/pay-by-bank-payto-process-trxn/pay-by-bank-payto-checkstatus-intro.md "").
5. `Cybersource` responds to the merchant with the `REFUNDED` status when the refund is processed.
6. The merchant displays a refund confirmation to the customer.

