Skip to main content
POST
Calculate total price

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
productId
string
required
Example:

"virtual-usd"

amount
string
required
Pattern: ^\d+(\.\d{1,2})?$
Example:

"50.00"

type
enum<string>
required
Available options:
issue,
topup,
service

Response

Success

productId
string
amount
string
Pattern: ^\d+(\.\d{1,2})?$
Example:

"50.00"

fee
string
Pattern: ^\d+(\.\d{1,2})?$
Example:

"50.00"

total
string
Pattern: ^\d+(\.\d{1,2})?$
Example:

"50.00"

currency
enum<string>
Available options:
USD
environment
string
priceVersion
string