Limits
Setting limits via the API. Limits can also be configured through the merchant's personal account. There are 3 types of limits for payouts:
order— limit per transactionday— daily limit per shopmonth— monthly limit per shop
The limit type is unique for each shop.
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Request signature |
List of limits
URL
Method: GET
- Production:
https://api.baas.kvell.group/v1/points/limits - Stage:
https://api.baas.stage.kvell.group/v1/points/limits
Building the signature
The X-Signature signature is formed by concatenating X-Api-Key and secret_key. sha256 is
computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.
Response
Create a limit
URL
Method: POST
- Production:
https://api.baas.kvell.group/v1/points/limits - Stage:
https://api.baas.stage.kvell.group/v1/points/limits
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
amount |
integer | Yes | Limit amount in kopecks |
type |
string enum | Yes | Limit type: order, day, month |
Request example:
Building the signature
The X-Signature signature is formed by concatenating X-Api-Key, amount, type, and
secret_key. sha256 is computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.
Response
Get a limit
URL
Method: GET
- Production:
https://api.baas.kvell.group/v1/points/limits/{limit_id} - Stage:
https://api.baas.stage.kvell.group/v1/points/limits/{limit_id}
Request parameters
| Name | Type | Description |
|---|---|---|
limit_id |
string | Identifier id obtained when the limit was created |
Building the signature
The X-Signature signature is formed by concatenating X-Api-Key, limit_id, and secret_key.
sha256 is computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.
Response
Edit a limit
URL
Method: PATCH
- Production:
https://api.baas.kvell.group/v1/points/limits/{limit_id} - Stage:
https://api.baas.stage.kvell.group/v1/points/limits/{limit_id}
Request parameters
| Name | Type | Description |
|---|---|---|
limit_id |
string | Identifier id obtained when the limit was created |
Request body parameters
| Name | Type | Required | Description |
|---|---|---|---|
amount |
integer | Yes | Limit amount in kopecks |
type |
string enum | Yes | Limit type: order, day, month |
Building the signature
The X-Signature signature is formed by concatenating X-Api-Key, limit_id, and secret_key.
sha256 is computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.
Response
Delete a limit
URL
Method: DELETE
- Production:
https://api.baas.kvell.group/v1/points/limits/{limit_id} - Stage:
https://api.baas.stage.kvell.group/v1/points/limits/{limit_id}
Request parameters
| Name | Type | Description |
|---|---|---|
limit_id |
string | Identifier id obtained when the limit was created |
Building the signature
The X-Signature signature is formed by concatenating X-Api-Key, limit_id, and secret_key.
sha256 is computed from the resulting string:
where secret_key is the secret key found in the merchant's shop settings.