curl --request POST \
--url https://dev.sbx.imprint.co/v2/payment_methods \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "54CFF41D-0AA0-4D16-853B-608C5AAF503D",
"type": "CARD",
"pan": "4111111592341815"
}'
{
"data": [
{
"id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
"type": "CARD",
"customer_id": "B40A789E-BD46-4BB9-B63E-F9919582694C",
"card": {
"last4": "1234",
"network": "VISA",
"card_type": "PHYSICAL",
"card_design_id": "3b9c1f3e-52a0-44c1-b131-a7ab0099a214",
"pci_details": {
"pan": "5105105105105100",
"exp_month": "06",
"exp_year": "26",
"cvv": "123"
},
"tokens": [
{
"type": "ADYEN",
"token": "<string>",
"pan_reference_id": "<string>",
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z"
}
]
},
"bank_account": {
"last4": "1234",
"routing_number": "<string>",
"bank_name": "Wells Fargo",
"account_type": "CHECKING"
},
"loan": {
"amount": 10000,
"currency": "USD",
"remaining_balance": 123,
"term_months": 12,
"apr": "5.89",
"loan_status": "PENDING"
},
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z",
"status": "ACTIVE",
"metadata": {
"platform_version": "2.1.0"
}
}
],
"has_more": true,
"total": 123
}
curl --request POST \
--url https://dev.sbx.imprint.co/v2/payment_methods \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "54CFF41D-0AA0-4D16-853B-608C5AAF503D",
"type": "CARD",
"pan": "4111111592341815"
}'
{
"data": [
{
"id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
"type": "CARD",
"customer_id": "B40A789E-BD46-4BB9-B63E-F9919582694C",
"card": {
"last4": "1234",
"network": "VISA",
"card_type": "PHYSICAL",
"card_design_id": "3b9c1f3e-52a0-44c1-b131-a7ab0099a214",
"pci_details": {
"pan": "5105105105105100",
"exp_month": "06",
"exp_year": "26",
"cvv": "123"
},
"tokens": [
{
"type": "ADYEN",
"token": "<string>",
"pan_reference_id": "<string>",
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z"
}
]
},
"bank_account": {
"last4": "1234",
"routing_number": "<string>",
"bank_name": "Wells Fargo",
"account_type": "CHECKING"
},
"loan": {
"amount": 10000,
"currency": "USD",
"remaining_balance": 123,
"term_months": 12,
"apr": "5.89",
"loan_status": "PENDING"
},
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z",
"status": "ACTIVE",
"metadata": {
"platform_version": "2.1.0"
}
}
],
"has_more": true,
"total": 123
}
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
List of customer payment methods
The response is of type object
.