Freedom Pay
  1. Payment Cards
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Purchase
        • Overview
        • Create payment
        • Any amount
        • Card
        • 3DSecure
        • Recurrent
        • Cancel
        • Clearing
        • Refund
        • Status
      • Payout
        • Overview
        • Card
        • IBAN
        • Balance
        • Status
      • Transfer
        • Overview
        • Card
        • 3DSecure
        • Rates
        • Status
      • Card
        • Overview
        • Add
        • 3DSecure
        • List
        • Remove
        • Status
      • Token
        • Overview
        • Token Pay
        • Apple Pay
        • Google Pay
        • Token Payout
        • Status
    • Async API
      • Overview
      • create
        • create payment
      • read
        • read payment
        • read request
      • edit
        • edit payment.refund
        • edit payment.reverse
        • edit payment.clearing
  • Merchant API
    • Overview
    • Purchase
      • Overview
      • Checkout
      • Card token
        • Overview
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment (with CVC)
        • Confirm payment (with CVC)
        • Create payment
        • Confirm payment
      • Create payment
      • Any amount
      • Cancel payment
      • Clearing
      • Refund payment
      • Status
    • Payout
      • Overview
      • Card token
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment
      • Create payment
      • IBAN
      • Balance status
      • Status by order_id
      • Status by Payment ID
      • Status
    • Mobile balance
      • Overview
      • Init
      • Pay
      • Approve
      • Resend code
      • Status
    • Invoice
      • Overview
      • Init
      • Info
      • Pay
      • Status
    • SDK
      • JS SDK
      • Google Pay
      • Freedom QR
        • Reader SDK (Android)
        • Provider SDK (Android)
      • Payment SDK
        • iOS
        • Android
    • CMS
      • Overview
      • Get Merchant ID and key
      • WordPress
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
        • Update
      • Tilda
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • InSales
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Ecwid
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Bitrix
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • PrestaShop
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • OpenCart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
    • Redirect back
    • Result notify
    • Payout notify
    • Check request
  • Card API
    • Overview
    • Payment Cards
      • Overview
      • Dictionaries
      • Bulk issue
        POST
      • Issue card
        POST
      • Issue plastic card
        POST
      • Activate card
        POST
      • Block card
        POST
      • Unblock card
        POST
      • Set PIN
        POST
      • Reset PIN counter
        POST
      • Close card
        POST
      • Update client
        POST
      • Card info
        POST
      • Balance
        POST
      • Secret data
        POST
      • Secret data (version 2)
        POST
      • Operations' list
        POST
      • Statement extended
        POST
      • Create client
        POST
      • Edit client
        POST
      • Сards' list
        POST
      • Request' status
        POST
      • Create transaction
        POST
      • Clearing transaction
        POST
      • Refund transaction
        POST
      • Transaction info
        POST
      • Cardholder validation
        POST
      • Set limits
        POST
      • Limits list
        POST
    • Gift Cards
      • Overview
      • List
      • Issue
      • Confirm
      • Resend
      • Resend code
      • Status
  • Partner API
    • Rates
      • Overview
      • Rates
    • Products
      • Overview
      • Dictionaries
      • Add client with product
      • Request status
    • E-Money
      • Overview
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Freedom ID
      • Overview
      • Design
      • iOS SDK
      • Android SDK
      • OAuth2
        • Authorization link
        • Token exchange
        • Token refresh
        • User info
        • Request profile
        • Get profile status
        • Create user
        • Update user
      • OIDC
        • Authorization endpoint
        • Token exchange
        • Userinfo
      • Error codes
      • Examples
        • Keycloak
    • Transfer
      • Overview
      • Get token
      • Refresh token
      • Get agents
      • Fees
      • Create person
      • Create business
      • Create transfer
      • Print application
      • Confirm
      • Search
      • Payout
      • Payout confirm
      • Cancel
      • Get person info
      • Get business info
      • Status
      • Info
    • Device ID
      • Android SDK
      • iOS SDK
    • Implement SuperApp
      • Overview
      • Pay
      • Refund
  1. Payment Cards

Set limits

POST
https://api.freedompay.kz/v5/card-api/limits/set
The method is designed to set limits on financial operations for a specific object — a 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
Unique request ID in the partner system (UUID).
object
object 
required
The object for which the limit is being set.
type
string 
required
Type of the object. Possible values: card, account, client.
value
string 
required
Identifier of the object.
limits
array [object {4}] 
required
Array of limit settings.
transaction_type
string 
required
Type of transaction the limit applies to.
region
string 
optional
Region code(s). Format: ISO alpha-3.
period
string 
optional
Limit period. Possible values: transaction, day, month.
amount
array [object {3}] 
optional
Array of amount limit objects.
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
Indicates the status of the request. Possible values: ok - request successful, error - request failed.
request_status
string 
required
Indicates the execution status of the request. Refer to the documentation.
dt
string 
required
Date and time of the request in RFC 3339 format. Format: 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
Previous
Cardholder validation
Next
Limits list