# Response Codes

## Payment Response Codes (ResponseCode object)

**ResponseCode** object - Approved = **0**, Not processed = **-100** with more possible values - [General Info & Utilities](/argofire/full-endpoint-reference-and-tools/general-info-and-utilities.md#argofire-response-codes)

## Payment Result (PaymentResult object) codes

| **Code** | **Value**  | **Notes**                                                  |
| -------- | ---------- | ---------------------------------------------------------- |
| 3        | Successful | Transaction completed successfully                         |
| 4        | Failed     | Transaction was declined (or failed for some other reason) |
| 5        | Refunded   | Transaction has been refunded after settlement             |
| 6        | Cancelled  | Transaction has been voided/reversed prior to settlement   |

## Payment Process Status(ProcessStatus object) codes

| **Code** | **Value**      | **Reporting Value**    | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| -------- | -------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1        | NotProcessed   | Not Processed          | The transaction was not processed. This can be due to internal errors, but also applies when a transaction fails for legitimate reasons prior to being sent to the credit card processor (such as passing in a duplicate tranId).                                                                                                                                                                                                                                                                                                                                                                                      |
| 2        | Authorized     | Awaiting Authorization | The transaction was approved by the credit card processor, but has yet to be settled (generally still shows as pending on the cardholder's bank/card account).                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 4        | Settled        | Authorized             | The transaction has been settled (due to differences in how banks handle things, the transaction may still show as pending on the cardholder's account at this point, but should clear soon).                                                                                                                                                                                                                                                                                                                                                                                                                          |
| 5        | Rejected       | Rejected               | The transaction declined.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 6        | RefundRequired | Refund Required        | A refund request has been entered for this transaction, but it has yet to be processed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 7        | AwaitingRefund | Awaiting Refund        | The refund request for this transaction has been approved, but is awaiting settlement.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 8        | Refunded       | Refunded               | The refund request has been settled. Once a transaction enters this status, due to variances in how banks handle refunds, the cardholder should expect to see the funds credited to their account within 3-5 business days (although in some rare cases, this can take up to 21 days). Please note: Given that the settlement of the refund request with the card processor initiates the funds transfer back to the cardholder, the entire process is out of Frontstream's hands, and we have no ability to make a refund return to the cardholder faster as it is entirely in the hands of their bank at this point. |
| 9        | Cancelled      | Cancelled              | When a refund request is entered for a transaction that has yet to be settled, the transaction will simply be voided (technically speaking, a reversal message is sent to the cardholder's bank, which cancels the pending authorization on their bank account) instead of going through the refund process, and will change to this status instead of status code 6.                                                                                                                                                                                                                                                  |
| 10       | Chargeback     | Chargeback             | The cardholder has initiated a chargeback with their bank for the transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 11       | RefundRejected | Refund Rejected        | The refund request was not approved.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| 12       | DistroOnly     | Distro Only            | Disto Only status is used for Express Payroll transactions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |


---

# 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://developers.frontstream.com/welcome-to-our-payment-api/api-references/test-payment-api-features/response-codes.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.
