Create new card
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
API reference
To create a card, you must supply a valid deposit account number along with other card-specific information. The initial card status of a newly submitted card is unactivated. When the card is successfully created the order status is OrderPending.
Endpoint: /cardmanagement/v1/cards
POST
https://sandbox.crbcos.com/cardmanagement/v1/cards
curl --location 'https://sandbox.crbcos.com/cardmanagement/v1/cards' \
--header 'Idempotency-key: b06ab5cc-553a-4fe4-ad78-751b5ff81f0e' \
--data-raw '{
"accountNumber": "158560897007",
"customerId": "e2599a17-d1e2-476c-9672-b2ff008fa575",
"configurationId": "b2251a28-c218-4e2e-a787-b2f700ef0ecd",
"firstName": "Daly",
"lastName": "Khol",
"phone": {
"phoneType": "Home",
"phoneNumber": "7185551234"
},
"emailAddress": "[email protected]",
"shippingAddress": {
"street1": "1 Roshar Ave",
"city": "Roshar",
"state": "NY",
"postalCode": "10001",
"countryCode": "US"
},
"billingAddress": {
"street1": "1 Roshar Ave",
"city": "Roshar",
"state": "NY",
"postalCode": "10001",
"countryCode": "US"
},
"nameOnCard": "Daly Khol",
"shippingType": "Normal",
"clientIdentifier": "b06ab5cc-553a-4fe4-ad78-751b5ff81f00"
}