curl --request GET \
--url https://api.hyperline.co/v1/customers/{id}/payment-methods \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "pm_1xMpj5bwRqN7LM",
"status": "active",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2027-11",
"brand": "visa"
}
]
}Retrieve payment methods attached to a customer.
curl --request GET \
--url https://api.hyperline.co/v1/customers/{id}/payment-methods \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "pm_1xMpj5bwRqN7LM",
"status": "active",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2027-11",
"brand": "visa"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
List of PaymentMethod.
Default payment method of the customer. Only applies to card and direct debit.
Show child attributes
Was this page helpful?