Limits
Limits restrict outgoing payments depending on a period and digital entity type (defined by segment).
The scope of the limits has 2 dimensions:
granularity
a single customer
or all customers within a segment
temporality
for a single operation
or for all operations within a day, week, month, or year.
1. Individual limits
Individual limits restrict transfer for a specific customer.
1.1 For a single operation
Get individual limits per operation
Get customer amount limit
Counterparty GUID
Customer GUID (uuid)
GET /api/v1/counterparty/{counterparty_guid}/limits/customer/amount HTTP/1.1
Host: your_host
Accept: */*
{
"columns": [
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"customer_guid": "text",
"period": {
"ANY_ADDITIONAL_PROPERTY": {
"max": 1,
"period_key": 1
}
}
}
]
}
Set an individual limit per operation for a customer
Set customer amount limit
Counterparty GUID
POST /api/v1/counterparty/{counterparty_guid}/limits/customer/amount HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"customer_guid": "text",
"max": 1,
"period": "day",
"period_key": 1
}
No content
1.2 For a period of time
Get individual limits per customer
Get customer payment amount limit
Counterparty GUID
Customer GUID (uuid)
GET /api/v1/counterparty/{counterparty_guid}/limits/customer/payment HTTP/1.1
Host: your_host
Accept: */*
{
"columns": [
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"customer_guid": "text",
"max": 1,
"min": 1
}
]
}
Set individual limits per customer
Set customer payment amount limit
Counterparty GUID
POST /api/v1/counterparty/{counterparty_guid}/limits/customer/payment HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"customer_guid": "text",
"max": 1,
"period": "day",
"period_key": 1
}
No content
2. Standard limits
Standard limits restrict payments for customers with a specific segment and identificator.
2.1 For a single operation
Get standard limits per operation for all segments
Get operation limits
Counterparty GUID
GET /api/v1/counterparty/{counterparty_guid}/limits/operations HTTP/1.1
Host: your_host
Accept: */*
{
"columns": [
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"max": 1,
"min": 1
}
]
}
Set a standard limit per operation for a segment
Create operation limit
Counterparty GUID
POST /api/v1/counterparty/{counterparty_guid}/limits/operations HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"max": 1,
"min": 1
}
No content
2.2 For a period of time
Get standard customer limits for all segments
Get users limits
Counterparty GUID
GET /api/v1/counterparty/{counterparty_guid}/limits/users HTTP/1.1
Host: your_host
Accept: */*
{
"columns": [
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"period": {
"ANY_ADDITIONAL_PROPERTY": {
"max": 1,
"period_key": 1
}
}
}
]
}
Set a standard customer limit for a segment
Create users limit
Counterparty GUID
POST /api/v1/counterparty/{counterparty_guid}/limits/users HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"account_type_guid": "text",
"asset_code": "text",
"asset_issuer": "text",
"max": 1,
"period": "day",
"period_key": 1
}
No content
Last updated