Get Payment Methods
Get payment methods.
Interface Address:
text
/papi/pay/payWayListRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10~32 lowercase letters + digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| areaCode | string | Yes | Region code |
Request Example:
json
{
"areaCode": "HK"
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | array[object] | Return data |
| ├─ code | string | Payment method code |
| ├─ name | string | Payment name |
| ├─ providerCode | string | Provider code |
| ├─ type | integer | Type (1-WeChat 2-Alipay, etc.) |
| ├─ image | string | Image |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": [
{
"code": "",
"name": "",
"providerCode": "",
"type": 0,
"image": ""
}
],
"msg": ""
}