v1

latestOpenAPI 3.0.32026-07-2485236250.4 KB
Cards/Fees

Create invoice for external payment

Creates an invoice for payment of the card order fees. The invoice has to be settled outside the platform by sending the amount provided in response to the address provided in response. When then invoice is settled, use card issuance api and pass hash of the transaction to it.</br> > Note: This method is applicable only if your account manager has advised you to incorporate card fee handling as part of your integration process.

post/api/v1/cards/{type}/fees/{country}/payment

Path parameters

countrystring required

Country in which the card will be issued (ISO 3166-1 alpha-2)

type'Plastic' | 'Virtual' | 'Metal' required

Format of the card the fees should be calculated for

Response

OK

recipient_addressstring required

Crypto address towards which the transfer should be made

Example response

{
  "payment_amount": {
    "amount": 109.41123037,
    "fee_amount": 0.5,
    "fee_precise_amount": "500000000000000000",
    "precise_amount": "109411230370000000000",
    "rate": 1.09345623,
    "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "token_symbol": "USDC"
  },
  "recipient_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}