- Overview
- Gateway API
- Merchant API
- Card API
- Overview
- Payment Cards
- Overview
- Dictionaries
- Bulk issuePOST
- Issue cardPOST
- Issue plastic cardPOST
- Activate cardPOST
- Block cardPOST
- Unblock cardPOST
- Set PINPOST
- Reset PIN counterPOST
- Close cardPOST
- Update clientPOST
- Card infoPOST
- BalancePOST
- Secret dataPOST
- Secret data (version 2)POST
- Operations' listPOST
- Statement extendedPOST
- Create clientPOST
- Edit clientPOST
- Сards' listPOST
- Request' statusPOST
- Create transactionPOST
- Clearing transactionPOST
- Refund transactionPOST
- Transaction infoPOST
- Cardholder validationPOST
- Set limitsPOST
- Limits listPOST
- Gift Cards
- Partner API
Set limits
POST
https://api.freedompay.kz/v5/card-api/limits/set
card
, account
, or client
. Limits allow controlling and restricting a user's financial activity in various scenarios: by transaction type, period, currency, and transaction method (e.g., with or without 3DS authentication).For example, for a card ("type": "card"), you can set a maximum limit ("type": "max") on the amount of cash withdrawals at ATMs ("transaction_type": "withdrawal_atm") per month ("period": "month").
Request
Body Params application/json
request_id
string
required
object
object
required
type
string
required
value
string
required
limits
array [object {4}]
required
transaction_type
string
required
region
string
optional
period
string
optional
amount
array [object {3}]
optional
Example
{
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"object": {
"type": "card",
"value": "123456789"
},
"limits": [
{
"transaction_type": "withdrawal_atm",
"period": "month",
"amount": [
{
"type": "max",
"value": "5000",
"currency": "USD"
}
]
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.freedompay.kz/v5/card-api/limits/set' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"object": {
"type": "card",
"value": "123456789"
},
"limits": [
{
"transaction_type": "withdrawal_atm",
"period": "month",
"amount": [
{
"type": "max",
"value": "5000",
"currency": "USD"
}
]
}
]
}'
Responses
🟢200Success
application/json
Body
status
string
required
ok
- request successful, error
- request failed.request_status
string
required
dt
string
required
YYYY-MM-DDThh:mm:ss+hh:mm
.Example
{
"status": "string",
"request_status": "string",
"dt": "2019-08-24T14:15:22Z"
}
Modified at 2025-07-01 05:07:54