Issuing a Card

Order virtual and plastic corporate cards, choose their design and scheme, settle the issuance fee, and link the card to an employee.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to obtain the corporation token
CapabilitiesCard issuance is capability-gated
EmployeesA card is linked to an employee record

Overview

A corporate card is issued against the corporation wallet and optionally linked to an employee. Two
formats are available — Virtual and Plastic. The Corporate API does not issue metal cards, in any
version.

Three issuance versions reach the same card. They differ in how the issuance fee is settled and in
whether the order can name the card's design, card program and payment system:

  • v1 — you pay the fee on-chain yourself and pass the transaction hash.
  • v2 — Wirex debits the fee at issuance against a delivery_id.
  • v3 — the v2 fee model, plus design, card_program and payment_system on the order, read from
    GET /api/v3/cards/config. A fee is required only when the order is actually priced above zero.

Whether an issuance fee applies at all depends on your company configuration.


Prerequisites

Read GET /api/v1/corporations and confirm the capability for the format you want is Active:

FormatCapabilityCeiling
VirtualVisaVirtualCard30 virtual cards per corporation
PlasticVisaPlasticCard15 plastic cards per corporation

Both also require the corporation profile to be Active. At the ceiling the capability flips to
NotAvailable with You have reached the maximum number of virtual cards allowed (or plastic).

Closing a card does not free a slot. Every card the corporation has issued counts toward the ceiling,
Closed cards included. Contact Wirex if the corporation needs a higher ceiling.


Choosing an Issuance Flow

Check Whether Fees Apply

GET /api/v1/cards/{type}/fees/{country}

Call this first. Its answer decides whether any fee step runs.

ResponseMeaningWhat to do
400 ErrorNotSupported — You have no card order/delivery fees to payFees are not enforced for your companySkip every fee step. Issue the card directly, with v1, v2 or v3
400 ErrorNotSupported — Card issuance is not supported for this companyNo card configuration exists for your companyContact Wirex. No issuance flow will work
200 with order_feeFees are enforcedPick a flow below

Comparing v1, v2 and v3

v1 — External feev2 — Direct feev3 — Configurable offering
Issuance endpointPOST /api/v1/cards/virtual, POST /api/v1/cards/plasticPOST /api/v2/cards/virtual, POST /api/v2/cards/plasticPOST /api/v3/cards/virtual, POST /api/v3/cards/plastic
How the fee is collectedYou transfer it on-chain yourselfDebited by Wirex at issuanceDebited by Wirex at issuance
Fee invoice endpointPOST /api/v1/cards/{type}/fees/{country}/paymentPOST /api/v2/cards/{type}/fees/{country}/paymentPOST /api/v2/cards/{type}/fees/{country}/payment
Field passed at issuancepayment_transaction_hashdelivery_iddelivery_id
When the fee field is requiredWhen fees are enforced and the order is priced above zeroWhenever fees are enforcedWhen fees are enforced and the order is priced above zero
Design, card program, payment systemConfigured defaultsConfigured defaultsNamed on the order, or configured defaults
Order configurationNot usedNot usedGET /api/v3/cards/config
PermissionsCardSu or CardCreateCardSu or CardCreateCardSu or CardCreate

Pick one and follow it end to end. Do not mix a v2 invoice with a v1 issuance call — delivery_id is
not read by the v1 endpoints, and payment_transaction_hash is not read by the v2 or v3 endpoints. A v2
invoice serves v3 issuance: v3 has no invoice endpoint of its own.

Use v3 when the card's design or scheme matters to you, or when your company prices some formats at
zero and you want Wirex to collect the fee — v2 refuses an order with no delivery_id whenever fees are
enforced, even if that order costs nothing. Every version issues on the Wirex card rail, funded from the corporation wallet; there is no
separate funding wallet on a corporate card order.


Shared Lookups

Check Order Fees

GET /api/v1/cards/{type}/fees/{country}

Requires CardSu, CardCreate or CardView.

Path parameters:

