> ## Documentation Index
> Fetch the complete documentation index at: https://lago-ftr-wallet-improvements.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# The wallet transaction object

> This object represents a wallet transaction. It is used for topping up or voiding prepaid credits.

<RequestExample>
  ```json The wallet transaction object
  {
    "wallet_transaction": {
      "lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1111",
      "lago_wallet_id": "12345",
      "status": "settled",
      "transaction_type": "inbound",
      "transaction_status": "purchased",
      "amount": "10.0",
      "credit_amount": "10.0",
      "settled_at": "2022-04-29T08:59:51Z",
      "created_at": "2022-04-29T08:59:51Z"
    }
  }
  ```
</RequestExample>

## Attributes

<ResponseField name="wallet_transaction" type="object">
  <Expandable title="object" defaultOpen="true">
    <ResponseField name="lago_id" type="string" required>
      Unique identifier assigned to the wallet transaction within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the wallet transaction’s record within the Lago system.
    </ResponseField>

    <ResponseField name="lago_wallet_id" type="string" required>
      Unique identifier assigned to the wallet within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the wallet’s record within the Lago system.
    </ResponseField>

    <ResponseField name="status" type="string" required>
      The status of the wallet transaction. Possible values are `pending` or `settled`.
    </ResponseField>

    <ResponseField name="transaction_status" type="string" required>
      The transaction status of the wallet transaction. Possible values are `purchased` (with pending or settled status), `granted` (without invoice\_id) or `voided` (with outbound transaction type).
    </ResponseField>

    <ResponseField name="transaction_type" type="string" required>
      The type of transaction. Possible values are `inbound` (increasing the balance) or `outbound` (decreasing the balance).
    </ResponseField>

    <ResponseField name="credit_amount" type="string" required>
      The number of credits used in the wallet transaction.
    </ResponseField>

    <ResponseField name="amount" type="string" required>
      The amount of credits based on the rate and the currency.
    </ResponseField>

    <ResponseField name="created_at" type="string" required>
      The date of the wallet transaction creation, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC).
    </ResponseField>

    <ResponseField name="settled_at" type="string">
      The date when wallet transaction is settled, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC).
    </ResponseField>
  </Expandable>
</ResponseField>
