# Payin Status

## List of Payin status

| Status               | Description                                                                                       |
| -------------------- | ------------------------------------------------------------------------------------------------- |
| INITIAL              | The merchant created the order and waiting for the user to submit user info                       |
| EXPIRED              | Trade is expired                                                                                  |
| PROCESSING           | The user info has been submitted and waiting for the confirmation of payment                      |
| CANCEL               | Trade is canceled                                                                                 |
| REFUSED              | Trade has been refused                                                                            |
| REFUSE\_FAILED       | Trade is failed to refuse                                                                         |
| SUCCESS              | Trade is successful                                                                               |
| REFUND\_VERIFYING    | The merchant submitted the refund and waiting for the user to provide bank info                   |
| REFUND\_PROCESSING   | Refund is processing                                                                              |
| REFUND\_REVOKE       | Refund is cancelled or expired                                                                    |
| REFUND\_REFUSED      | Refund is refused. Usually due to incorrect bank info                                             |
| REFUNDED             | Trade is refunded. Same for partial refund.                                                       |
| RISK\_CONTROLLING    | Trade is considered high risk or there is unclear billing information. Only appear for CreditCard |
| DISPUTE              | Trade is in dispute.  Only appear for CreditCard                                                  |
| CHARGEBACK           | Chargeback. Only appear for CreditCard                                                            |
| CHARGEBACK\_REVERSED | ChargebackReversed. Only appear for CreditCard                                                    |

## Payin status change flow

<figure><img src="/files/s76dzFkRNT04JIb9fzhK" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Some statuses can only happen to specific methods.

* The transactions created through the [/trade/create](https://docs.pagsmile.com/payin/checkout-page/general) API can have statuses of INITIAL and EXPIRED.&#x20;
* The CreditCard and DebitCard methods can have statuses of RISK\_CONTROLLING, DISPUTE, CHARGEBACK, and CHARGEBACK\_REVERSED.
* The PIX method can have a status of REFUSE\_FAILED.
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pagsmile.com/payin/data/payin-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
