# Get customer payment token information Retrieves payment method token information for a specific customer. This endpoint returns the customer's stored payment tokens used for recurring subscription billing. Key Information Returned: - Customer ID: Shopify customer identifier - Payment Tokens: List of stored payment method tokens - Payment Method Details: Last 4 digits, card type, expiration - Default Payment Method: Primary payment method for subscriptions - Token Status: Active, expired, or failed payment methods - Payment Gateway: Stripe, Shopify Payments, etc. Payment Token Information: - Token ID: Unique identifier for the payment method - Card Brand: Visa, Mastercard, Amex, etc. - Last 4 Digits: Masked card number ending - Expiry Date: Card expiration month and year - Billing Address: Associated billing address details - Created Date: When payment method was added Use Cases: - Display saved payment methods in customer portal - Validate payment method availability before billing - Allow customers to select from existing payment methods - Sync payment data with external CRM or billing systems - Build custom payment management interfaces - Trigger payment update reminders for expiring cards Security Note: This endpoint only returns tokenized payment information. Full card numbers are never exposed via the API. Authentication: Requires API key authentication via X-API-Key header or api_key parameter Endpoint: GET /api/external/v2/customer-payments/token/{customerId} Version: 0.0.1 ## Path parameters: - `customerId` (integer, required) Shopify customer ID Example: 123456789 ## Query parameters: - `api_key` (string) API Key (Deprecated - Use Header X-API-Key instead) ## Header parameters: - `X-API-Key` (string) API Key for authentication (Preferred method - use this instead of api_key parameter) ## Response 200 fields (application/json): - `customerId` (integer) - `token` (string) ## Response 401 fields (*/*): - `customerId` (integer) - `token` (string) ## Response 403 fields (*/*): - `customerId` (integer) - `token` (string) ## Response 404 fields (*/*): - `customerId` (integer) - `token` (string)