Create a new card with the specified wallet and program.
Request
Body Params application/json
{
"wallet_id": "477f7da7-faeb-4497-b97a-d39e7e921d9f",
"program_id": "ee3620d0-2f97-47a2-955d-b2975cc76747"
}
Request Code Samples
curl --location --request POST '/customers/v1/cards' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'idempotency-key: {{$string.uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"wallet_id": "477f7da7-faeb-4497-b97a-d39e7e921d9f",
"program_id": "ee3620d0-2f97-47a2-955d-b2975cc76747"
}'
Responses
application/json {
"id": "1b8ecc17-4edd-4b74-ae4f-208aeb78f105",
"type": "VIRTUAL",
"wallet_id": "13655985-8198-ffde-7afe-6abc661df281",
"created_at": "2025-01-13T18:26:41.332Z",
"updated_at": "2025-01-13T18:26:41.332Z",
"status": "INACTIVE",
"external_id": "1111111",
"last_four_digit": "1111",
"expiry": "2010-08-12T12:16:43.197Z",
"program_id": "0e8563e6-d25e-0f83-18ac-d053dff141c3",
"m_pan": "1111***1111"
}
Modified at 2025-01-27 04:35:38