POST {version}/Pay/ApplePayNotify

苹果充值成功后通知

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ApplePayNotifyModel
NameDescriptionTypeAdditional information
receipt

支付票据

string

None.

rechargeId

我方支付单号

string

None.

Request Formats

application/json, text/json

Sample:
{
  "receipt": "sample string 1",
  "rechargeId": "sample string 2"
}

application/xml, text/xml

Sample:
<ApplePayNotifyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eshikao.Models">
  <receipt>sample string 1</receipt>
  <rechargeId>sample string 2</rechargeId>
</ApplePayNotifyModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApplePayNotifyModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />