<!-- ZenPays documentation · https://docs.zenpayz.com/docs/reference/objects/wallet-adjustment -->

# The WalletAdjustment object

Represents a manual adjustment to a wallet balance. Adjustments are typically made by administrators to correct errors or apply promotional credits.

## Fields

<ParamTable
  label="Field"
  rows={[
    { name: "id", type: "string", required: true, desc: "Unique identifier for the adjustment" },
    { name: "merchantId", type: "string", required: true, desc: "ID of the merchant whose wallet was adjusted" },
    { name: "type", type: "'credit' | 'debit'", required: true, desc: "Type of adjustment" },
    { name: "amount", type: "number", required: true, desc: "Adjustment amount in the smallest currency unit" },
    { name: "currency", type: "string", required: true, desc: "Three-letter ISO currency code" },
    { name: "reason", type: "string", required: true, desc: "Reason for the adjustment" },
    { name: "approvedBy", type: "string", required: false, desc: "ID of the administrator who approved the adjustment" },
    { name: "createdAt", type: "string", required: true, desc: "ISO 8601 timestamp when the adjustment was made" },
  ]}
/>

## Example

```json
{
  "id": "obj_1a2b3c",
  "merchantId": "merchant_1a2b3c",
  "type": "credit",
  "amount": 5000,
  "currency": "USD",
  "reason": "string",
  "approvedBy": "string",
  "createdAt": "2026-01-15T09:30:00Z"
}
```
