请求URL

  • https://gateway.pay247.io/gateway/payin/query

请求方式

  • POST

请求参数

参数名必选类型说明
mch_idstring商户号
mch_order_nostring商户订单号
timestampstringunix时间戳
versionstring接口版本: v1.0
uuidstring请求ID: 550e8400-e29b-41d4-a716-446655440000
signstring最后追加的签名

响应参数:

参数名必选类型说明
mch_order_nostring商户订单号
statusstring支付状态 PENDING:等待支付; DEALING:处理中;CLOSED:订单超时关闭; SUCCESS:转账成功;FAIL:失败; REFUND 退款;
currencystring订单币种
amountstring订单金额

返回示例

{
	"code": 0,
	"message": "Success",
	"timestamp": 1594099906123,
	"uuid": "7eb3c9e-5a1d-4a19-be2a-c80eac39830a",
	"data": {
		"mch_id": "MCH12345678",
		"mch_order_no": "Test20200707042747519753974848",
		"order_no": "P20200707042747519753974832",
		"currency": "USD",
		"amount": "99.11",
		"pay_method": "BANK",
		"pay_theme": "link",
		"fee": "1.99",
		"pay_url": "https://pay.xxx.com/link/DyDpCjDfkr",
		"status": "SUCCESS"
	}
}