Returns the default payment method for a customer.
Successful operation. Returns information about a customer's default payment method.
The customer record does not exist.
Internal server error.
curl -i -X GET \ 'https://toast-api-server/v1/customers/{id}/payment-methods/defaults/{contextName}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Toast-Restaurant-External-ID: string' \ -H 'Toast-Session-Secret: string'
{- "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
- "contextName": "string"
}