Skip to main content
GET
/
customers
/
{customer_id}
/
payment-methods
Retrieve Enrolled Payment Methods
curl --request GET \
  --url https://api-sandbox.y.uno/v1/customers/{customer_id}/payment-methods \
  --header 'private-secret-key: <api-key>' \
  --header 'public-api-key: <api-key>'
{
  "payment_methods": [
    {
      "idempotency_key": null,
      "name": "VISA ****1111",
      "description": "VISA ****1111",
      "icon": "https://icons.prod.y.uno/visa_logosimbolo.png",
      "type": "CARD",
      "category": "CARD",
      "country": "US",
      "status": "ENROLLED",
      "sub_status": null,
      "vaulted_token": "46adcbc0-aa26-4867-a4e7-28a5ad9100ae",
      "callback_url": null,
      "action": null,
      "redirect_url": null,
      "created_at": "2023-08-05T14:22:06.766268Z",
      "updated_at": "2023-08-05T14:22:06.766268Z",
      "card_data": {
        "iin": "41111111",
        "lfd": "1111",
        "expiration_month": 3,
        "expiration_year": 27,
        "number_length": 16,
        "security_code_length": 3,
        "brand": "VISA",
        "issuer": null,
        "issuer_name": "JPMORGAN_CHASE_BANK_NA",
        "issuer_code": "US_JPMORGAN_CHASE_BANK_NA",
        "category": null,
        "type": "CREDIT"
      },
      "last_successfully_used": false,
      "last_successfully_used_at": ""
    },
    {
      "idempotency_key": null,
      "name": "VISA ****1111",
      "description": "VISA ****1111",
      "icon": "https://icons.prod.y.uno/visa_logosimbolo.png",
      "type": "CARD",
      "category": "CARD",
      "country": "US",
      "status": "ENROLLED",
      "sub_status": null,
      "vaulted_token": "7ced7717-f860-4705-a376-58a714953de9",
      "callback_url": null,
      "action": null,
      "redirect_url": null,
      "created_at": "2023-08-05T14:45:24.112621Z",
      "updated_at": "2023-08-05T14:45:24.112621Z",
      "card_data": {
        "iin": "41111111",
        "lfd": "1111",
        "expiration_month": 3,
        "expiration_year": 27,
        "number_length": 16,
        "security_code_length": 3,
        "brand": "VISA",
        "issuer": null,
        "issuer_name": "JPMORGAN_CHASE_BANK_NA",
        "issuer_code": "US_JPMORGAN_CHASE_BANK_NA",
        "category": null,
        "type": "CREDIT"
      },
      "last_successfully_used": false,
      "last_successfully_used_at": ""
    }
  ]
}
Get the list of payment methods the user has enrolled.

Authorizations

public-api-key
string
header
default:<Your public-api-key>
required
private-secret-key
string
header
default:<Your private-secret-key>
required

Path Parameters

customer_id
string
required

The unique identifier of the customer, created using the Create Customer endpoint (MAX 64; MIN 36).

Response

200

payment_methods
object[]