Skip to main content

Overview​

Update the risk settings for the card types under your account.

Update Card Settings​

cURL -X POST /config/update
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"program_value": 2,
"account_id": "1016X10007530070724",
"trade_risk_name": "purchase_1d",
"trade_risk_value": "100"
}'
ParameterTypeLengthRequiredDescriptionExample
program_valueint1-10RequiredCard type for program2
account_idstring0-20OptionalSpecify the unique merchant account identifier. This parameter takes precedence over program_value.1016X10007530070724
trade_risk_namestring1-50RequiredTransaction limit keypurchase_1d
trade_risk_valuestring1-50RequiredTransaction limit value100
{
"code": "200",
"msg": "ζ“δ½œζˆεŠŸ",
"trace_id": "ce90772035e9499ea7b550937165bfa5",
"data": {
"trade_risk_name": "purchase_1d",
"trade_risk_value": "100",
"program_value": 2,
"account_id": "1016X10007530070724"
}
}
ParameterDescription
trade_risk_nameTransaction limit key
trade_risk_valueTransaction limit value
program_valueCard type for program
account_idUnique Merchant Account Identifier