The get customer payment methods call allows retrieval of masked payment method information. NOTE: This only returns the last four digits of the credit card.
URL | https://[host].accumulus.com/json/customers/[customerID]/paymentmethods |
---|---|
HTTP Method | GET |
Query String Parameters |
Example
GET https://[host].accumulus.com/json/customers/[CustomerID]/paymentmethods
Response Body
{ "Message":"SUCCESS", "BankAccounts": "", "BillingAgreements":"", "CreditCards": [{ "AccountNumber":"XXXXXXXXXXXXXXXX1111", "AddressLine1":"Billing Lane 1", "AddressLine2":"Suite 400", "CVCode":null, "City":"Portland", "CountryCode":"USA", "ExpirationDate":"1211", "FirstName":"Allen", "IPAddress":"", "LastName":"Fabrico", "PaymentMethodKey":"b1b8568f-8f0a-4b9e-8163-a3ee982e6fb9", "PostalCode":"97229", "StateProvince":"OR" }] }