Skip to main content

One-Click Earn Switch

Type: POST

Description: /v4/finance/one-click

Enable or disable one-click earn feature for flexible savings products.

Parameters

NameTypeMandatoryDescription
enabledbooleantrueEnable or disable one-click earn
currencystringfalseCurrency (optional, applies to all if not specified)

Request Example

Request
curl -X POST "https://sapi.xt.com/v4/finance/one-click" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"currency": "USDT"
}'

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": true
}

Response Fields

FieldTypeDescription
resultbooleanOperation result