Skip to main content

customerPaymentMethods

Lists the saved payment methods of one customer of the current account, in no set order and not paged. The list holds the payment methods saved for reuse and the sequence payment methods of recurring payments (sequence: true). An expired payment method is not listed. A customer that is not found returns a Customer not found error. Arguments: - customerId: Customer ID.

customerPaymentMethods(
customerId: ID!
): [CustomerPaymentMethod!]!

Arguments​

customerPaymentMethods.customerId ● ID! non-null scalar​

Type​

CustomerPaymentMethod object​

A payment method saved to a customer. A successful payment that names the customer in customerId saves one when it sets generatePaymentToken, or when it is the first payment of a recurring sequence. Only card, Bizum and SEPA payment methods are saved. Full card numbers and IBANs are never returned: a card or a SEPA account shows only its last four digits. A Bizum payment method shows its phone number.