curl --request GET \
--url https://dev.sbx.imprint.co/v2/customers/{customer_id}/payment_methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
"type": "CARD",
"customer_id": "B40A789E-BD46-4BB9-B63E-F9919582694C",
"created_at": "2025-02-13T19:08:07.000Z",
"status": "ACTIVE",
"metadata": {
"platform_version": "2.1.0"
},
"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>",
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z",
"pan_reference_id": "<string>"
}
]
},
"bank_account": {
"last4": "1234",
"routing_number": "<string>",
"bank_name": "Wells Fargo",
"account_type": "CHECKING"
},
"loan": {
"amount": 10000,
"term_months": 12,
"currency": "USD",
"remaining_balance": 123,
"apr": "5.89",
"loan_status": "PENDING"
},
"updated_at": "2025-02-13T19:08:07.000Z"
}
]
}curl --request GET \
--url https://dev.sbx.imprint.co/v2/customers/{customer_id}/payment_methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
"type": "CARD",
"customer_id": "B40A789E-BD46-4BB9-B63E-F9919582694C",
"created_at": "2025-02-13T19:08:07.000Z",
"status": "ACTIVE",
"metadata": {
"platform_version": "2.1.0"
},
"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>",
"created_at": "2025-02-13T19:08:07.000Z",
"updated_at": "2025-02-13T19:08:07.000Z",
"pan_reference_id": "<string>"
}
]
},
"bank_account": {
"last4": "1234",
"routing_number": "<string>",
"bank_name": "Wells Fargo",
"account_type": "CHECKING"
},
"loan": {
"amount": 10000,
"term_months": 12,
"currency": "USD",
"remaining_balance": 123,
"apr": "5.89",
"loan_status": "PENDING"
},
"updated_at": "2025-02-13T19:08:07.000Z"
}
]
}Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
The unique identifier for the Imprint customer
"2EE24580-B97B-4949-A65C-929CCB9B9B8D"
Customer rewards balance
Show child attributes
The unique ID Imprint assigns to the payment method.
"DCBFC736-2286-42DD-897D-160DCA80AED2"
The type of payment method
CARD, BANK_ACCOUNT, LOAN The id of the Imprint customer that the payment method belongs to.
"B40A789E-BD46-4BB9-B63E-F9919582694C"
the RFC-3339 timestamp when the payment method was created
"2025-02-13T19:08:07.000Z"
Current status of the payment method
ACTIVE, INACTIVE, CANCELED Additional metadata for the payment method
{ "platform_version": "2.1.0" }When payment method is a CARD type, this object will have card specific data.
Show child attributes
The last 4 digits of the card PAN
4"1234"
Name of the card issuer
VISA, MASTERCARD, AMEX, The type of card
PHYSICAL, VIRTUAL Imprint ID for the graphic design printed on the card
"3b9c1f3e-52a0-44c1-b131-a7ab0099a214"
The pci details of the returned card. Only verified PCI compliant partners will be able to retrieve pci details in production environments.
Show child attributes
The unique 16-digit number printed on the front of a payment card, used to identify the cardholder's account.
"5105105105105100"
The month the card expires
"06"
The year the card expires
"26"
A three- or four-digit security code used to verify card-not-present transactions and prevent fraud.
"123"
Payment method tokens that are defined by a third-party provider are included in this array by Imprint.
Show child attributes
ADYEN, APPLE_WALLET The token, as defined by the processor
the RFC-3339 timestamp when the payment method was created
"2025-02-13T19:08:07.000Z"
the RFC-3339 timestamp when the payment method was updated
"2025-02-13T19:08:07.000Z"
An ID that represents the PAN and is defined by the processor
When payment method is a BANK_ACCOUNT type, this object will have bank account specific data.
Show child attributes
Last 4 numbers of the account.
4"1234"
The bank routing number assigned to this account.
Name of the banking institution
"Wells Fargo"
Type of the account.
CHECKING, SAVINGS When payment method is a LOAN type, this object will have loan specific data.
Show child attributes
Amount in min units.
10000
Length of the loan term in months
12
The 3-character currency code of the amount in ISO 4217 format (e.g., "USD")
"USD"
remaining unspent balance on the loan
Annual percentage rate of the loan in floating point
"5.89"
Current status of the loan
PENDING, APPROVED, REJECTED, ACTIVE, CLOSED the RFC-3339 timestamp when the payment method was last updated
"2025-02-13T19:08:07.000Z"