curl --request POST \
--url https://api.kyrenpay.com/epay/api.php \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data act=order \
--data pid=merch_001 \
--data key=merchant_raw_api_key \
--data out_trade_no=order_20260409002{
"code": 1,
"msg": "查询订单号成功!",
"trade_no": "order_epay_001",
"out_trade_no": "order_20260409002",
"type": "wxpay",
"pid": "merch_001",
"addtime": "2026-04-09 06:10:20",
"endtime": "2026-04-09 06:11:08",
"name": "AI Credits 1000",
"money": "9.99",
"status": 1,
"param": "user_42",
"buyer": ""
}api.php (order query/refund compatibility endpoint)
Executes compatibility operations with act.
act=order: query order status/result.act=refund: submit a refund for an eligible Epay-source order.
Paydify 订单仍通过 act=order 查询本地权威状态,type=crypto,money 保持原商品计价金额。
code=1 表示请求成功;只有本地 PAID/SETTLED 对应 status=1,其余为 0。
Paydify 经上游验签查询确认后沿用易支付成功通知;浏览器回跳不是付款证据。
本次 Paydify 接入不新增退款能力,不能由通用 act=refund 推断该渠道支持退款。
This endpoint also accepts GET with the same parameters.
curl --request POST \
--url https://api.kyrenpay.com/epay/api.php \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data act=order \
--data pid=merch_001 \
--data key=merchant_raw_api_key \
--data out_trade_no=order_20260409002{
"code": 1,
"msg": "查询订单号成功!",
"trade_no": "order_epay_001",
"out_trade_no": "order_20260409002",
"type": "wxpay",
"pid": "merch_001",
"addtime": "2026-04-09 06:10:20",
"endtime": "2026-04-09 06:11:08",
"name": "AI Credits 1000",
"money": "9.99",
"status": 1,
"param": "user_42",
"buyer": ""
}Body
Response
Epay-compatible operation result
- Option 1
- Option 2
- Option 3
Types for the 21 live payment methods available through submit.php and mapi.php. Use the recommended lowercase types below. Type matching is case-insensitive; sign the original value sent. Queries and notifications return the recommended type. Availability depends on enabled merchant channels, bindings, supported currencies and amount limits.
| Payment method | Recommended type | Accepted aliases |
|---|---|---|
| Alipay | alipay | — |
| AlipayHK | alipay_hk | alipayhk, alihk |
| Boost | boost | — |
| Credit card | creditcard | credit_card |
| Cryptocurrency | crypto | — |
| DANA | dana | — |
| JKOPay | jkopay | — |
| Mir | mir | — |
| OVO SNAP | ovo | — |
| PAYCO | payco | — |
| PayNow | paynow | — |
| Samsung Pay | samsungpay | samsung_pay |
| Sber Pay | sberpay | sber_pay |
| SBP | sbp | — |
| ShopeePay | shopeepay | — |
| Toss Pay | tosspay | toss_pay |
| Touch ’n Go eWallet | touch_n_go_ewallet | touchngo, tng |
| T-Pay | t_pay | tpay |
| USDT Direct | usdt_direct | — |
| WeChat Pay | wxpay | — |
| YooMoney | yoomoney | yoo_money |
crypto uses the existing merchant binding to Paydify or legacy Satogate.
usdt_direct is the separate USDT Direct method and only routes to Satogate.
Provider names such as paydify, satogate, and evonet are not valid types.
alipay, alipay_hk, boost, creditcard, crypto, dana, jkopay, mir, ovo, payco, paynow, samsungpay, sberpay, sbp, shopeepay, tosspay, touch_n_go_ewallet, t_pay, usdt_direct, wxpay, yoomoney, alipayhk, alihk, credit_card, samsung_pay, sber_pay, toss_pay, touchngo, tng, tpay, yoo_money 