Fetch customer's 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', '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.

Language
Authentication
Header
Click Try It! to start a request and see the response here!