POST api/spdcl/txnreversalrequest

Request Information

URI Parameters

None.

Body Parameters

ReverseRequest
NameDescriptionTypeAdditional information
txnId

string

None.

remark

string

None.

receiptNo

string

None.

ImageData

string

None.

Request Formats

application/json, text/json

Sample:
{
  "txnId": "sample string 1",
  "remark": "sample string 2",
  "receiptNo": "sample string 3",
  "ImageData": "sample string 4"
}

application/xml, text/xml

Sample:
<ReverseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SB_Mobile_OrangePay.Models">
  <ImageData>sample string 4</ImageData>
  <receiptNo>sample string 3</receiptNo>
  <remark>sample string 2</remark>
  <txnId>sample string 1</txnId>
</ReverseRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReverseRequestRes
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ErrorMessage

string

None.

ReverseId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ErrorMessage": "sample string 2",
  "ReverseId": "sample string 3"
}

application/xml, text/xml

Sample:
<ReverseRequestRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SB_Mobile_OrangePay.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <ResponseCode>1</ResponseCode>
  <ReverseId>sample string 3</ReverseId>
</ReverseRequestRes>