# Transactions

### The Transaction Object

This section describes the different attributes available for a transaction.

| Attribute       | Type       | Description                                                                                                                                      |
| --------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| amount          | *number*   | Total amount for transaction.                                                                                                                    |
| currency        | *string*   | Currency for transaction.                                                                                                                        |
| description     | *string*   | Human readable description explaining the transaction. e.g. *Billing charge for DHL Express shipment \[AG2345] to John Doe.*                     |
| flow            | *enum*     | Indicates the flow of the transaction. e.g. ***in*** - represents money into a wallet while ***out*** - represents money deducted from a wallet. |
| id              | *string*   | Unique identifier for transaction.                                                                                                               |
| platform        | *enum*     | Unique reference for platform processing transaction. Options available are ***shipmonk*** or ***terminal***.                                    |
| reference       | *string*   | Unique reference for transaction provided by processing platform.                                                                                |
| reversed        | *boolean*  | Indicates if transaction has been reversed to wallet.                                                                                            |
| shipment        | *string*   | Unique reference for shipment. Only supplied if transaction related to a specific shipment.                                                      |
| transaction\_id | *string*   | Unique reference for transaction.                                                                                                                |
| wallet          | *string*   | Unique identifier for wallet.                                                                                                                    |
| created\_at     | *datetime* | Time transaction created.                                                                                                                        |
| updated\_at     | *datetime* | Time transaction last updated.                                                                                                                   |


---

# 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.terminal.africa/tship/transaction.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.
