POST v1/Generic/PaymentMethodDelete
Deletes existing Payment Method for a customer
Request Information
URI Parameters
None.
Body Parameters
PaymentMethodUpdateRequest
PaymentMethodDeleteRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId |
Provide the CustomerId |
integer |
Required |
| TokenId |
Provide the TokenId (PK - FSCustomerPaymentTokenId) |
integer |
None. |
| Token |
Provide the Token |
string |
Max length: 50 |
Remarks
None.
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"TokenId": 1,
"Token": "sample string 2"
}
application/xml, text/xml
Sample:
<PaymentMethodDeleteRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerId>1</CustomerId> <TokenId>1</TokenId> <Token>sample string 2</Token> </PaymentMethodDeleteRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>
