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

Request Header:

"Content-Type":"application/json;charset=UTF-8"

Request Header:

"Content-Type":"application/json;charset=UTF-8"

Timezone

The timezone used by the API is UTC+8

Common parameters

  • common request parameters
ParameterMustTypeExplanationExample
mch_idYESstringMerchant IDSVSPYS63XM10042
timestampYESintTimestamp1594047539321
versionYESstringVersionv1.0
uuidYESstringRequest ID550e8400-e29b-41d4-a716-446655440000
signYESstringSignatureb05a16b1e92aa4948e164b747b5749b4
  • common response parameters
ParameterMustTypeExplanationExample
codeYESintcode , see dict below0
messageYESstringmessagesuccess
uuidYESstringrequest uuid550e8400-e29b-41d4-a716-446655440000
timestampYESinttimestamp1599047539321
dataYESmixeddata

Dict

  • code
codeExplanation
0success
4000Invaild Paramters
4001The mch order no is repeated
4040The mch order not exist
5000System error, if your order is payout, should call the payout query api to check the order
  • pay_theme
valueExplanation
linkSystem default cashier
customMerchant custom cashier,will return bank cards to merchant.