get_customer_payment_method
Retrieve a specific payment method for a customer by providing both the customer ID and payment method ID.
Instructions
Get a single payment method by ID. GET /customers/{customerId}/paymentmethods/{paymentMethodId}.
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>",
"paymentMethodId": "<paymentMethodId>"
},
"name": "get_customer_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Customer ID (required) | |
| paymentMethodId | Yes | Payment method ID (required) |