Skip to main content
GET
Get customer payment methods from Shopify

Headers

X-API-Key
string

Path Parameters

customerId
integer<int64>
required

The customer's numeric Shopify ID, for example 6789012345678, not the gid://shopify/Customer/... form.

Query Parameters

allowRevokedMethod
boolean
default:false

true also returns revoked payment methods. Defaults to false.

Response

The customer's payment methods. The body is empty when the store has no customer with that ID, or when Appstle couldn't read the payment methods from Shopify.

A customer's saved payment methods, read from Shopify.

__typename
string

Always CustomerPaymentMethodConnection.

Example:

"CustomerPaymentMethodConnection"

nodes
object[]

The customer's saved payment methods, or an empty array when the customer has none. Revoked methods are included only when allowRevokedMethod is true.

pageInfo
object

Paging information from Shopify.