Cards/Issuance

Issue virtual card (external invoice)

Issues a virtual card for the specified user. This method has to be used in conjunction with Create invoice for external payment api. When the invoice is settled, use this api to issue the card.

post/api/v1/cards/virtual

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v1/cards/virtual
  • Auth
    • API key in header Authorization
    • or API key in header X-Chain-Id and API key in header X-User-Wallet and API key in header Authorization

Request body */*

card_namestring

Friendly name for the card that would be displayed to the user

name_on_cardstring

Name that should be printed on the card

payment_transaction_hashstring

Transaction hash in bounds of which the card issuance fees were paid (<span style="color:red">MUST</span> be provided in case order/delivery fees are in place)

Example request

{
  "card_name": "My Cards",
  "name_on_card": "Acme Inc. IT Department",
  "payment_transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Response

OK

idstring required

Identifier of the card that was issued

Example response

{
  "id": "00000000-0000-0000-0000-000000000001"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.