get_customer_payment_methods
Retrieve a customer's stored payment methods from Shopify. Use customer ID to list saved cards or payment options, with pagination support.
Instructions
Fetch stored payment methods for a customer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>"
},
"name": "get_customer_payment_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of methods to fetch (1-250, default: 50) | |
| customerId | Yes | Customer ID |