The relevant endpoint and https method information is given below to set the daily, weekly, monthly and yearly limits of the relevant card. Periods are reset daily if they are daily, weekly if they are weekly, monthly if they are monthly, and annually if they are annual.
HTTP Method | URL |
---|---|
POST | /card/setCardLimitRestiriction |
Params | Type | Mandatory | Description |
---|---|---|---|
card_no | string | Yes | Card Number |
limit_restirictions | object | Yes | Limit Type |
usage_type | string | Yes | What Value Will It Set? |
currency_code | int | Yes | Currency Code |
daily_max_amount | decimal | No | Daily Max Amount |
weekly_max_amount | decimal | No | Weekly Max Amount |
monthly_max_amount | decimal | No | Monthly Max Amount |
yearly_max_amount | decimal | No | Yearly Max Amount |
corelation_id | string | Yes | Corelation Id |
Params | Type |
---|---|
status | int |
code | string |
message | string |
payload | object |
card_no | string |
REQUEST (POST) :
{
"card_no": "434610lbvqig0051",
"corelation_id": 4000001489104986,
"limit_restrictions": [
{
"usage_type": "A",
"currency_code": 949,
"daily_max_amount": 10,
"weekly_max_amount": 700,
"monthly_max_amount": 300,
"yearly_max_amount": 3650
}
]
}
RESPONSE:
{
"status": 0,
"code": "200",
"message": "",
"payload": {
"card_no": "434610lbvqig0051"
}
}