Skip to main content
GET
/
unstable
/
payment-methods
List Payment Methods
curl --request GET \
  --url https://staging.crossmint.com/api/unstable/payment-methods \
  --header 'X-API-KEY: <x-api-key>'
{
  "type": "card",
  "paymentMethodId": "pm_8d6a4b1f-9c8a-4cba-b2c1-3a5b8c0d6f12",
  "default": true,
  "display": {
    "imageUrl": "https://example.com/card-art.png"
  },
  "card": {
    "source": {
      "type": "basis-theory-token",
      "id": "01GZ1S0F2K3M4N5P6Q7R8S9T0V"
    },
    "brand": "visa",
    "last4": "4242",
    "expiration": {
      "month": "12",
      "year": "2030"
    },
    "billing": {
      "name": "Jane Doe"
    },
    "fundingType": "credit",
    "bin": "424242"
  }
}
This endpoint requires a JWT from an external auth provider (Auth0, Firebase, Stytch, etc.) or a custom JWT backed by a JWKS endpoint. Crossmint Auth is not supported.

Headers

X-API-KEY
string
required

API key required for authentication

Response

200 - application/json

Returns the list of payment methods

type
enum<string>
required
Available options:
card
paymentMethodId
string
required
card
object
required
default
boolean
display
object
Example:
{
"type": "card",
"paymentMethodId": "pm_8d6a4b1f-9c8a-4cba-b2c1-3a5b8c0d6f12",
"default": true,
"display": {
"imageUrl": "https://example.com/card-art.png"
},
"card": {
"source": {
"type": "basis-theory-token",
"id": "01GZ1S0F2K3M4N5P6Q7R8S9T0V"
},
"brand": "visa",
"last4": "4242",
"expiration": { "month": "12", "year": "2030" },
"billing": { "name": "Jane Doe" },
"fundingType": "credit",
"bin": "424242"
}
}