ParameterDescription
{type}Plastic, Virtual or Metal. Case-insensitive — virtual and VIRTUAL both resolve
{country}Country the card is issued in, as an uppercase ISO 3166-1 alpha-2 code, e.g. GB

Response:

{
  "currency": "USD",
  "order_fee": 9.99,
  "order_fee_precise": "9990000000000000000",
  "decimals": 18,
  "estimated_payment_amounts": [
    {
      "amount": 9.99,
      "precise_amount": "9990000000000000000",
      "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
      "token_symbol": "WUSD",
      "rate": 1.0,
      "fee_amount": 0,
      "fee_precise_amount": "0"
    }
  ]
}
FieldDescription
currencyFiat currency the fee is denominated in. A fee configured in USDC is reported as USD
order_feeOrder fee in currency. Excludes delivery — see below
order_fee_preciseorder_fee as an integer string scaled by decimals — exact, where order_fee is a float
decimalsScale of order_fee_precise. Always 18
estimated_payment_amounts[]The fee converted into each supported stablecoin
estimated_payment_amounts[].precise_amountAmount in the token's smallest unit, as a string
estimated_payment_amounts[].rateRate applied for that token

order_fee is the card order fee only. For a plastic card the delivery fee is added on top, and the
invoice endpoint is what returns the combined total. Do not present order_fee as the amount the
corporation will pay for a physical card.

List Delivery Countries

GET /api/v1/cards/delivery/countries

Requires CardSu, CardCreate or CardView. Returns the countries a plastic card can be delivered to.

Response:

["GB", "DE", "FR", "ES", "IT"]

List Delivery Methods

GET /api/v1/cards/delivery/methods/{country}

Requires CardSu, CardCreate or CardView.

Path parameters:

ParameterDescription
{country}Delivery country, ISO 3166-1 alpha-2

Response:

[
  {
    "provider": "DHL",
    "fee": 15.0,
    "fee_precise": "15000000000000000000",
    "decimals": 18,
    "currency": "USD",
    "estimated_payment_amounts": [
      {
        "amount": 15.0,
        "precise_amount": "15000000000000000000",
        "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
        "token_symbol": "WUSD",
        "rate": 1.0
      }
    ]
  }
]
FieldDescription
providerCourier identifier. This is the value passed as delivery_provider
feeDelivery fee in currency
fee_precisefee as an integer string scaled by decimals
decimalsScale of fee_precise. Always 18
estimated_payment_amounts[]The delivery fee converted into each supported stablecoin

Read the Order Configuration

GET /api/v3/cards/config

Requires CardSu, CardCreate or CardView. Used by Flow v3 only.

Returns the card products your company may order, grouped by format: the payment system, designs, card
programs and billing countries of each.

Response:

{
  "formats": [
    {
      "format": "Plastic",
      "offerings": [
        {
          "payment_system": "Visa",
          "designs": ["VisaCorporate"],
          "card_programs": [],
          "countries": ["AT", "BE", "DE", "FR", "GB", "US"]
        }
      ]
    },
    {
      "format": "Virtual",
      "offerings": [
        {
          "payment_system": "Visa",
          "designs": ["VisaPlatinum"],
          "card_programs": [],
          "countries": ["AT", "BE", "DE", "FR", "GB", "US"]
        }
      ]
    }
  ]
}
FieldDescription
formats[]One entry per orderable format, sorted by format
formats[].formatVirtual, Plastic or Metal. Metal can appear in the configuration, but the Corporate API has no metal issuance endpoint
formats[].offerings[]The products orderable in this format
offerings[].payment_systemScheme the product issues on: Visa or MasterCard
offerings[].designs[]Designs the product may be ordered with. The first one is the default
offerings[].card_programs[]Card programs the product may be issued on — a program carries the card's cash-withdrawal terms. The first one is the default. Empty where none is configured
offerings[].countries[]Billing countries (ISO 3166-1 alpha-2) that may order the product

Filter by country, then union. A market that offers two designs on different card programs is
two offerings over the same countries, not one entry per country. Keep the offerings whose countries
contain the corporation's billing country — corporation_registration_address.country on
GET /api/v1/corporations — and offer the union of their values.

