Create a new card for an existing customer on an account
Path parameters
-
account_id
string Required Account ID
-
customer_id
string Required Customer ID
Body
Create a card directly with the configured issuer processor for a customer on an account
-
spend_limit
integer | null Spending limit of card (in cents). If not provided, spending is still subject to the spend limit set at the issuer processor account (if any).
Minimum value is
1
. -
lithic
object
POST
/accounts/{account_id}/customers/{customer_id}/cards
curl \
-X POST https://sandbox-api.canopyservicing.com/accounts/31mNprzLd2bKl6koVna68ARM/customers/jNxDp2ybR5M72LaBA83e06md/cards \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"spend_limit":8000000,"lithic":{"memo":"Primary College Card","type":"MERCHANT_LOCKED","state":"OPEN","card_program_token":"a5e38341-cc95-4a9b-a21c-751aeca67e9c"}}'
Request example
{
"spend_limit": 8000000,
"lithic": {
"memo": "Primary College Card",
"type": "MERCHANT_LOCKED",
"state": "OPEN",
"card_program_token": "a5e38341-cc95-4a9b-a21c-751aeca67e9c"
}
}
Request examples
{
"spend_limit": 8000000,
"lithic": {
"memo": "Primary College Card",
"type": "MERCHANT_LOCKED",
"state": "OPEN",
"card_program_token": "a5e38341-cc95-4a9b-a21c-751aeca67e9c"
}
}
Response examples (200)
[
{
"spend_limit": 8000000,
"lithic": {
"type": "UNLOCKED",
"state": "OPEN",
"token": "adccd28d-532e-480b-a063-a46a77a15570",
"last_four": "0690",
"memo": "Conference Event Card"
}
}
]
Response examples (200)
[
{
"spend_limit": 8000000,
"lithic": {
"type": "UNLOCKED",
"state": "OPEN",
"token": "adccd28d-532e-480b-a063-a46a77a15570",
"last_four": "0690",
"memo": "Conference Event Card"
}
}
]