All pages
Powered by GitBook
1 of 1

Loading...

Get Payment Methods

Retrieve all payment methods associated with the authenticated customer.

GET /v3/customers/me/payment-methods

Request

The details below help you form your HTTP requests to this endpoint.

Headers

You may need to provide specific headers.

Name
Type
Required
Description

Response

The details below help you understand the responses you could get from this endpoint.

Samples

Below are samples of responses, with tabs corresponding to returned status code.

Schema

The response's schema is outlined below.

Name
Type
Required
Description

data[].cardBrand

string

Brand of the card

data[].lastFour

string

Last four digits of the card or account

data[].firstSix

string

First six digits of the card

data[].label

string

Label for the payment method

customer-token

string

Customer's authentication token

x-version-override

string

N/A

data

array

N/A

data[].id

string

Payment Method Id

data[].type

string

[
    {
        "id": "5910c6805bffb3590e07cc1e",
        "type": "card",
        "cardBrand": "Visa",
        "lastFour": "1234",
        "firstSix": "411111",
        "label": "My Visa Card"
    }
]

Type of payment method