Integration Guide for Banks
[ENG] Integration Guide for Bank
[ENG] Integration Guide for Bank
  • General
    • ๐Ÿ’ฐOverview
      • Transfers between digitized entities
        • Option 1. Fast transfer
        • Option 2. Standard transfer (optional)
      • Version history
      • API change log
      • Glossary
    • ๐ŸŒCommon requirements
    • ๐Ÿ‘‰Basic use case
    • ๐Ÿ“…Integration Plan
      • Integration Plan - Business
      • Integration Plan - Technical Team
      • Multisignature
    • โ—Error messages
  • ๐Ÿ› ๏ธAPI methods
    • Authentification
      • Authorization via JWT
      • Bank authorization
      • JWT format
    • Emlpoyee
      • How to add a user to a role
      • Role management
    • Customer
      • Segments
    • Digital entity
    • Identifiers
    • Transfer
      • Multisignature for transfers
      • [optional] Callbacks
      • Category
    • Limits
    • Reconciliation
    • [optional] Branch
      • Branch access
      • How to add employee to branch
      • Filter by branch
      • Transfers (branches)
      • Branch digital entity
Powered by GitBook
On this page
  1. API methods

Limits

PreviousCategoryNextReconciliation

Last updated 1 year ago

Limits restrict outgoing payments depending on a period and digital entity type (defined by ).

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

Set an individual limit per operation for a customer

Where can I take these body parameters?

  • customer_guid = wallet_user_guid- customer's identifier for whom you want to set limits

  • account_type_guid = wallet_account_guid - account's type identifier

  • asset_code = stellar_code

  • asset_issuer = stellar_issuer

1.2 For a period of time

Get individual limits per customer

Supported combinations:

  1. default periods

    • period=[day/week/month/year]

    • period_key = 1

  2. number of days for a custom period

    • period="days"

    • period_key = 180

Set individual limits per customer

Where can I take these body parameters?

  • customer_guid = wallet_user_guid- customer's identifier for whom you want to set limits

  • account_type_guid = wallet_account_guid - account's type identifier

  • asset_code = stellar_code

  • asset_issuer = stellar_issuer

2. Standard limits

2.1 For a single operation

Get standard limits per operation for all segments

Set a standard limit per operation for a segment

Where can I take these body parameters?

  • customer_guid = wallet_user_guid- customer's identifier for whom you want to set limits

  • account_type_guid = wallet_account_guid - account's type identifier

  • asset_code = stellar_code

  • asset_issuer = stellar_issuer

2.2 For a period of time

Get standard customer limits for all segments

Set a standard customer limit for a segment

Where can I take these body parameters?

  • customer_guid = wallet_user_guid- customer's identifier for whom you want to set limits

  • account_type_guid = wallet_account_guid - account's type identifier

  • asset_code = stellar_code

  • asset_issuer = stellar_issuer

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

Standard limits restrict payments for customers with a specific and identificator.

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

You can take the following parameters using the endpoint :

๐Ÿ› ๏ธ
Get account list
Get customer's accounts
Get account list
Get customer's accounts
segment
Get account list
Get customer's accounts
Get account list
Get customer's accounts
segment

Get customer amount limit

get

Get customer amount limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Query parameters
customer_guidstringOptional

Customer GUID (uuid)

Responses
200
OK
application/json
400
json with error msg
application/json
get
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
        }
      }
    }
  ]
}

Get customer payment amount limit

get

Get customer payment amount limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Query parameters
customer_guidstringOptional

Customer GUID (uuid)

Responses
200
OK
application/json
400
json with error msg
application/json
get
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
    }
  ]
}

Get operation limits

get

Get operation limits

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Responses
200
OK
application/json
400
json with error msg
application/json
get
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
    }
  ]
}

Get users limits

get

Get users limits

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Responses
200
OK
application/json
400
json with error msg
application/json
get
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
        }
      }
    }
  ]
}
  • 1. Individual limits
  • 1.1 For a single operation
  • GETGet customer amount limit
  • POSTSet customer amount limit
  • 1.2 For a period of time
  • GETGet customer payment amount limit
  • POSTSet customer payment amount limit
  • 2. Standard limits
  • 2.1 For a single operation
  • GETGet operation limits
  • POSTCreate operation limit
  • 2.2 For a period of time
  • GETGet users limits
  • POSTCreate users limit

Set customer amount limit

post

Set customer amount limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Body
account_type_guidstringOptional
asset_codestringOptional
asset_issuerstringOptional
customer_guidstringOptional
maxnumberOptional
periodstring ยท enumOptionalPossible values:
period_keyintegerOptional
Responses
200
OK
400
json with error msg
application/json
post
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

Set customer payment amount limit

post

Set customer payment amount limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Body
account_type_guidstringOptional
asset_codestringOptional
asset_issuerstringOptional
customer_guidstringOptional
maxnumberOptional
periodstring ยท enumOptionalPossible values:
period_keyintegerOptional
Responses
200
OK
400
json with error msg
application/json
post
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

Create operation limit

post

Create operation limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Body
account_type_guidstringOptional
asset_codestringOptional
asset_issuerstringOptional
maxnumberOptional
minnumberOptional
Responses
200
OK
400
json with error msg
application/json
post
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

Create users limit

post

Create users limit

Path parameters
counterparty_guidstringRequired

Counterparty GUID

Body
account_type_guidstringOptional
asset_codestringOptional
asset_issuerstringOptional
maxnumberOptional
periodstring ยท enumOptionalPossible values:
period_keyintegerOptional
Responses
200
OK
400
json with error msg
application/json
post
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