APIs for managing Shopify delivery profiles, shipping rates, zones, and free shipping configuration for subscription memberships
External (0.0.1)
Download OpenAPI description
Languages
Servers
https://membership-admin.appstle.com
Request
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
- https://membership-admin.appstle.com/api/external/v2/customer-payments/token/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://membership-admin.appstle.com/api/external/v2/customer-payments/token/123456789?api_key=string' \
-H 'X-API-Key: string'Response
application/json
{ "customerId": 0, "token": "string" }