curl --request GET \
--url https://api.hyperline.co/v1/customers/{id}/payment-methods/{paymentMethodId} \
--header 'Authorization: Bearer <token>'{
"id": "pm_1xMpj5bwRqN7LM",
"status": "active",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2027-11",
"brand": "<string>",
"integration": {
"entity_id": "123456789",
"provider_name": "stripe",
"provider_account_id": "acc_1234567890"
}
}Retrieve the details of an existing customer payment method.
curl --request GET \
--url https://api.hyperline.co/v1/customers/{id}/payment-methods/{paymentMethodId} \
--header 'Authorization: Bearer <token>'{
"id": "pm_1xMpj5bwRqN7LM",
"status": "active",
"type": "card",
"last_4_digits": 2718,
"expiration_date": "2027-11",
"brand": "<string>",
"integration": {
"entity_id": "123456789",
"provider_name": "stripe",
"provider_account_id": "acc_1234567890"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Payment method ID.
"pm_1xMpj5bwRqN7LM"
Payment method status.
active: The payment method is ready to be used.pending: The payment method is pending activation or being validated.active, pending, expired, errored "active"
Payment method type.
card: Credit or debit cardapple_pay: Apple Paygoogle_pay: Google Paydirect_debit_sepa: SEPA Direct Debitdirect_debit_ach: ACH Direct Debitdirect_debit_bacs: Bacs Direct Debitstripe_link: Stripe Linkcard, apple_pay, google_pay "card"
Last four digits of the card.
2718
Expiration date of the card using YYYY-MM format.
"2027-11"
Brand of the card.
"visa"
"mastercard"
"amex"
Reference to the entity in an external provider.
Show child attributes
{
"entity_id": "123456789",
"provider_name": "stripe",
"provider_account_id": "acc_1234567890"
}Was this page helpful?