v1

latestOpenAPI 3.0.32026-07-2485236250.4 KB
Cards/Fees

Create invoice for direct payment

Creates an invoice for payment of the card order fees. This invoice will be automatically settled from the user account in the process of issuing the card.</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/v2/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

delivery_idinteger required

Delivery ID to be used when issuing the card via v2 endpoints

recipient_addressstring required

Crypto address towards which the transfer should be made

Example response

{
  "delivery_id": 123,
  "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"
}