A company with nothing configured receives {"formats": []} with 200, not an error. Read that as
"nothing orderable".

const response = await fetch(`${baseUrl}/api/v3/cards/config`, {
  headers: { 'Authorization': `Bearer ${corporationToken}` }
});
const { formats } = await response.json();
const virtual = (formats.find((f) => f.format === 'Virtual')?.offerings ?? [])
  .filter((o) => o.countries.includes(billingCountry));
response = requests.get(
    f"{base_url}/api/v3/cards/config",
    headers={"Authorization": f"Bearer {corporation_token}"},
)
formats = response.json()["formats"]
virtual = [
    o
    for f in formats if f["format"] == "Virtual"
    for o in f["offerings"] if billing_country in o["countries"]
]
req, _ := http.NewRequest("GET", baseURL+"/api/v3/cards/config", nil)
req.Header.Set("Authorization", "Bearer "+corporationToken)

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var config struct {
    Formats []struct {
        Format    string `json:"format"`
        Offerings []struct {
            PaymentSystem string   `json:"payment_system"`
            Designs       []string `json:"designs"`
            CardPrograms  []string `json:"card_programs"`
            Countries     []string `json:"countries"`
        } `json:"offerings"`
    } `json:"formats"`
}
json.NewDecoder(resp.Body).Decode(&config)

Flow v1: External Fee

Step 1: Create the Fee Invoice

POST /api/v1/cards/{type}/fees/{country}/payment

Requires CardSu or CardCreate.

Request body:

{
  "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
  "delivery_provider": "DHL"
}
FieldTypeRequiredDescription
token_addressstringYesToken used to pay the fee. Must exist in GET /api/v1/config/tokens
delivery_providerstringConditionalRequired when {type} is not Virtual; omit for virtual cards

Response:

{
  "recipient_address": "0xAAFF0821A09A1Aac28B72dD3Ff410A7ea5FEb874",
  "payment_amount": {
    "amount": 24.99,
    "precise_amount": "24990000000000000000",
    "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
    "token_symbol": "WUSD",
    "rate": 1.0
  }
}
FieldDescription
recipient_addressAddress to transfer the fee to
payment_amountThe total to transfer — order fee plus delivery fee, converted to token_address

Step 2: Pay the Fee On-Chain

Transfer payment_amount.precise_amount of payment_amount.token_address to recipient_address from
the corporation wallet, and keep the transaction hash. Step 3 consumes it as
payment_transaction_hash.

Step 3: Issue the Card

POST /api/v1/cards/virtual
POST /api/v1/cards/plastic

Requires CardSu or CardCreate.

Request body — virtual:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "payment_transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Request body — plastic:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "delivery_provider": "DHL",
  "payment_transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "delivery_address": {
    "line1": "10 Downing Street",
    "line2": "Flat 2",
    "city": "London",
    "state": "",
    "postal_code": "SW1A 2AA",
    "country": "GB"
  }
}
FieldTypeRequiredDescription
card_namestringNoDisplay name shown in the card list. Omitted: the card reports a masked number, e.g. Visa **** **** **** 5678
name_on_cardstringNoName embossed on the card. Overridden when the linked employee has complete personal data. Omitted with no employee_id: the issuer embosses its own default, not the corporation name — in sandbox WIREX (<number>)
employee_idstringNoEmployee to link the card to. Must belong to this corporation
payment_transaction_hashstringConditionalRequired when fees are enforced and the order is priced above zero — the order fee for a virtual card, order plus delivery fee for a plastic one; omit otherwise
delivery_providerstringConditionalPlastic only. Required when fees are enforced. Defaults to DHL when fees are not enforced
delivery_addressobjectYes for plasticWhere the card is shipped
delivery_address.line1stringYesHouse number and street
delivery_address.line2stringNoApartment, suite, floor
delivery_address.citystringYesCity
delivery_address.statestringNoState or province
delivery_address.postal_codestringYesPostal code
delivery_address.countrystringYesUppercase ISO 3166-1 alpha-2

Response:

