POST api/Toss/TossCancelPayment
Request Information
URI Parameters
None.
Body Parameters
TossPaymentCancelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNumber | string |
Required |
|
| PaymentKey | string |
Required |
|
| CancelReason | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"PhoneNumber": "sample string 1",
"PaymentKey": "sample string 2",
"CancelReason": "sample string 3"
}
text/html
Sample:
{"PhoneNumber":"sample string 1","PaymentKey":"sample string 2","CancelReason":"sample string 3"}
application/xml, text/xml
Sample:
<TossPaymentCancelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMAPI.Models.TossPayment"> <CancelReason>sample string 3</CancelReason> <PaymentKey>sample string 2</PaymentKey> <PhoneNumber>sample string 1</PhoneNumber> </TossPaymentCancelRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.