POST api/v_2_0_0/paypal/Postnotify?ordernumber={ordernumber}&pay_method={pay_method}¤cy={currency}&total_fee={total_fee}
paypal异步支付回调(post)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ordernumber |
订单号 |
string |
None. |
| pay_method | string |
None. |
|
| currency |
币种 |
string |
None. |
| total_fee | decimal number |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
1-成功,5-签名验证失败,9-登录超时,0-程序错误,2-提示信息 |
integer |
None. |
| message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Areas.webApi.Models"> <code>1</code> <message>sample string 2</message> </ApiResult>