The create customer payment method call allows creation of a new payment method for the specified customer.
URL | https://[host].accumulus.com/json/customers/[CustomerID]/paymentmethods |
---|---|
HTTP Method | POST |
Query String Parameters |
Example
POST https://[host].accumulus.com/json/customers/12093/paymentmethods
Request Body
{ "CreditCard" : { "AccountNumber":"41111111111111111111", "AddressLine1":"Billing Lane 1", "AddressLine2":"Suite 400", "CVCode":"123", "City":"Portland", "CountryCode":"USA", "ExpirationDate":"1211", "FirstName":"Test", "IPAddress":"", "LastName":"Customer", "PostalCode":"97229", "StateProvince":"OR" } }
Response Body
{ "Message":"SUCCESS", "PaymentMethodKey":"dc4a5801-e240-4dcc-b3b2-9d2eb8d9bf6c" }