get https://mediastoreapi-sandbox.cleeng.com/customers//payment_details
Use customers/:customerId/payment_details endpoint to fetch a customer payment details. Payment details hold selected information (e.g. card expiration date) of the complete set of payment details or tokens to reference this data.
Response description
| Response | Description |
|---|---|
| id | Customer payment details ID |
| customerId | Customer identifier at Cleeng |
| paymentGateway | Used payment gateway, eg. 'adyen', 'paypal', 'roku', 'amazon', 'android', 'apple' |
| paymentMethod | Used payment method, eg. 'card', 'applepay', 'googlepay', 'ideal', 'paypal', 'roku', 'amazon', 'android', 'apple' |
| paymentMethodSpecificParams | Details specified for particular payment methods, eg. for Paypal: payerId, holderName, for card: variant, lastCardFourDigits, holderName, cardExpirationDate, socialSecurityNumber |
| paymentMethodId | Publisher payment method Id |
| active | Defines if recurring is triggered by Cleeng |
| bound | Defines if payment details are connected with an externally managed subscription. Such payment details should be managed in the application in which a purchase has been made. |
| subscriptionIds | Identifiers of subscriptions for which given payment details were used. |
NoteUser payment details for Apple Pay transactions will display placeholders instead of cardholder names or addresses.