{
  "id": "64120850-73a1-4df5-a074-d463258c9deb"
}
FieldDescription
idThe card id. Every card endpoint takes it as {cardId}

Flow v2: Direct Fee

Step 1: Create the Fee Invoice

POST /api/v2/cards/{type}/fees/{country}/payment

Requires CardSu or CardCreate. The request body is identical to v1.

Response:

{
  "delivery_id": 12345,
  "recipient_address": "0xAAFF0821A09A1Aac28B72dD3Ff410A7ea5FEb874",
  "payment_amount": {
    "amount": 24.99,
    "precise_amount": "24990000000000000000",
    "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
    "token_symbol": "WUSD",
    "rate": 1.0
  }
}
FieldDescription
delivery_idInteger reference for the issuance call. Single-use
recipient_addressThe platform Buffer contract address the fee settles into
payment_amountOrder fee plus delivery fee, converted to token_address

delivery_id is consumed by the issuance call, not by the invoice call. A failed issuance
attempt that got past validation may leave it spent. Do not retry a failed v2 issuance with the same
delivery_id — create a new invoice.

Step 2: Issue the Card

POST /api/v2/cards/virtual
POST /api/v2/cards/plastic

Requires CardSu or CardCreate.

Request body — virtual:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "delivery_id": 12345
}

Request body — plastic:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "delivery_provider": "DHL",
  "delivery_id": 12345,
  "delivery_address": {
    "line1": "10 Downing Street",
    "line2": "Flat 2",
    "city": "London",
    "state": "",
    "postal_code": "SW1A 2AA",
    "country": "GB"
  }
}
FieldTypeRequiredDescription
delivery_idintegerConditionalRequired when fees are enforced, and must be positive. Ignored when fees are not enforced
Other fieldsAs in v1, except that payment_transaction_hash is not used

Response:

{
  "id": "64120850-73a1-4df5-a074-d463258c9deb"
}

Code

const response = await fetch(`${baseUrl}/api/v2/cards/virtual`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${corporationToken}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    card_name: 'Marketing team card',
    employee_id: employeeId,
    delivery_id: deliveryId  // omit if fees not enforced
  })
});
const { id: cardId } = await response.json();
response = requests.post(
    f"{base_url}/api/v2/cards/virtual",
    headers={
        "Authorization": f"Bearer {corporation_token}",
        "Content-Type": "application/json",
    },
    json={
        "card_name": "Marketing team card",
        "employee_id": employee_id,
        "delivery_id": delivery_id,  # omit if fees not enforced
    },
)
card_id = response.json()["id"]
body, _ := json.Marshal(map[string]interface{}{
    "card_name":   "Marketing team card",
    "employee_id": employeeID,
    "delivery_id": deliveryID, // omit if fees not enforced
})

req, _ := http.NewRequest("POST", baseURL+"/api/v2/cards/virtual", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer "+corporationToken)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var issueResp struct {
    Id string `json:"id"`
}
json.NewDecoder(resp.Body).Decode(&issueResp)

Flow v3: Configurable Offering

Step 1: Read the Order Configuration

Call GET /api/v3/cards/config and keep the offerings of the format you
are ordering whose countries contain the corporation's billing country. Step 3 takes design,
card_program and payment_system from them. Skip this step to accept the defaults — every one of the
three fields is optional.

Step 2: Create the Fee Invoice — Only When the Order Is Priced

When fees are not enforced, skip this step. When they are, read the price first with
Check Order Fees — for a plastic card, add the delivery method's fee:

Price of the orderWhat to do
Above zeroCreate a v2 invoice with POST /api/v2/cards/{type}/fees/{country}/payment — the request and response are as in Flow v2, Step 1 — and keep delivery_id for Step 3
ZeroNo invoice. Step 3 sends no delivery_id

A v3 order that is priced above zero and carries no delivery_id is refused with 400 before anything
is ordered — see Error Handling. A v3 order priced at zero is issued without one,
where v2 would refuse it.

Step 3: Issue the Card

POST /api/v3/cards/virtual
POST /api/v3/cards/plastic

