v1

latestOpenAPI 3.0.12026-07-24168217310.4 KB
PaymentMethods

Get a customer's other payment methods from the payment gateway

get/Sites/{siteId}/OtherPaymentMethods/{customerId}/{paymentMethodType}

Path parameters

siteIdinteger required

The site identifier

customerIdstring required

The customer identifier

paymentMethodType'Stripe' | 'AuthorizeNet' | 'Test' | 'PayPal' | 'Braintree' | 'CyberSource' | 'Undefined' | 'Other' | 'Nmi' | 'PayaV1' | 'TrustCommerce' | 'Square' | 'Sage' | 'CyberSourceV2' | 'Checkout' | 'PaypalV2' | 'Shopify' | 'PayPalV3' | 'Airwallex' required

The PaymentMethodType enum

Response

Success

idinteger
customerIdinteger
type'Stripe' | 'AuthorizeNet' | 'Test' | 'PayPal' | 'Braintree' | 'CyberSource' | 'Undefined' | 'Other' | 'Nmi' | 'PayaV1' | 'TrustCommerce' | 'Square' | 'Sage' | 'CyberSourceV2' | 'Checkout' | 'PaypalV2' | 'Shopify' | 'PayPalV3' | 'Airwallex'
gatewayCustomerIdstring nullable
gatewayPaymentIdstring nullable
lastFourDigitsstring nullable
expirationstring nullable
descriptionstring nullable
billingFirstNamestring nullable
billingLastNamestring nullable
billingStreet1string nullable
billingStreet2string nullable
billingCitystring nullable
billingStatestring nullable
billingPostcodestring nullable
billingCountrystring nullable
billingCompanystring nullable
createdUtcstring date-time
updatedUtcstring date-time
expirationDatestring date-time nullable
isDefaultboolean required
gatewayPaymentType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
status'Active' | 'Expired' | 'Revoked' | 'Invalid'
encryptedCardVaultIdinteger nullable
vaultProviderstring nullable