v1

latestOpenAPI 3.1.02026-07-222392081.7 MB
Customers > Payment methods

Get payment method

Retrieve the details of an existing customer payment method.

get/v1/customers/{id}/payment-methods/{paymentMethodId}

Path parameters

idstring required
paymentMethodIdstring required

Response

OR
OR
OR
OR
OR

Example response

{
  "id": "pm_1xMpj5bwRqN7LM",
  "status": "active",
  "type": "card",
  "last_4_digits": 2718,
  "expiration_date": "2027-11",
  "brand": "visa",
  "integration": {
    "entity_id": "123456789",
    "provider_name": "stripe",
    "provider_account_id": "acc_1234567890"
  }
}