Requires CardSu or CardCreate.

Request body — virtual:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "design": "VisaPlatinum",
  "payment_system": "Visa",
  "delivery_id": 12345
}

Request body — plastic:

{
  "card_name": "Marketing team card",
  "name_on_card": "Acme Inc IT",
  "employee_id": "64120850-73a1-4df5-a074-d463258c9deb",
  "design": "VisaCorporate",
  "payment_system": "Visa",
  "delivery_provider": "DHL",
  "delivery_id": 12345,
  "delivery_address": {
    "line1": "10 Downing Street",
    "line2": "Flat 2",
    "city": "London",
    "state": "",
    "postal_code": "SW1A 2AA",
    "country": "GB"
  }
}
FieldTypeRequiredDescription
designstringNoDesign from offerings[].designs. Omitted: the first design of the offering in effect — see below
card_programstringNoCard program from offerings[].card_programs. Omitted: the first program of the offering in effect, or none when the offering lists none
payment_systemstringNoVisa or MasterCard, case-insensitive. Omitted: Visa when any offering for the billing country is Visa, otherwise the scheme of the first offering
delivery_idintegerConditionalRequired when fees are enforced and the order is priced above zero. Ignored when fees are not enforced
delivery_providerstringConditionalPlastic only. Required when fees are enforced. Defaults to DHL when fees are not enforced
delivery_addressobjectYes for plasticAs in v1. Its country is the country the fee is priced for
card_name, name_on_card, employee_idAs in v1

How the defaults are filled. The scheme is settled first. The offering in effect is then the
first offering of that scheme, for the billing country and format, that carries the design or
card_program you named — or, when you named neither, the first offering that lists any. Whatever you
left out is filled from that one offering, so the design and program always come from the same product.

Named values are not checked against GET /api/v3/cards/config before the order is placed. They
are forwarded to the card issuer as sent:

  • A design the issuer does not hold for the format fails the order with 500 and
    Request failed due to external server failure; the issuer's reason —
    Incorrect card design '<design>' for format 'Virtual' — is in error_details. No card is created.
  • A payment_system or card_program outside the configuration can be accepted and issued: in
    sandbox, "payment_system": "MasterCard" on a Visa-only configuration issued a MasterCard card
    carrying the Visa design, and an unknown card_program was recorded on the card verbatim.

Send only values read from the configuration, and only in the combinations an offering lists.

Response:

{
  "id": "64120850-73a1-4df5-a074-d463258c9deb"
}
FieldDescription
idThe card id. Every card endpoint takes it as {cardId}

The issued card reports what it was issued with in card_data.design and card_data.card_program — see
Read the Issued Card.

Code

const response = await fetch(`${baseUrl}/api/v3/cards/virtual`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${corporationToken}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    card_name: 'Marketing team card',
    employee_id: employeeId,
    design: offering.designs[0],
    payment_system: offering.payment_system,
    delivery_id: deliveryId  // omit unless fees are enforced and the order is priced above zero
  })
});
const { id: cardId } = await response.json();
response = requests.post(
    f"{base_url}/api/v3/cards/virtual",
    headers={
        "Authorization": f"Bearer {corporation_token}",
        "Content-Type": "application/json",
    },
    json={
        "card_name": "Marketing team card",
        "employee_id": employee_id,
        "design": offering["designs"][0],
        "payment_system": offering["payment_system"],
        "delivery_id": delivery_id,  # omit unless fees are enforced and the order is priced above zero
    },
)
card_id = response.json()["id"]
body, _ := json.Marshal(map[string]interface{}{
    "card_name":      "Marketing team card",
    "employee_id":    employeeID,
    "design":         offering.Designs[0],
    "payment_system": offering.PaymentSystem,
    "delivery_id":    deliveryID, // omit unless fees are enforced and the order is priced above zero
})

req, _ := http.NewRequest("POST", baseURL+"/api/v3/cards/virtual", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer "+corporationToken)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var issueResp struct {
    Id string `json:"id"`
}
json.NewDecoder(resp.Body).Decode(&issueResp)

Design in v1 and v2

