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

Total fee: fixedFee plus percentageFee.

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

"50.00"

fixedFee
string

Fixed issuance charge; zero for a card top-up.

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

"50.00"

percentageFee
string

Funding commission rounded up to the nearest cent.

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

"50.00"

rateBps
integer

Card funding commission in basis points: 20 means 0.2%. Account deposits are charged separately at 150 bps.

Example:

20

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

"50.00"

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