v1

latestOpenAPI 3.0.12026-07-24128351404.9 KB
Card

Set Card BIN Spend Controls

Sets or updates spend controls that define whitelist/blacklist consumption scenarios and MCC rules for determining which transactions are permitted or restricted. </br> The configured controls apply to all applicable cards once updated.

post/open-api/v3/consumption-scenarios

Headers

Idempotency-Keystring required

Universally unique identifier idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.

Request body

usagestring required

usage: MCC,SCENARIO,TRANSACTION_CURRENCY, if id is null then usage can not be null

keywordsstring required

keywords, if usage is MCC, then keywords must be 4 digits string, <br> if usage is TRANSACTION_CURRENCY, then keywords must be 3 digits currency code<br> if usage is SCENARIO, then keywords must be substring of transaction detail info

idinteger

id ,if null then insert ,if not null then update

listTypestring required

list type: BLACKLIST,WHITELIST

cardBinIdsstring[]

card bin id list, if null then all card bin will be applied

cardIdsstring[]

card id list

accountIdstring

account id

Response

OK

codestring

Return code

messagestring

Error message