Skip to main content

Overview

Manage the transaction limits for your current cards.

Query Card Transaction Limits

Before you start:

Obtain the program_value of the card you want to modify from the account card type list.

Query Card Settings

Use the program_value to retrieve your transaction limits. Each limit’s key is trade_risk_name.

cURL -X GET /{program_value}/get?trade_risk={trade_risk_name}
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
{
"code": "200",
"msg": "Success",
"trace_id": "571cec5768ae45c4bc6a725956c01fe8",
"data": {
"trade_risk_name": "purchase_1d",
"trade_risk_value": "10"
}
}

Update Card Transaction Limits

Before you start:

Update Card Settings

Use the card_id to update your transaction limits. Each limit’s key is trade_risk_name and value is trade_risk_value.

cURL -X POST /{card_id}/update
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"trade_risk_name": "purchase_count_1d",
"trade_risk_value": "100"
}'
{
"code": "200",
"msg": "Success",
"trace_id": "8c9f1789793244a687a5daad4318bf1e",
"data": {
"card_id": 1937109027420692480
}
}