App.Iap.Verify
Apple IAP receipt verify

接口地址:https://api.cleanbox.top/?s=App.Iap.Verify

请求方式  GET/POST

接口描述://请使用@desc 注释

接口参数

参数名字类型是否必须默认值其他说明
order_no字符串必须Order No
receipt_data字符串必须Base64 receipt
product_id字符串可选Product ID
transaction_id字符串可选Transaction ID
environment字符串可选productionproduction|sandbox

返回结果

参数名字类型说明
status整型Apple status code
message字符串Status message
environment字符串production|sandbox
product_id字符串Product ID
transaction_id字符串Transaction ID
original_transaction_id字符串Original transaction ID
purchase_date_ms字符串Purchase date (ms)
expires_date_ms字符串Expire date (ms, subscription only)
is_trial_period字符串Trial period flag
is_in_intro_offer_period字符串Intro offer flag

错误列表

错误状态码错误描述信息
400表示客户端参数错误
404表示接口服务不存在
500表示服务端内部错误

在线测试   

参数是否必须
service 必须
order_no 必须
receipt_data 必须
product_id 可选
transaction_id 可选
environment 可选

客户端请求示例

# 暂无示例,可添加示例文件:./src/view/docs/demos/App.Iap.Verify.json
温馨提示: 此接口文档根据接口代码和注释实时自动生成,帮助文档请见PhalApi 2.x 开发文档