# Transaction types

Following are the transaction types and definition

| **Transaction type**        | **Field transaction\_type** | **Definition**                                                                                                                                                                                                         |
| --------------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Purchase                    | PURCHASE                    | It indicates that the transaction is any kind of card purchase, which can be identified in more detail via the pos\_environment field                                                                                  |
| Cash withdrawal             | CASH\_WITHDRAWAL            | It indicates that the transaction is a cash withdrawal and it is performed by the cardholder at the ATM                                                                                                                |
| Refund                      | REFUND                      | A refund is a credit note on the card which can happen in case the customer bought something and gave it back, for example                                                                                             |
| Balance Inquiry             | BALANCE\_INQUIRY            | It indicates that the transaction is checking the account balance on the ATM                                                                                                                                           |
| Account Verification        | ACCOUNT\_VERIFICATION       | This transaction type is use to verify the account when adding the card on a payment gateway portal, the payment gateway will generate a transaction just to verify that the account is valid (transaction amount = 0) |
| Wallet Debit                | WALLET\_DEBIT               | It indicates that the transaction is unloading of funds                                                                                                                                                                |
| Wallet Credit               | WALLET\_CREDIT              | It indicates that the transaction is the loading of funds                                                                                                                                                              |
| Wallet Transfer             | WALLET\_TRANSFER            | It indicates that the transaction is account to account transfer                                                                                                                                                       |
| Original Credit Transaction | OCT                         | It is a financial transaction that delivers funds directly to a recipient's eligible account                                                                                                                           |
| Account Funding Transaction | AFT                         | It is a type of transaction where a payment service provider, such as a bank or a financial institution, directly debits a payment from a cardholder's account                                                         |

<br>


---

# 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.nymcard.com/get-started/transactions/transaction-types.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.
