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.
- Resquest
cURL -X GET /{program_value}/get?trade_risk={trade_risk_name}
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
- Responses
{
"code": "200",
"msg": "Success",
"trace_id": "571cec5768ae45c4bc6a725956c01fe8",
"data": {
"trade_risk_name": "purchase_1d",
"trade_risk_value": "10"
}
}
Update Card Transaction Limits
Before you start:
- Obtain the
card_idof the card you want to update from card creation; - Understand the
trade_risk_nameandtrade_risk_valueyou want to modify.
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.
- Resquest
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"
}'
- Responses
{
"code": "200",
"msg": "Success",
"trace_id": "8c9f1789793244a687a5daad4318bf1e",
"data": {
"card_id": 1937109027420692480
}
}