Development instructions
API Protocol
All interfaces use https protocolParameter format
Data format: Both request and response data are in JSON format.
Please set the Content-Type of the Header to application/json.
Encoding format: UTF-8API Request header parameter description
Name
Type
Required
Descrption
x-api-key
string
yes
appkey【Please go to the merchant backend to obtain】
x-api-uid
string
optional
Unique identification of platform user Required in: /api/v1/payin/order /api/v1/payout/order
x-api-nonce
string
yes
random string
x-api-timestamp
int(10)
yes
Unix timestamp time
x-api-signature
string
yes
Signature Hash value
API Response structure
1. successful response
{
"code": 0,// Represents success, non-0 represents failure
"msg": "ok",// Response description
"data": { // response parameter structure
"fileds": "vule",
}
}2. Failure response
{
"code": 1,// 0 represents success, non-0 represents failure
"msg": "error message",// Response description
"data": null // response parameter structure
}Last updated