curl --request GET \
--url https://api.treasuryprime.com/card/{id} \
--header 'Authorization: Basic <encoded-value>'
{
"account_id": "acct_291u96075mva",
"card_controls": null,
"card_product_id": "cdpt_w10r2sebv0nl",
"created_at": "2021-02-19T20:42:40Z",
"cvv": null,
"expiration": "0225",
"fulfillment": {
"shipping_method": "USPS Mail (5-7 business days)",
"status": "issued",
"tracking_number": null
},
"id": "card_zuhqnmz7e085",
"last4": "3385",
"pan": null,
"person_id": "psn_5vyzn6sveupa",
"pin_is_set": false,
"status": "unactivated",
"updated_at": "2021-02-19T20:42:41Z",
"userdata": null
}
curl --request GET \
--url https://api.treasuryprime.com/card/{id} \
--header 'Authorization: Basic <encoded-value>'
{
"account_id": "acct_291u96075mva",
"card_controls": null,
"card_product_id": "cdpt_w10r2sebv0nl",
"created_at": "2021-02-19T20:42:40Z",
"cvv": null,
"expiration": "0225",
"fulfillment": {
"shipping_method": "USPS Mail (5-7 business days)",
"status": "issued",
"tracking_number": null
},
"id": "card_zuhqnmz7e085",
"last4": "3385",
"pan": null,
"person_id": "psn_5vyzn6sveupa",
"pin_is_set": false,
"status": "unactivated",
"updated_at": "2021-02-19T20:42:41Z",
"userdata": null
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Unique identifier for object
The card
The response is of type object
.
Was this page helpful?