POST MobilePay/RefundPayment
Refund MobilePay payment
Request Information
URI Parameters
None.
Body Parameters
RequestMobilePayRefundPayment| Name | Description | Type | Additional information |
|---|---|---|---|
| AgreementID | string |
None. |
|
| PaymentID | string |
None. |
|
| ExternalID | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgreementID": "sample string 1",
"PaymentID": "sample string 2",
"ExternalID": "sample string 3",
"Amount": 4.0
}
text/html
Sample:
{"AgreementID":"sample string 1","PaymentID":"sample string 2","ExternalID":"sample string 3","Amount":4.0}
application/xml, text/xml
Sample:
<RequestMobilePayRefundPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <AgreementID>sample string 1</AgreementID> <Amount>4</Amount> <ExternalID>sample string 3</ExternalID> <PaymentID>sample string 2</PaymentID> </RequestMobilePayRefundPayment>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Success| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true
}
text/html
Sample:
{"success":true}
application/xml, text/xml
Sample:
<Success xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <success>true</success> </Success>