GET
/
v2
/
payment_methods
curl --request GET \
  --url https://dev.sbx.imprint.co/v2/payment_methods
{
  "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"
        }
      },
      "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
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Query Parameters

customer_id
string
required

The unique identifier for the customer

Example:

"DE92AF9E-E705-4B8E-9184-6D976DBD8050"

type
enum<string>

The type of payment method to filter by

Available options:
LOAN,
CARD,
BANK_ACCOUNT
Example:

"LOAN"

limit
integer
default:10

Limits the number of returned results

Required range: x >= 1
starting_after
string

A cursor for use in pagination. An id that defines your place in the list.

Response

200 - application/json

List of customer payment methods

The response is of type object.