POST check/{code}/deletepayment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
PaymentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentId": 1
}

application/xml, text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Models">
  <PaymentId>1</PaymentId>
</PaymentModel>

Response Information

Resource Description

DeletePaymentResponse
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorString": "sample string 2"
}

application/xml, text/xml

Sample:
<DeletePaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Responses">
  <ErrorCode>1</ErrorCode>
  <ErrorString>sample string 2</ErrorString>
</DeletePaymentResponse>