Skip to main content
POST

Body

application/x-www-form-urlencoded
act
enum<string>
required

API action.

Available options:
order,
refund
pid
string
required

Merchant ID

key
string
required

Merchant raw API key (not encrypted key)

out_trade_no
string

Merchant order number. Required when trade_no is not provided.

trade_no
string

Platform order ID. Required when out_trade_no is not provided.

money
string

Required for act=refund. Refund amount as a decimal string.

refund_no
string

Optional merchant refund number for act=refund; used for idempotency when provided.

reason
string

Optional refund reason for act=refund.

Response

Epay-compatible operation result

code
enum<integer>
required
Available options:
1
status
enum<integer>
required

1 means paid/settled; 0 means not paid

Available options:
0,
1
msg
string
trade_no
string
out_trade_no
string
type
enum<string>

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.

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.

Available options:
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
pid
string
addtime
string

UTC datetime string, format yyyy-MM-dd HH:mm:ss

endtime
string

UTC datetime string, empty when unpaid

name
string
money
string
param
string
buyer
string

Reserved field, currently empty string