Create Physical Card
Overview
Creates an individual physical debit card for an account. 1
Endpoint URL
https://api-s.nolantechnologies.com/v0/banking/cards
Endpoint Data
| Property Name | Description | Type | Required | Allowed Values |
|---|---|---|---|---|
type |
The type of debit card being created | String | Yes | individualDebitCard |
accountId |
Unit account ID | String | Yes | Any |
design |
The desired card design | String | No | Any |
shippingAddress |
The address that the card should be shipped to | Object | Yes | Any |
Example Body
{
"type": "individualDebitCard"
, "accountId": "1334081"
, "design": "blue"
, "shippingAddress": {
"street": "123 Main St"
, "street2": "Suite 100"
, "city": "Dallas"
, "state": "TX"
, "postalCode": "75201"
, "country": "US"
}
}
Example Request
curl -i -X POST "https://api-s.nolantechnologies.com/v0/banking/cards" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Nolan-API-Key: YourNolanApiKey" \
--data '{
"type": "individualDebitCard"
, "accountId": "1334081"
, "design": "blue"
, "shippingAddress": {
"street": "123 Main St"
, "street2": "Suite 100"
, "city": "Dallas"
, "state": "TX"
, "postalCode": "75201"
, "country": "US"
}
}'
Example Response
HTTP/1.1 201 CREATED
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 332
ETag: W/"14c-PIXt+3CWLR/8LXvJ5oHPfhWsbyg"
Date: Sat, 23 Sep 2023 20:51:38 GMT
Connection: keep-alive
Keep-Alive: timeout=5
{
"data": {
id: '1163202',
accountId: '1334081',
createdAt: '2023-08-30T20:57:54.048Z',
last4Digits: '6144',
expirationDate: '2027-08',
status: 'Inactive',
design: 'blue',
type: 'individualDebitCard',
shippingAddress: {
street: '123 Main St',
street2: 'Suite 100',
city: 'Dallas',
state: 'TX',
postalCode: '75201',
country: 'US'
}
}
}
-
Read more about this endpoint in the Unit API docs ↩