---
title: "Top-up Quote"
method: GET
path: "/v1/topup/quote"
---

# Top-up Quote

`GET /v1/topup/quote`

## Request

- Base URL: `https://api.myotp.app`
- URL: `https://api.myotp.app/v1/topup/quote`
- Auth: none declared

Price a credit top-up before paying for it. No authentication. Credits cost $0.02 each; the minimum is 25 credits ($0.50, the card minimum) and the maximum is 50,000 per call.

## Query parameters

- `credits` integer, required

## Response `200`

The quote.

- TopupQuote
  - `credits` integer: The number of credits priced.
  - `amount_usd` string: Total price in US dollars, as a decimal string.
  - `price_per_credit_usd` number: Unit price. Currently 0.02.
  - `min_credits` integer
  - `max_credits` integer
  - `currency` string
  - `methods` string[]: Human-readable list of the accepted payment methods.

## Other responses

- `400`: credits is missing, not an integer, or outside 25 to 50000.
- `429`: Too many requests from this IP address. The edge allows 100 requests a minute per client IP with a burst of 100, counted across every endpoint together, so sends and status checks share one budget. Accounts that ask for more are raised to 500 a minute; X-RateLimit-Limit on every response tells you which ceiling applies to you. Wait the number of seconds in Retry-After and repeat the request. Write to support@myotp.app with the addresses you call from and the peak you are designing for if you need a higher limit.

---

[API](https://skmtc.dev/myotp/apis/myotpapp-api.md) · [All operations](https://skmtc.dev/myotp/apis/myotpapp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myotp/apis/myotpapp-api/revisions/95ed911fdece?raw)
