> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Payment Status and Response Codes

> Lists payment statuses, substatuses, and their corresponding transaction states and descriptions.

Payments have all the essential information about the order, including customer information, amount, currency, items, shipping info, etc. You can always refer to the transaction details for more details about the order and the payment interactions.

<video src="https://docs.y.uno/videos/explainers/payment-status-lifecycle.mp4" poster="/videos/explainers/payment-status-lifecycle.jpg" controls preload="none" playsInline aria-label="Payment status lifecycle" />

Video: Payment status lifecycle (68 s, captions on screen, no voiceover)

## Workflow

In the following workflow, you can find the different payment statuses and how they can be updated.

![](https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/payment/image1.png?fit=max\&auto=format\&n=MTlogjS0_SlxtlJG\&q=85\&s=ce5c7b804a23b9511ad5f3f4e7d266bc)

For every implementation, we recommend taking the payment `status` and `sub_status` as the main reference for the payment's state. A payment could have different [transactions](https://docs.y.uno/reference/payments/status-and-response-codes/transaction.md) associated with it. By focusing on the payment `status` / `sub_status`, you can have the latest state regardless of how many transactions were made, giving you clear inputs for decision-making.

## Payments status

The payments can have the following status and sub status.

<table>
  <thead>
    <tr>
      <th>Status</th>
      <th>Substatus</th>
      <th>Transaction\
      type · status</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        CREATED
      </td>

      <td>
        CREATED
      </td>

      <td />

      <td>Initial state at the time of creating a payment.</td>
    </tr>

    <tr>
      <td>
        READY\_TO\_PAY
      </td>

      <td>
        CREATED
      </td>

      <td>Purchase · Created</td>
      <td>Initial state at the time of creating a payment. Waiting for customer action</td>
    </tr>

    <tr>
      <td rowspan="8">
        PENDING
      </td>

      <td>
        AUTHORIZED
      </td>

      <td>Authorize · Succeeded</td>
      <td>Card authorizations</td>
    </tr>

    <tr>
      <td>
        IN\_PROCESS
      </td>

      <td>Purchase · Created</td>
      <td>The client has been redirected to the provider and we are waiting for the completion of the payment.</td>
    </tr>

    <tr>
      <td rowspan="2">
        WAITING\_ADDITIONAL\_STEP
      </td>

      <td>Purchase · Pending</td>
      <td>3DS/Second factor</td>
    </tr>

    <tr>
      <td>Authorize · Pending</td>
      <td>3DS/Second factor for authorization flow</td>
    </tr>

    <tr>
      <td>
        PENDING\_PROVIDER\_CONFIRMATION
      </td>

      <td>Purchase · Pending</td>
      <td>Waiting for providers payment confirmation.</td>
    </tr>

    <tr>
      <td>
        PENDING\_FRAUD\_REVIEW
      </td>

      <td>Fraud · Pending</td>
      <td>Transaction is being analyzed by fraud provider</td>
    </tr>

    <tr>
      <td>
        PENDING\_OTP\_COMPLETION
      </td>

      <td>Purchase · Pending</td>
      <td>Initial status upon payment creation</td>
    </tr>

    <tr>
      <td>
        WAITING\_FOR\_ENROLLMENT
      </td>

      <td />

      <td>The payment waits for the customer to finish enrolling the payment method, for example a PayPal vault approval or a Boku opt-in.</td>
    </tr>

    <tr>
      <td rowspan="2">
        EXPIRED
      </td>

      <td rowspan="2">
        EXPIRED
      </td>

      <td>Purchase · Expired</td>
      <td>The offline payment method reaches its expiration date.</td>
    </tr>

    <tr>
      <td>Authorize · Expired</td>
      <td>Authorization expires</td>
    </tr>

    <tr>
      <td rowspan="3">
        REJECTED
      </td>

      <td rowspan="2">
        REJECTED
      </td>

      <td>Purchase · Rejected</td>
      <td>Rejected by Yuno</td>
    </tr>

    <tr>
      <td>Capture · Error</td>
      <td>Capture rejection by Yuno</td>
    </tr>

    <tr>
      <td>
        ENROLLMENT\_ERROR
      </td>

      <td />

      <td>The payment method enrollment linked to this payment failed with an error.</td>
    </tr>

    <tr>
      <td rowspan="6">
        DECLINED
      </td>

      <td rowspan="2">
        DECLINED
      </td>

      <td>Purchase · Declined</td>
      <td>Providers rejection</td>
    </tr>

    <tr>
      <td>Capture · Declined</td>
      <td>Providers capture rejection</td>
    </tr>

    <tr>
      <td>
        FRAUD\_DECLINED
      </td>

      <td>Fraud screening · Declined</td>
      <td>Declined fraud screening</td>
    </tr>

    <tr>
      <td>
        REFUND\_RETRY\_IN\_PROCESS
      </td>

      <td>Refund · Declined</td>
      <td>Two-card payment: one card failed and the refund of the other card failed. Yuno retries the refund automatically.</td>
    </tr>

    <tr>
      <td>
        CANCEL\_RETRY\_IN\_PROCESS
      </td>

      <td>Cancel · Declined</td>
      <td>Two-card payment: one card failed and the cancellation of the other card failed. Yuno retries the cancellation automatically.</td>
    </tr>

    <tr>
      <td>
        ENROLLMENT\_DECLINED
      </td>

      <td />

      <td>The payment method enrollment linked to this payment was declined.</td>
    </tr>

    <tr>
      <td rowspan="15">
        SUCCEEDED
      </td>

      <td>
        PARTIALLY\_APPROVED
      </td>

      <td>Purchase · Succeeded</td>
      <td>Partial payment (payment with 2 cards)</td>
    </tr>

    <tr>
      <td>
        VERIFIED
      </td>

      <td>Verify · Succeeded</td>
      <td>Zero amount card authorizations</td>
    </tr>

    <tr>
      <td>
        APPROVED
      </td>

      <td>Purchase · Succeeded</td>
      <td>Successful payment</td>
    </tr>

    <tr>
      <td>
        CAPTURED
      </td>

      <td>Capture · Succeeded</td>
      <td>Successful capture</td>
    </tr>

    <tr>
      <td rowspan="3">
        PARTIALLY\_CAPTURED
      </td>

      <td>Capture · Succeeded</td>
      <td>Successful partial capture</td>
    </tr>

    <tr>
      <td>Refund · Error/Declined</td>
      <td>Remains approved due to error in refund / cancellation</td>
    </tr>

    <tr>
      <td>Chargeback · Error/Declined</td>
      <td>Remains approved due to rejection in chargeback</td>
    </tr>

    <tr>
      <td>
        PARTIALLY\_REFUNDED
      </td>

      <td>Refund · Succeeded</td>
      <td>Successful partial refund</td>
    </tr>

    <tr>
      <td>
        PARTIALLY\_CHARGEBACKED
      </td>

      <td>Chargeback · Succeeded</td>
      <td>Successful partial chargeback</td>
    </tr>

    <tr>
      <td>
        FRAUD\_DECLINED
      </td>

      <td>Fraud screening · Declined</td>
      <td>Fraud screening declined. Can occur before or after provider authorization. Payment succeeded and funds have moved.</td>
    </tr>

    <tr>
      <td>
        REFUND\_RETRY\_IN\_PROCESS
      </td>

      <td>Refund · Declined</td>
      <td>Transaction was declined and is waiting for retry.</td>
    </tr>

    <tr>
      <td>
        CAPTURE\_RETRY\_IN\_PROCESS
      </td>

      <td>Capture · Declined</td>
      <td>Transaction was declined and is waiting for retry.</td>
    </tr>

    <tr>
      <td>
        CAPTURE\_RETRY\_PROCESS\_FAILED
      </td>

      <td>Capture · Declined</td>
      <td>Transaction was declined and retry scheme is finished.</td>
    </tr>

    <tr>
      <td>
        THREE\_D\_SECURE\_VERIFIED
      </td>

      <td>Three D Secure · Succeeded</td>
      <td>3DS authentication succeeded in a [3DS standalone](https://docs.y.uno/docs/payment-features/3ds-standalone.md) flow.</td>
    </tr>

    <tr>
      <td>
        TRANSFER\_REVERSED
      </td>

      <td>Split transfer reversal · Succeeded</td>
      <td>A marketplace split transfer was reversed. The payment keeps this substatus if it later moves to a chargeback status.</td>
    </tr>

    <tr>
      <td rowspan="2">
        REFUNDED
      </td>

      <td>
        PENDING\_PROVIDER\_CONFIRMATION
      </td>

      <td>Refund · Pending</td>
      <td>Refund Pending</td>
    </tr>

    <tr>
      <td>
        REFUNDED
      </td>

      <td>Refund · Succeeded</td>
      <td>Successful refund</td>
    </tr>

    <tr>
      <td rowspan="2">
        CANCELED
      </td>

      <td>
        PENDING\_PROVIDER\_CONFIRMATION
      </td>

      <td>Cancel · Pending</td>
      <td>Cancel Pending</td>
    </tr>

    <tr>
      <td>
        CANCELED
      </td>

      <td>Cancel · Succeeded</td>
      <td>Successful cancelation</td>
    </tr>

    <tr>
      <td rowspan="2">
        IN\_DISPUTE
      </td>

      <td>
        RECEIVED
      </td>

      <td>Chargeback · Created</td>
      <td>Chargeback or Inquiry received. Decision or documentation must be provided</td>
    </tr>

    <tr>
      <td>
        PENDING\_REVIEW
      </td>

      <td>Chargeback · Pending</td>
      <td>In\_review</td>
    </tr>

    <tr>
      <td rowspan="1">
        CHARGEBACK
      </td>

      <td>
        LOST
      </td>

      <td>Chargeback · Prevented</td>
      <td>Predispute deflected by provider/network. Payment reflects lost funds.</td>
    </tr>

    <tr>
      <td rowspan="4">
        ERROR
      </td>

      <td>
        ERROR
      </td>

      <td />

      <td>Example: timeout.</td>
    </tr>

    <tr>
      <td>
        TIMEOUT
      </td>

      <td />

      <td />
    </tr>

    <tr>
      <td>
        PENDING\_REVERSE
      </td>

      <td />

      <td />
    </tr>

    <tr>
      <td>
        REVERSED\_BY\_TIMEOUT
      </td>

      <td />

      <td />
    </tr>

    <tr>
      <td rowspan="1">
        FRAUD\_VERIFIED
      </td>

      <td>
        FRAUD\_SCREENING\_VERIFIED
      </td>

      <td>Fraud · Succeeded</td>
      <td>Transaction verified by fraud provider during stand alone fraud verification</td>
    </tr>
  </tbody>
</table>

> [!NOTE]
>
> `PREVENTED` is a transaction status only for `type = CHARGEBACK` when the provider/network reports a [predispute deflection](https://docs.y.uno/docs/chargeback-management.md). In these scenarios, only the chargeback webhook is sent; no refund webhook is emitted.
>
> `REVIEW_WON` is a chargeback transaction status only. When a chargeback is won, the payment returns to its previous status (for example, `SUCCEEDED` / `APPROVED`) and no new payment status is emitted.

### Two-card payments

A payment funded by two cards (`POST /v2/payments`) has one `status` and `sub_status` that sum up both cards; a card has no status of its own. The first rule that matches wins: a fraud decline on any card gives `DECLINED` / `FRAUD_DECLINED`; both cards rejected give `REJECTED`; any card declined gives `DECLINED`; then `ERROR`, `EXPIRED`, `PENDING` (`PENDING_FRAUD_REVIEW`, `WAITING_ADDITIONAL_STEP`, `AUTHORIZED`) and `SUCCEEDED` (`APPROVED`, `CAPTURED`, `PARTIALLY_CAPTURED`, `PARTIALLY_REFUNDED`). Both cards refunded give `REFUNDED`, and an open chargeback on a card gives `IN_DISPUTE`. When one card fails and the reversal of the other card fails, the payment stays `DECLINED` with `REFUND_RETRY_IN_PROCESS` or `CANCEL_RETRY_IN_PROCESS` while Yuno retries. See [Pay with two cards](https://docs.y.uno/docs/payment-features/pay-with-two-cards.md#statuses).

### Possible states for sync and async flows

Use the diagram that matches your integration type to understand which payment states and transitions to expect.

#### Synchronous flow

In a synchronous flow, the payment moves from `CREATED` directly to a terminal status — such as `SUCCEEDED`, `DECLINED`, or `REJECTED` — within the same API response. There is no intermediate `PENDING` phase. `ERROR` is transversal and can occur at any point in the flow.

![](https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/payment/image2.png?fit=max\&auto=format\&n=MTlogjS0_SlxtlJG\&q=85\&s=f94d959aaab6834828925c985c49c88b)

#### Asynchronous flow

In an asynchronous flow, the payment passes through a `PENDING` phase after creation before reaching a terminal status. During this phase, substates such as `IN_PROCESS`, `AUTHORIZED`, and `WAITING_ADDITIONAL_STEP` reflect ongoing processing. The final status is delivered via webhook once processing completes. Payments initiated via direct async APMs may also enter a `READY_TO_PAY` state, which can transition to `EXPIRED` if not completed. `ERROR` is transversal and can occur at any point in the flow.

![](https://mintcdn.com/yuno-3979e326/MTlogjS0_SlxtlJG/images/reference/payment/image3.png?fit=max\&auto=format\&n=MTlogjS0_SlxtlJG\&q=85\&s=d0c3713ffcd18b0bd8557396ef774065)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.