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.
Full behavior, validation rules, and side effects
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
Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Headers
API Key for authentication (Preferred method - use this instead of api_key parameter)
Path Parameters
Shopify customer ID
Query Parameters
API Key (Deprecated - Use Header X-API-Key instead)