v1 and v2 take no design, card_program or payment_system. Their cards are issued with your
company's default design and card program. Use v3 to choose them.


Linking a Card to an Employee

employee_id is optional. It has three consequences, and all three are decided at issuance:

  1. Visibility. An employee without Su or CardSu sees only the cards linked to them. An
    unlinked card is invisible to everyone but a card administrator.
  2. The name on the card. The embossed name becomes the employee's
    "<first_name> <last_name>", truncated to 25 characters, and the name_on_card field in the
    request is ignored. This applies whenever the employee record carries first_name,
    last_name, email and phone — all four are required at invite, so it applies to every
    employee. name_on_card is used as sent only when no employee_id is linked.
  3. The billing address. With a complete employee record, the cardholder payload also carries the
    corporation's legal address as the billing address. A corporation with no legal address on record
    fails issuance with 400 ErrorMissingField and
    Failed to determine billing address for the card.

The employee is validated before the fee is charged, so a foreign or unknown employee_id fails
without spending delivery_id. An employee_id from another corporation returns 401 with
Employee does not belong to corporation.

To emboss a corporate name such as Acme Inc IT, leave employee_id unset. A linked employee
always overrides name_on_card, and the card is then invisible to everyone without CardSu — that
is the trade-off, and it cannot be changed after issuance.


Field Validation

