Create a new card

/cardmanagement/v1/cards

Requests creation of a new card for a customer.
To create a card, you must supply a valid deposit account number along with other card-specific information. The initial status of a newly submitted card is unactivated. When the card is successfully created the order status is OrderPending.

Request attributes

accountNumber

string

Cardholder deposit account number

Required  

customerId

string

Unique CR identifier for the account owner in GUID format.

Required  

configurationId

string

Unique ID for the card configuration profile the card is based on. You get this ID from CR. This ID is in GUID format.

Required  

firstName

string

Cardholder first name

Required  

middleName

string

Cardholder middle name

Optional 

lastName

string

Cardholder last name

Required  

suffix

string

Cardholder name suffix

Optional 

phone

object

emailAddress

string

Cardholder email address

Optional 

shippingAddress

object

billingAddress

object

nameOnCard

string

Cardholder name as it appears on the card

Required  

companyNameOnCard

string

If the card is connected to a business account, the company name

Optional 

shippingType

string

How the card is shipped: Normal or Expedited

Required  

clientIdentifier

string

Use this attribute to add your own unique identifying string to a payment call or COS record. This attribute is useful for idempotency purposes.

Optional 

Copy

Sample request

curl --location
-X POST 
-H 'Content-Type: application/json' \
-H 'Authorization: {Bearer token}' \
-d '{
  "accountNumber": "2608927303",
  "customerId": "2b15a695-13dc-4b10-b4e5-af5b0138873c",
  "configurationId": "a6b5a94c-f8f9-462b-8ce8-afa400f5b640",
  "firstName": "John",
  "middleName": "Jacob",
  "lastName": "Smith",
  "suffix": "Jr",
  "phone": {
    "phoneType": "Home",
    "phoneNumber": "2015551234"
  "emailAddress": "john@abccompany.com"
  "shippingAddress": {
    "street1": "123 Maple Lane",
    "street2": "Apt. 1",
    "city": "New York",
    "state": "NY",
    "postalCode": "10025",
    "countryCode": "US"
  },
  "billingAddress": {
    "street1": "123 Maple Lane",
    "street2": "Apt. 1",
    "city": "New York",
    "state": "NY",
    "postalCode": "10025",
    "countryCode": "US"
  },
  "nameOnCard": "John J. Smith, Jr.",
  "shippingType": "Normal",
} 'https://sandbox.crbcos.com/cardmanagement/v1/cards'

Response attributes

id

string

GUID format card ID in the CR system, which is the id attribute value of the response to Create a card. This is not the number that appears on the card.

partnerId

string

Your ID in the CR system. This ID is in GUID format.

productId

string

Product ID of the cardholder deposit account. This ID is in the GUID format. See also here.

processorCardId

string

Card processor's unique identifier

accountNumber

string

Deposit account number associated with the card

status

string

Card activation status:

  • Unactivated

  • Active

  • Suspended

  • Closed

statusReasonCode

string

Reason for the card status:

  • NotSet

  • Damaged

  • Expired

  • LostStolen

  • FraudCompromised

  • Return

  • NewEnrollment

processorCardStatus

string

Status of the card in the processor's system

firstName

string

Cardholder first name

middleName

string

Cardholder middle name

lastName

string

Cardholder last name

suffix

string

Cardholder name suffix

birthDate

string

Cardholder birthdate

shippingAddress

object

Address where a physical card is sent

billingAddress

object

Address where the credit card bills are sent

phone

object

Information about the cardholder's phone (type and number)

emailAddress

string

Cardholder email address

nameOnCard

string

Full cardholder name as written on card

companyNameOnCard

string

If defined, the name of the cardholder company

panLastFour

string

Last 4 digits of the PAN, the primary account number, which appears on the physical card

previousCardId

string

ID of the previous card if the current card is a replacement

isPinSet

boolean

True if the PIN number is set for the card, otherwise false.

expirationDate

string

Card expiration date

adminBlocked

boolean

True if the card has been blocked by the administrator, otherwise false. This block cannot be removed.

fraudSuspect

boolean

True, if the card was blocked by the processor due to potential fraud, otherwise false.

configurationId

string

Unique ID for the card configuration profile the card is based on. You get this ID from CR. This ID is in GUID format.

category

string

Type of card:

  • Debit

  • Credit

  • Prepaid

paymentInstrument

string

Card payment instrument type:

  • PhysicalMSR

  • PhysicalICC

  • PhysicalContactless

  • PhysicalCombo

  • VirtualPan

processor

string

The name of the card processor

shippingType

string

How the card is shipped:

  • Normal

  • Expedited

orderStatus

string

Status of the card order:

  • OrderPending (0)

  • Completed (1)

  • Failed (2)

  • Authorizing (3)

  • AuthorizationFailed (4)

  • AuthorizationCompleted (5)

replacementStatus

string

Indicates whether the card is a replacement card and the status of the replacement:

  • NotApplicable

  • Pending

  • Completed

  • Failed

customerId

string

Unique CR identifier for the account owner in GUID format.

clientIdentifier

string

Use this attribute to add your own unique identifying string to a payment call or COS record. This attribute is useful for idempotency purposes.

processorCustomerId

string

Processor's Unique ID for the cardholder

createdAt

string

Date and time when the card was created. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]

suspendedAt

string

Date and time when the card was suspended. If not suspended, null. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]

closedAt

string

Date and time the card was closed. If not closed, null. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]

initialActivation

string

Date the card was activated. The time is set to midnight at the start of that day.

activatedAt

string

Exact date and time the card was activated. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]

openedAt

string

Null

lastModifiedAt

string

Date and time the card record was last modified. Examples include change of name on the card and change in card status. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]

Copy

Sample response

{
  "id": "e03cee19-fb0d-404a-ae60-aff700d20d37",
  "partnerId": "cd9c12f4-7691-424a-b38b-af5b0134c611",
  "productId": "83bed086-8182-4151-a1e3-af5b01362783",
  "accountNumber": "2608927303",
  "status": "Unactivated",
  "statusReasonCode": "NotSet",
  "processorCardStatus": "I",
  "firstName": "John",
  "middleName": "Jacob",
  "lastName": "Smith",
  "suffix": "Jr",
  "shippingAddress": {
    "street1": "123 Maple Lane",
    "street2": "Apt. 1",
    "city": "New York",
    "state": "NY",
    "postalCode": "10025",
    "countryCode": "US"
  },
  "billingAddress": {
    "street1": "123 Maple Lane",
    "street2": "Apt. 1",
    "city": "New York",
    "state": "NY",
    "postalCode": "10025",
    "countryCode": "US"
  },
  "phone": {
    "phoneType": "Home",
    "phoneNumber": "2015551234"
  },
  "emailAddress": "john@abccompany.com",
  "nameOnCard": "John J. Smith, Jr.",
  "isPinSet": false,
  "adminBlocked": false,
  "fraudSuspect": false,
  "configurationId": "a6b5a94c-f8f9-462b-8ce8-afa400f5b640",
  "category": "Credit",
  "paymentInstrument": "VirtualPan",
  "processor": "i2c",
  "shippingType": "Normal",
  "orderStatus": "OrderPending",
  "replacementStatus": "NotApplicable",
  "customerId": "2b15a695-13dc-4b10-b4e5-af5b0138873c",
  "createdAt": "2023-05-03T08:44:46.568048-04:00",
  "lastModifiedAt": "2023-05-03T08:44:46.568048-04:00"
}