---
search:
  tags:
    - wallets
    - POST
seo:
  description: >-
    Reference for the POST /v1/wallets/{walletId}/top-up endpoint in the Vortex
    Payments API.
sidebar:
  label: POST /v1/wallets/{walletId}/top-up
  badge: POST
title: POST /v1/wallets/{walletId}/top-up
type: openapi-operation
---
`POST /v1/wallets/{walletId}/top-up`

**curl**

```bash
curl "https://api.vortex.nyc/v1/wallets/:walletId/top-up?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { topUpWallet, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await topUpWallet({
  client: vortex,
  path: { walletId: "..." },
  query: { environment: "...", merchantAccountId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `walletId` (string | null)
- `creditsAmount` (number, required)
- `paymentId` (string | null)
- `granted` (boolean | null)
- `description` (string | null)
- `expiresAt` (string | null)
- `metadata` (object | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "walletId": "string",
  "creditsAmount": 0,
  "paymentId": "string",
  "granted": true,
  "description": "string",
  "expiresAt": "string",
  "metadata": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "entryId": "string",
    "customerId": "string",
    "currency": "string",
    "entryType": "grant",
    "amount": 0,
    "effectiveAt": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "remainingAmount": 0,
    "invoiceId": "string",
    "paymentId": "string",
    "walletId": "string",
    "description": "string"
  },
  "requestId": "string"
}
```
