Apple IAP receipt verify
接口描述://请使用@desc 注释
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| order_no | 字符串 | 必须 | Order No | ||
| receipt_data | 字符串 | 必须 | Base64 receipt | ||
| product_id | 字符串 | 可选 | Product ID | ||
| transaction_id | 字符串 | 可选 | Transaction ID | ||
| environment | 字符串 | 可选 | production | production|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
接口,从简单开始!
© 2015-2026 Powered By PhalApi开源接口框架 2.23.0
专业版