Cards/Issuance

Issue metal card (external invoice)

Issues a metal card for the specified user and sends it to the provided address. 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/metal

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v1/cards/metal
  • 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_providerstring

Courier service that should be used to deliver the card

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