FieldRequiredValidation (regex)Notes
card_nameNo^[a-zA-Z0-9]+[a-zA-Z0-9\-':+#& ]{1,50}$Must start alphanumeric; 2–51 characters overall
name_on_cardNo^[A-Za-z][A-Za-z .'-]{1,25}$Starts with a letter; 2–26 characters. No digits
delivery_address.line1, .line2Yes / No^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$2–100 characters
delivery_address.cityYes^[A-Za-z\s\-'.]{2,100}$Letters only — a city containing a digit is rejected
delivery_address.stateNo^[A-Za-z][A-Za-z\s\-']{1,99}$Letters only
delivery_address.postal_codeYes^[A-Za-z0-9\s\-]{3,12}$3–12 characters
delivery_address.countryYes^[A-Z]{2}$Uppercase ISO 3166-1 alpha-2

postal_code is always required, including for countries that have no postal code. Send a
placeholder that matches the pattern, e.g. "00000". Only the format is validated, not real postal
validity.

The field is postal_code on the way in and zip_code on the way out. The issuance request takes
delivery_address.postal_code; the card returned by GET /api/v1/cards reports the same value as
delivery_address.zip_code. Map between them explicitly.

Address validation is format-only. An address that passes here can still be rejected by the card
processor, in which case the issuance call returns a synchronous 400 — no card is created and no card
webhook is sent.

Read the Issued Card

Two v3 reads return cards with what they were issued with. They take the same permissions and return the
same card object as GET /api/v1/cards, and they work for cards issued through any version.

EndpointReturnsPermissions
GET /api/v3/cardsThe cards the caller may see, on every chain — GET /api/v1/cards lists only the cards of the chain in the corporation tokenCardSu or CardView
GET /api/v3/cards/{cardId}One cardCardSu or CardView

GET /api/v3/cards takes the same query parameters as the v1 list — employee_id, page_number,
page_size — with the same visibility rules: a caller without Su or CardSu sees only the cards
linked to their own employee record, and their employee_id filter is ignored. page_number starts
at 0
; page_size defaults to 25 and is capped at 50.

GET /api/v3/cards/{cardId}

Path parameters:

ParameterDescription
{cardId}The id returned by the issuance call

Response:

{
  "id": "64120850-73a1-4df5-a074-d463258c9deb",
  "card_wallet_address": "0xAAFF0821A09A1Aac28B72dD3Ff410A7ea5FEb874",
  "status": "Active",
  "limit": {
    "daily_limit": -1,
    "daily_usage": 0,
    "monthly_limit": -1,
    "monthly_usage": 0,
    "transaction_limit": -1,
    "currency": "EUR"
  },
  "allowed_actions": [
    { "type": "Block", "relative_path": "/api/v1/cards/:cardId/block" },
    { "type": "SetLimit", "relative_path": "/api/v1/cards/:cardId/limit" },
    { "type": "GetDetails", "relative_path": "/api/v1/cards/:cardId/details" },
    { "type": "GetCvv", "relative_path": "/api/v1/cards/:cardId/cvv" },
    { "type": "Close", "relative_path": "/api/v1/cards/:cardId/close" }
  ],
  "created_at": "2024-01-01T10:00:00Z",
  "updated_at": "2024-01-01T10:00:01Z",
  "card_data": {
    "name_on_card": "Acme Inc IT",
    "payment_system": "Visa",
    "card_number_last_4": "5678",
    "expiry_date": "01/28",
    "format": "Virtual",
    "design": "VisaPlatinum",
    "card_program": "WIREX_ATM_EU",
    "region": "GB",
    "card_name": "Marketing team card"
  }
}

The card object is described in Card Details. The three fields that record
the order:

FieldDescription
card_data.designDesign the card was issued with. Omitted for a card issued before designs were recorded
card_data.card_programCard program the card was issued on. Omitted when the order carried none
card_data.regionRegion of the card as the card issuer reports it — an issuer value such as GB or Europe, not a fixed set. Omitted when the issuer reports none

All three are also present on the cards of GET /api/v1/cards. The card webhook
(/v2/webhooks/cards) does not carry them — read the card after a webhook when you need them.

A card of another corporation, and a card a non-administrator is not linked to, both return
400 ErrorNotFound with Card not found — the response does not reveal whether the card exists.

const response = await fetch(`${baseUrl}/api/v3/cards/${cardId}`, {
  headers: { 'Authorization': `Bearer ${corporationToken}` }
});
const card = await response.json();
response = requests.get(
    f"{base_url}/api/v3/cards/{card_id}",
    headers={"Authorization": f"Bearer {corporation_token}"},
)
card = response.json()
req, _ := http.NewRequest("GET", baseURL+"/api/v3/cards/"+cardId, nil)
req.Header.Set("Authorization", "Bearer "+corporationToken)

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var card CardResponse
json.NewDecoder(resp.Body).Decode(&card)

What Happens Next

  1. The card is created in status Requested.
  2. A virtual card moves to Active once the processor completes issuance. A plastic card moves to
    NotActivated and must be activated on arrival — see Managing a Card.
  3. Each transition is delivered to POST {your_webhook_base_url}/v2/webhooks/cards.
  4. card_data.card_number_first_4 is present while the card is Requested or NotActivated;
    card_number_last_4 and expiry_date appear once it is past those states.

Error Handling

{
  "error_reason": "ErrorNotSupported",
  "error_description": "You have no card order/delivery fees to pay",
  "error_category": {
    "category": "CategoryValidationFailure",
    "http_status_code": 400
  },
  "error_details": [
    { "key": "field", "details": "fees_enforced" }
  ]
}

Validation Errors (400)

Error ReasonError DetailsDescriptionResolution
ErrorNotSupportedfield: fees_enforcedYou have no card order/delivery fees to payFees are not enforced. Skip the fee endpoints and issue directly
ErrorNotSupportedfield: company_idCard issuance is not supported for this companyNo card configuration exists for your company. Contact Wirex
ErrorNotFoundfield: type, field: countryNo fees found for specified country and methodThe format is not offered in that country
ErrorMissingFieldfield: delivery_providerdelivery provider is required for physical cardsSend a provider value from GET /api/v1/cards/delivery/methods/{country}
ErrorInvalidFieldfield: typeInvalid value for typeUse Plastic, Virtual or Metal
ErrorInvalidFieldfield: countryInvalid format for countryUppercase two-letter code
ErrorMissingFieldfield: delivery_address.line1Delivery address incompleteSend every required address field
ErrorInvalidFieldfield: delivery_address.cityCity contains disallowed charactersLetters, spaces, hyphens, apostrophes and periods only
ErrorGeneraldelivery_idDelivery ID is required and must be positivev2: fees are enforced. Create a v2 invoice and pass its delivery_id
ErrorGeneraldelivery_idThis card order is priced above zero and must carry the delivery returned by the fees invoice endpointv3: the order costs something. Create a v2 invoice and pass its delivery_id
ErrorGeneralpayment_systemPayment system must be one of Visa, MasterCardv3: send Visa or MasterCard, or omit the field
ErrorGeneralemployee_idEmployee id is invalid, must be a valid UUIDSend the employee's UUID
ErrorNotSupportedcompany_config, company_idRequest failed validation — Used company does not support card issuancePlastic: no card configuration exists for your company. Contact Wirex
ErrorGeneralcard_nameCards name is invalidMatch the card_name pattern
ErrorGeneralname_on_cardName on card is invalidMatch the name_on_card pattern
ErrorMissingField—Failed to determine billing address for the cardThe corporation has no legal address. Complete KYB
ErrorMissingFieldfield: payment_transaction_hashpayment transaction hash is requiredv1, fees enforced, order priced above zero. Pay the invoice and send the hash
ErrorMissingFieldfield: corporation_legal_addressFailed to determine the country the card is issued inv1 virtual, fees enforced: the corporation has no legal address to price the fee for. Complete KYB
ErrorGeneral—Capability is not activeVisaVirtualCard or VisaPlasticCard is not Active
ErrorNotFoundfield: card_idCard not foundGET /api/v3/cards/{cardId}: the card belongs to another corporation, or the caller is not linked to it
ErrorInvalidFieldfield: card_id, issue: invalid_uuidcard id must be a valid UUIDGET /api/v3/cards/{cardId}: send the card's UUID
ErrorGeneralCardId: Must not be empty, failed_method: TryGetCardV2Request failed validationGET /api/v3/cards/{cardId} with a well-formed id that matches no card. Treat it as not found
ErrorInvalidFieldfield: page_size, max: 50page size exceeds maximum allowedCard lists: request at most 50 per page

Authorization Errors (401, 403)

HTTPError ReasonDescriptionResolution
401ErrorGeneralEmployee does not belong to corporationThe employee_id belongs to another corporation
403ErrorPermissionDeniedUser does not have required permissionsIssuance requires CardSu or CardCreate

Server Errors (500)

Error ReasonDescriptionResolution
ErrorNotFoundOrder fees not foundNo fee configuration for that format and country
ErrorNotFoundDelivery fees not foundNo delivery configuration for that country and provider
ErrorGeneralRequested payment token not foundtoken_address is not in the catalogue
ErrorGeneralRate for requested payment token not foundNo rate for the fee currency against that token. Choose another token
ErrorGeneralError processing delivery paymentv1: the payment_transaction_hash was rejected — not found, already used, or for the wrong amount. Pay a fresh invoice
ErrorGeneralFailed to issue virtual card / Failed to issue plastic cardThe processor rejected the order — on v2 and v3 this includes a delivery_id that is expired, already used or unfunded. No card was created and no webhook is sent. Create a new invoice before retrying
ErrorGeneralRequest failed due to external server failureThe card issuer refused the order — on v3, typically a design it does not hold for the format; its reason is in error_details. No card was created. Send a value from GET /api/v3/cards/config
ErrorGeneralFailed to price the card orderv3, fees enforced, no delivery_id: the price could not be read, so the order is refused rather than issued unpriced. Nothing was ordered. Retry, or send a delivery_id
ErrorGeneralCard order returned no cardThe order returned no card. Read GET /api/v3/cards before retrying, to avoid a second card
ErrorNotFoundCard configuration not foundv2 and v3. No card configuration exists for your company. Contact Wirex. On v1 the same error is a 400 with field: company_id
ErrorGeneralFailed to link card to employeeThe card was issued but not linked. Read GET /api/v1/cards as a card administrator to find it
ErrorConfigurationInvalidCard configuration is missingPlatform configuration error. Contact Wirex

Failed to link card to employee means the card exists. It is not visible to the employee and
cannot be re-linked through the API — there is no link endpoint. Retrying issuance creates a second
card.


Did this page help you?