curl --request GET\ --url https://{openApiUrl}/openApi/payment_method/12345001 \ --header 'request-id: 58675' \ --header 'request-time: 2022-05-21T23:59:59' \ --header 'authorization:Bearer 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F03566
Last updated 1 year ago
result
Object
请求响应对象
code
String
响应码
message
响应信息
data
Array
支付方式集合
查询支付方式接口
网关号
OK
const response = await fetch('//unknown/openApi/payment_method/{gatewayNo}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ "text" ], "result": { "code": "text", "message": "text" } }