---
title: "Initiate Topup"
method: POST
path: "/api/v1/wallet/topup/initiate"
tags: ["Wallet"]
---

# Initiate Topup

`POST /api/v1/wallet/topup/initiate`

## Request

- Base URL: `https://backend.caspr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.caspr.ai/api/v1/wallet/topup/initiate`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Initiate a token top-up purchase.

## Request body

- TopupInitiateRequest: Request to initiate a token top-up.
  - `amount` integer, required
  - `country_code` string, required: ISO country code (e.g. IN, US)
  - `idempotency_key` string, required: Unique key for idempotency

## Response `200`

Successful Response

- TopupInitiateResponse: Response with payment parameters for top-up.
  - `success` boolean
  - `data` object, nullable
  - `payment_params` object, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `422`: Validation Error

---

[API](https://skmtc.dev/caspr/apis/casper-api.md) - [All operations](https://skmtc.dev/caspr/apis/casper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caspr/apis/casper-api/revisions/f9765e3aa00c?raw)
