Cards/Issuance

Issue plastic card (direct invoice)

Issues a plastic card for the specified user and sends it to the provided address. This method has to be used in conjunction with Create invoice for direct payment api.

post/api/v2/cards/plastic

Request

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

delivery_providerstring

Courier service that should be used to deliver the card

name_on_cardstring

Name that should be printed on the card

Example request

{
  "card_name": "My Cards",
  "delivery_address": {
    "city": "San Francisco",
    "country": "US",
    "line1": "123 Main St",
    "line2": "Apt 101",
    "state": "CA",
    "zip_code": "94107"
  },
  "delivery_id": 123,
  "delivery_provider": "DHL",
  "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.