POST api/DeletePayment
Deletes a stored credit card payment method.
Request Information
URI Parameters
None.
Body Parameters
DeletePaymentRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
Required |
|
ConstituentId | integer |
Required |
|
PaymentId | integer |
Required |
|
TransactionOrigin | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "ConstituentId": 2, "PaymentId": 3, "TransactionOrigin": "sample string 4" }
application/xml, text/xml
Sample:
<DeletePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <ConstituentId>2</ConstituentId> <PaymentId>3</PaymentId> <SessionKey>sample string 1</SessionKey> <TransactionOrigin>sample string 4</TransactionOrigin> </DeletePaymentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SetPaymentResult object
ApiSuccessOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | boolean |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": true }
application/xml, text/xml
Sample:
<ApiSuccessOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data>true</Data> </ApiSuccessOfboolean>