POST api/LaKaLaPay/pay?shopno={shopno}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopno | string |
Required |
Body Parameters
LaKaLaPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| auth_code | string |
None. |
|
| total_amount | string |
None. |
|
| busi_mode | string |
None. |
|
| subject | string |
None. |
|
| pay_order_no | string |
None. |
|
| notify_url | string |
None. |
|
| settle_type | string |
None. |
|
| remark | string |
None. |
|
| scan_type | string |
None. |
|
| location_info | LaKaLaLocationInfo |
Required String length: inclusive between 1 and 128 |
|
| merchant_no | string |
Required String length: inclusive between 0 and 32 |
|
| term_no | string |
Required String length: inclusive between 0 and 32 |
|
| out_trade_no | string |
Required String length: inclusive between 0 and 32 |
Request Formats
application/json, text/json
Sample:
{
"auth_code": "sample string 1",
"total_amount": "sample string 2",
"busi_mode": "sample string 3",
"subject": "sample string 4",
"pay_order_no": "sample string 5",
"notify_url": "sample string 6",
"settle_type": "sample string 7",
"remark": "sample string 8",
"scan_type": "sample string 9",
"location_info": {
"request_ip": "sample string 1",
"location": "+37.123456789,-121.123456789"
},
"merchant_no": "sample string 10",
"term_no": "sample string 11",
"out_trade_no": "sample string 12"
}
application/xml, text/xml
Sample:
<LaKaLaPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LG.Utils">
<MerchantNo>sample string 10</MerchantNo>
<OutTradeNo>sample string 12</OutTradeNo>
<TerminalNo>sample string 11</TerminalNo>
<AuthCode>sample string 1</AuthCode>
<BusiMode>sample string 3</BusiMode>
<LocationInfo>
<RequestIp>sample string 1</RequestIp>
</LocationInfo>
<NotifyUrl>sample string 6</NotifyUrl>
<PayOrderNo>sample string 5</PayOrderNo>
<Remark>sample string 8</Remark>
<ScanType>sample string 9</ScanType>
<SettleType>sample string 7</SettleType>
<Subject>sample string 4</Subject>
<TotalAmount>sample string 2</TotalAmount>
</LaKaLaPaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.