curl --request GET\ --url https://{openApiUrl}/openApi/V2022-03/payment_method \ --header 'request-id: 58675' \ --header 'request-time: 1651888520935' \ --header 'gateway-no: 12345001' \ --header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
Last updated 2 years ago
code
String
响应码
message
响应信息
data
Array
支付方式集合
查询支付方式接口
OK
返回码
"00000"
返回信息
"message info"
const response = await fetch('//unknown/openApi/V2022-03/payment_method', { method: 'GET', headers: { "gateway-no": "text", "request-id": "text", "request-time": "text", "sign-info": "text" }, }); const data = await response.json();
{ "code": "00000", "data": [ "text" ], "message": "message info" }