Skip to main content
GET
Get current customer's saved Shopify payment methods

Query Parameters

allowRevokedMethod
boolean
default:false

Response

200 - application/json

The signed-in customer's saved payment methods, in the same shape as the Admin API's customer payment methods endpoint. The body is empty when Appstle couldn't read them 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.