POST api/Toss/TossPayment
Request Information
URI Parameters
None.
Body Parameters
TossPaymentPayRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | string |
Required |
|
| PhoneNumber | string |
Required |
|
| Amount | integer |
Required |
|
| CardID | integer |
None. |
|
| BillingKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "sample string 1",
"PhoneNumber": "sample string 2",
"Amount": 3,
"CardID": 4,
"BillingKey": "sample string 5"
}
text/html
Sample:
{"OrderID":"sample string 1","PhoneNumber":"sample string 2","Amount":3,"CardID":4,"BillingKey":"sample string 5"}
application/xml, text/xml
Sample:
<TossPaymentPayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMAPI.Models.TossPayment"> <Amount>3</Amount> <BillingKey>sample string 5</BillingKey> <CardID>4</CardID> <OrderID>sample string 1</OrderID> <PhoneNumber>sample string 2</PhoneNumber> </TossPaymentPayRequest>
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.