The update payment method call allows updating of an existing payment method.
URL | https://[host].accumulus.com/json/paymentmethods/[paymentMethodKey] |
---|---|
HTTP Method | PUT |
Query String Parameters |
Example
PUT https://[host].accumulus.com/json/paymentmethods/dc4a5801-e240-4dcc-b3b2-9d2eb8d9bf6c
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", "PaymentMethodKey":"dc4a5801-e240-4dcc-b3b2-9d2eb8d9bf6c" "PostalCode":"97229", "StateProvince":"OR" } }
Response Body
{ "Message":"SUCCESS", "PaymentMethodKey":"dc4a5801-e240-4dcc-b3b2-9d2eb8d9bf6c" }