6.1.2 Get discount amount options
#Brief description: Get discount amount options
- Request method: POST
- Request interface: https://gateway-domain/wallet-trade-merchant/v1/otc/payment/options/amount
- Request media type (JSON data format)Content-Type: application/json
Request parameters
| Parameter name | Type | Required | Parameter meaning | Parameter description |
|---|---|---|---|---|
currency | string | Yes | Currency | Default CNY |
paymentMethod | string | Yes | Transaction method | ALIPAY (Alipay), UNIONPAY (UnionPay card), WECHAT (WeChat), DIGITAL_RMB (Digital RMB) |
Request json sample
{
"currency": "CNY",
"paymentMethod": "ALIPAY"
}
Response json example
{
"code": 0,
"success": true,
"message": null,
"data": [100]
}
Response data parameter description
| Parameter name | Type | Parameter meaning | Parameter description | Remarks |
|---|---|---|---|---|
data | array | Return data (array format) | Amount | When creating an OTC payment order, if you select the amount in this array as the order amount, you can enjoy the channel fee discount. |