cURL
curl --request GET \ --url https://api.justpaid.io/api/v1/customer/{customer_uuid}/payment-methods \ --header 'Authorization: Bearer <token>'
{ "credit_cards": [ { "brand": "visa", "last4": "4242", "expiration_date": "12/25" } ], "ach_accounts": [ { "account_mask": "1234", "account_type": "checking", "account_name": "Primary Checking", "institution_name": "Bank of America" } ] }
Retrieves all payment methods for a customer.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Payment methods retrieved successfully
The response is of type object.
object
Was this page helpful?