Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Card API

Create and order a physical card

post
/v2/issuers/{issuerId}/cards/physical

This request is used by the bank backend to create a physical card and trigger its production order. The card creation registers the card with the processor (CMS and D1 Card Manager). The production order is sent to the personalization center based on the distributionChannel:

  • THALES: Thales personalization center — requires shipment

  • INSTANT: Instant issuance in branch — requires persoStation, no shipment

  • CENTRAL: Bank or partner center — requires persoCenter and shipment

Authorizations
AuthorizationstringRequired

A JWT generated by the Get Authorization Token API.
The server checks the validity of the provided token to control access to this protected resource. Please refer to Get OAuth 2.0 access token for more details on the flow and on how to get this JWT.

Path parameters
issuerIdstring · min: 10 · max: 10Required

The id of the issuer

Header parameters
x-correlation-idstringOptional

Random identifier which can be used to correlate the different API calls done as part of a single use-case. This identifier will be the one primarily used for troubleshooting.

Warning: This identifier should not be derived from sensitive personal data, as its value will be logged in clear.

There is no strong guarantee of the uniqueness of this identifier, so please refrain from using it for other purpose than logging and troubleshooting.

Pattern: ^[A-Za-z0-9_-]{1,64}$
x-user-idstringOptional

Identifier of the user that requests the operation on D1 API. This value is provided for information purpose, D1 doesn't do any verification based on this identifier.
D1 manages to propagate the information to a subsequent internal system for tracking purpose.
This identifier is not mandatory.

Pattern: ^[A-Za-z0-9_-]{1,15}$
Body
or
or
Responses
201

Successful physical card creation and production order submitted

application/json
cardIdstring · min: 1 · max: 48Required

Unique identifier of the card.

Pattern: ^[A-Za-z0-9_-]{1,48}$
operationIdstring · min: 1 · max: 64Required

Unique identifier of the operation

Pattern: ^[A-Za-z0-9_-]{1,64}$
post/v2/issuers/{issuerId}/cards/physical
POST /banking/v2/issuers/{issuerId}/cards/physical HTTP/1.1
Host: api.d1.thalescloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1116

{
  "distributionChannel": "THALES",
  "consumerId": "text",
  "cardProductId": "text",
  "name": "text",
  "secondName": "text",
  "accountList": [
    {
      "default": true,
      "type": "CHECKING",
      "number": "text",
      "currencyCode": "EUR"
    }
  ],
  "issuerRequestId": "01c5a05e-e197-11ec-8fea-0242ac120002",
  "services": {
    "priority": "P1",
    "delivery": "DHL",
    "packaging": "welcome_pack_red",
    "cardCarrier": "NO_CARRIER",
    "pinMailer": false,
    "alphaCard": false
  },
  "cardDesign": {
    "images": [
      "image_1",
      "image_2"
    ],
    "customLines": [
      "Custom text 1",
      "Custom text 2"
    ],
    "artworkId": "text",
    "memberId": "123456789"
  },
  "cardCarrierConfig": {
    "language": "EN",
    "images": [
      "image_1",
      "image_2"
    ],
    "customLines": [
      "Custom text 1",
      "Custom text 2"
    ],
    "multiCardId": "cmp7m3zdf12qj",
    "multiCardOrder": "1"
  },
  "packagingConfig": {
    "inserts": [
      "promo_card",
      "manual_v2"
    ]
  },
  "shipment": {
    "type": "INDIVIDUAL",
    "deliveryAddress": {
      "title": "Mr.",
      "firstName": "John",
      "lastName": "Smith",
      "companyName": "Thales",
      "line1": "Street #1",
      "line2": "Street #2",
      "line3": "Street #3",
      "city": "London",
      "state": "text",
      "zipCode": "WC2N 5DU",
      "countryCode": "GB",
      "mobilePhoneNumber": {
        "countryCode": "+420",
        "phoneNumber": "777222333"
      },
      "email": "john.doe@dummymail.com"
    }
  }
}
{
  "cardId": "text",
  "operationId": "text"
}

Last updated

Was this helpful?