This document is the only official documentation for Pay247. Updates to the capabilities provided by the Pay247 API will be continuously published here, so please stay tuned.
Request Method: POST
"Content-Type":"application/json;charset=UTF-8"
"Content-Type":"application/json;charset=UTF-8"
Timezone
The timezone used by the API is UTC+8
Common parameters
- common request parameters
Parameter | Must | Type | Explanation | Example |
---|
mch_id | YES | string | Merchant ID | SVSPYS63XM10042 |
timestamp | YES | int | Timestamp | 1594047539321 |
version | YES | string | Version | v1.0 |
uuid | YES | string | Request ID | 550e8400-e29b-41d4-a716-446655440000 |
sign | YES | string | Signature | b05a16b1e92aa4948e164b747b5749b4 |
- common response parameters
Parameter | Must | Type | Explanation | Example |
---|
code | YES | int | code , see dict below | 0 |
message | YES | string | message | success |
uuid | YES | string | request uuid | 550e8400-e29b-41d4-a716-446655440000 |
timestamp | YES | int | timestamp | 1599047539321 |
data | YES | mixed | data | |
Dict
code | Explanation |
---|
0 | success |
4000 | Invaild Paramters |
4001 | The mch order no is repeated |
4002 | The order amount does not meet the limit requirements. |
4040 | The mch order not exist |
5000 | System error, if your order is payout, should call the payout query api to check the order |
5001 | Insufficient wallet balance for payout |
value | Explanation |
---|
link | System default cashier |
custom | Merchant custom cashier,will return bank cards to merchant. |