List payment methods
API documentation
Integrations
Analytics
Billable events
Companies
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoicing entities
Organisations
Payments
Price configurations
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
List payment methods
List all payment methods attached to a customer.
GET
/
v1
/
customers
/
{id}
/
payment-methods
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",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2026-11",
"brand": "visa"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
List of PaymentMethod.
Payment method ID.
Type of payment method.
card
: Credit or debit carddirect_debit_sepa
: SEPA Direct Debitdirect_debit_ach
: ACH Direct Debit with an US bank accountdirect_debit_bacs
: Bacs Direct Debit with an UK bank accounttransfer
: Bank transfer on an external bank account (manual reconciliation)transfer_automated
: Bank transfer with automated reconciliationexternal
: Payment method managed outside of Hyperline
Available options:
card
Last four digits of the card.
Expiration date of the card using YYYY-MM format.
Brand of the card.
Was this page helpful?
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",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2026-11",
"brand": "visa"
}
]
}