---
title: "Get Payment Status"
method: GET
path: "/api/v1/wallet/payment-status/{payment_id}"
tags: ["Wallet"]
---

# Get Payment Status

`GET /api/v1/wallet/payment-status/{payment_id}`

## 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/payment-status/{payment_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Get the status of a payment/token batch by payment_id.
Used for polling from frontend to check if tokens have been credited.
SECURITY: Only returns payment info if it belongs to the requesting user.

## Path parameters

- `payment_id` string, required

## Response `200`

Successful Response

- PaymentStatusResponse: Response schema for payment status polling endpoint.
  - `success` boolean
  - `payment_id` string, nullable
  - `status` string, nullable: Status: completed, pending, failed, reversed
  - `tokens` integer, nullable: Number of tokens in the batch
  - `amount` number, nullable: Amount paid in the specified currency
  - `currency` string, nullable: Currency (USD, INR, etc.)
  - `source_type` string, nullable: Source type: topup, subscription, etc.
  - `created_at` string, nullable: When the payment was created
  - `expires_at` string, nullable: When the tokens will expire

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server 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)
