POST api/admin/refund
Request Information
URI Parameters
None.
Body Parameters
RefundRequestName | Description | Type | Additional information |
---|---|---|---|
chargeId | string |
None. |
|
amount | decimal number |
None. |
|
reason | string |
None. |
|
refundMetadataNote | string |
None. |
|
homeasapRefundReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "chargeId": "sample string 1", "amount": 1.0, "reason": "sample string 2", "refundMetadataNote": "sample string 3", "homeasapRefundReason": "sample string 4" }
text/html
Sample:
{"chargeId":"sample string 1","amount":1.0,"reason":"sample string 2","refundMetadataNote":"sample string 3","homeasapRefundReason":"sample string 4"}
application/xml, text/xml
Sample:
<RefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models"> <Amount>1</Amount> <ChargeId>sample string 1</ChargeId> <HomeasapRefundReason>sample string 4</HomeasapRefundReason> <Reason>sample string 2</Reason> <RefundMetadataNote>sample string 3</RefundMetadataNote> </RefundRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.