latestOpenAPI 3.0.32026-08-215925112.0 MB

36be0dca14e7

api
customer-payment-methods

Get payment method for customer

get/api/customers/{customerId}/payment-methods/{id}

Path parameters

customerIdstring required

ID of the customer

ID of the customer

idstring required

The ID of the customer payment method

The ID of the customer payment method

Response

OK

_idstring required

The ID of the payment method

status'ACTIVE' | 'DELETED' | 'EXPIRED' required

The status of the payment method

sellerIdstring required

The ID of the seller this payment method

dataobject

Whether the payment method is primary

paymentDetailsobject

Whether the payment method is primary

primaryboolean required

Whether the payment method is primary

activeboolean required

Whether the payment method is primary

gatewayType'stripe' | 'paypal' | 'adyen' | 'custom' | 'cardconnect' | 'worldline' | 'shift4' | 'authorizenet' | 'wallee' | 'square' | 'payfast' | 'touchnet' | 'transact' | 'unzer' | 'monext' | 'vivenuPayments' | 'ebanx' | 'rapyd' | 'momentusPayments' | 'additional-payment-method'

The type of the payment gateway associated to this method

gatewayIdstring required

The ID of the attached payment gateway or additional payment method

createdAtstring date-time

The created ISO timestamp

updatedAtstring date-time

The last updated ISO timestamp