POST v1/Generic/PaymentMethodDelete

Request Information

URI Parameters

None.

Body Parameters

PaymentMethodDeleteRequest
NameDescriptionTypeAdditional information
CustomerId

integer

Required

TokenId

integer

None.

Token

string

Max length: 50

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PaymentMethodDeleteRequest'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>