Top-up Quote

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.

get/v1/topup/quote

Request

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

Query parameters

creditsinteger required

Number of credits to price.

Response

The quote.

creditsinteger

The number of credits priced.

amount_usdstring

Total price in US dollars, as a decimal string.

price_per_credit_usdnumber

Unit price. Currently 0.02.

min_creditsinteger
max_creditsinteger
currencystring
methodsstring[]

Human-readable list of the accepted payment methods.

Example response

{
  "currency": "usd"
}

Changes

No recorded changes to this operation across all 1 revision of this API.