GET
/
api
/
v1
/
customer
/
{customer_uuid}
/
payment-methods
Customer Payment Methods Get Api
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_uuid
string
required

Response

200
application/json

Payment methods retrieved successfully

The response is of type object.