Cards/Issuance

Issue virtual card (direct invoice)

Issues a virtual card for the specified user. This method has to be used in conjunction with Create invoice for direct payment api.

post/api/v2/cards/virtual

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v2/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

delivery_idinteger

Delivery ID returned from the fees invoice endpoint (POST /api/v1/cards/:type/fees/:country/payment) (required when fees are enforced)

name_on_cardstring

Name that should be printed on the card

Example request

{
  "card_name": "My Cards",
  "delivery_id": 123,
  "name_on_card": "Acme Inc. IT Department"
}

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.