Skip to main content

8.1.1 Obtain legal currency payment channels

#Brief description: Obtain fiat currency online payment (recharge) channels

Query parameters

Parameter nameTypeRequiredParameter meaningParameter description
keystringYesMerchant keyapiKey
merchantIdstringYesMerchant IDPlease contact the operation to obtain it or log in to the merchant backend to obtain it
currencystringYesCurrencyLegal currency Default CNY
signstringYesSignatureSee Signature Algorithm for details
Request json sample
{
"key": "dNNTJZpgFVWlYrVv",
"merchantId": "302992856974",
"currency": "CNY",
"sign": "916a6e145819ee0d4bf1b8ab455583b0"
}

Response json example

{
"code": 0,
"success": true,
"message": null,
"data": [
{
"channelCode": "777",
"name": "M支付-支付宝代收",
"currency": "CNY",
"tradeMethod": "BANK",
"level": 7,
"limitType": "RANGE",
"limitPloy": {
"min": 2000,
"max": 100000
},
"fileDto": null,
"feature": {
"featureType": "STABLE",
"rate": 80,
"paymentNeedMinuteMin": 0,
"paymentNeedMinuteMax": 0,
"collectNeedMinuteMin": 0,
"collectNeedMinuteMax": 0
}
},

{
"channelCode": "tencentest9",
"name": "paytest02-支付宝(tencen用,勿改)",
"currency": "CNY",
"tradeMethod": "ALIPAY",
"level": 4,
"limitType": "ARRAY",
"limitPloy": {
"list": ["100", "500", "1000", "2000"]
},
"fileDto": {
"gid": "x1eBfWZjxyGCxfTgm0o9f1EbMA6iHvv7",
"fileUrl": "https://dx-orderbucket20230822.s3.ap-southeast-1.amazonaws.com/test/2024/12/Hvlz4TK4FBSCUaGRmF3WvK6V9zZofTit.jpg",
"previewUrl": "https://dx-orderbucket20230822.s3.ap-southeast-1.amazonaws.com/test/2024/12/preview_Hvlz4TK4FBSCUaGRmF3WvK6V9zZofTit.jpg"
},
"feature": {
"featureType": "UNSTABLE",
"rate": 80,
"paymentNeedMinuteMin": 0,
"paymentNeedMinuteMax": 0,
"collectNeedMinuteMin": 0,
"collectNeedMinuteMax": 0
}
}
]
}
Response data parameter description
Parameter nameTypeParameter meaningParameter description
channelCodestringChannel code
namestringChannel name
currencystringChannel currency
tradeMethodenumChannel transaction methodsBANK UnionPay card, ALIPAY Alipay, WECHAT WeChat
levelintPriority
limitTypeenumRecharge limit policy typeRANGE range
limitPloyobjectRecharge restriction policyFor example, the recharge is fixed to ["100", "500", "1000", "2000"]
fileDtoobjectlogo attachment information
└ gidstringAttachment identification ID
└fileUrlstringFile access address
└previewUrlstringFile preview address
featureobjectChannel characteristics
└featureTypeenumChannel feature typeSTABLE stable, UNSTABLE unstable
ratedoubleApproximate success rate
paymentNeedMinuteMinintMinimum withdrawal time range (minutes)
paymentNeedMinuteMaxintMaximum withdrawal time range (minutes)
collectNeedMinuteMinintMinimum recharge time range (minutes)
collectNeedMinuteMaxintMaximum recharge time range (minutes)