Set Limit
Creates or updates transaction limits for operations. Can set system-wide limits or customer-specific limits for various operation types and payment methods.
Endpoint
POST/v2/billing/limits
Link
Request
Headers
Authorization
Bearer <JWT>
Yes
Content-Type
application/json
Yes
Accept
application/json
Yes
Request Body (JSON)
id
integer
Limit ID - limit number associ
No
101
customerId
string
Customer ID for customer-specific limits. Omit for system limits.
No
"cust_12345"
currencyIsoFrom
string
Source currency (ISO 4217).
Yes
"USD"
currencyIsoTo
string
Target currency (ISO 4217).
Yes
"EUR"
operationType
string
Operation type:
- NOTSET
- DEPOSIT
- TRANSFER
- WITHDRAW
- COMMISSION
- EXCHANGE
- CORRECTING
Yes
"TRANSFER"
paymentType
string
Payment method:
- NOT_SET
- EMPTY
- ACH
- FEDWIRE
- SWIFT
- CRYPTO
- EFT
- SEPA_CT
- IMPS
Yes
"SWIFT"
min
number
Minimum amount allowed.
Yes
10.0
max
number
Maximum amount allowed.
Yes
5000.0
Example Request Body (System Limit):
Example Request Body (Customer-Specific Limit):
Example Request Body (Update Existing Limit):
Response (200 OK)
Returns the created or updated limit configuration.
Response Fields
id
integer
Unique limit identifier.
101
owner
integer
Owner ID (system=0, customer>0).
15
currencyIsoFrom
string
Source currency.
"USD"
currencyIsoTo
string
Target currency.
"EUR"
operationType
string
Operation type.
"TRANSFER"
paymentType
string
Payment method.
"SWIFT"
min
number
Minimum amount.
50.0
max
number
Maximum amount.
10000.0
createdAt
string
Creation timestamp (ISO 8601).
"2024-01-15T10:30:00Z"
updatedAt
string
Last update timestamp.
"2024-05-21T14:45:00Z"
customerName
string
Customer name (if applicable).
"John Doe"
customerId
string
Customer ID (if applicable).
"cust_12345"
Example Response (System Limit):
Example Response (Customer Limit):
Examples
Request (Create Crypto Limit)
Request (Update Existing Limit)
Error Responses
Invalid Amounts:
Customer Not Found:
Duplicate Limit:
Notes
Create vs Update:
Include
idto update existing limitOmit
idto create new limit
Customer Limits: Take precedence over system limits for the same customer
Validation: Minimum must be less than or equal to maximum
Currency Pairs: Use same currency for single-currency operations
Real request
"{
""id"": 2378,
""customerId"": ""DaKFXt2-1vfp-e00RmYfclJTS"",
""currencyCodeFrom"": ""USD"",
""currencyCodeTo"": ""USD"",
""operationType"": ""TRANSFER"",
""paymentType"": ""EMPTY"",
""min"": 1000,
""max"": 2000
}"
Real response
"{
""item"": {
""id"": 2378,
""owner"": 232,
""currencyCodeFrom"": ""USD"",
""currencyCodeTo"": ""USD"",
""operationType"": ""TRANSFER"",
""paymentType"": ""EMPTY"",
""min"": 1000,
""max"": 2000,
""createdAt"": ""2025-11-09T05:10:58Z"",
""updatedAt"": ""2025-11-09T05:10:58Z"",
""customerName"": """",
""customerId"": """"
}
}"
Last updated

