get_customer_payment_methods

Payment methods the account can pay with

Billing.get_customer_payment_methods(selector=None, **kwargs) → ApiResponse

Lists the ways this account can pay.

Query

  • criteriaType (string): required. PAY_NOW or AUTO_PAY. The service answers 400 Value null at 'criteriaType' failed to satisfy constraint when it is missing. It does not go in the body; this route takes no body.

Returns

ApiResponse carrying five lists, always the same five, some empty:

  • creditCardPaymentMethods

  • externalDeductFromPaymentPaymentMethods

  • externalPayByInvoicePaymentMethods

  • payByInvoicePaymentMethods

  • sellerPayablePaymentMethods

A card entry carries brand, tail (the last four digits), expiryDetails with month and year, eligibleCountries and an instrumentId that identifies the instrument for later calls. Treat the instrumentId as a credential.