Transfer Config

This section give's control for transfer rules (transfer config).
Transfer rule must be provided with currency and threshold.
Transfer will be approved automatically in case the transfer amount is below the threshold.
Any transfer amount above the threshold must be approved by admin.
Admin logged in - can create,edit or delete any transfer rule per currency.
User logged in - dont have access to transfer config.

get-transferRules-conf-list

Return a list of the current transfer rules configuration

SecurityAuthorization
Request
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Responses
200

Success

401

Unauthorized

403

Forbidden

get/transferConfig
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": [
    ]
}

post-transferRule-conf

Create new configuration for specific currency

SecurityAuthorization
Request
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Request Body schema: application/json
required

raw(json)

currency
string
threshold
number
Responses
200

Success

401

Unauthorized

403

Forbidden

422

Unprocessable Content

post/transferConfig
Request samples
application/json
{
  • "currency": "ADAA",
  • "threshold": 1500
}
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}

get-exact-transferRule-conf-info

Return info about specifig configuration by config_id

SecurityAuthorization
Request
path Parameters
config_id
required
string

config_id path parameter

Example: <config_id>
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Responses
200

Success

401

Unauthorized

403

Forbidden

get/transferConfig/{config_id}
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}

update-exact-transferRule-conf

Update specific transfer rule by config_id

SecurityAuthorization
Request
path Parameters
config_id
required
string

config_id path parameter

Example: <config_id>
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Request Body schema: application/json
required

raw(json)

currency
string
treshold
number
Responses
200

Success

401

Unauthorized

403

Forbidden

422

Unprocessable Content

put/transferConfig/{config_id}
Request samples
application/json
{
  • "currency": "ADAA",
  • "treshold": 3000
}
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}

delete-exact-transferRule-conf

Delete specific transfer rule by config_id

SecurityAuthorization
Request
path Parameters
config_id
required
string

config_id path parameter

Example: <config_id>
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Responses
204

No Content (Success)

401

Unauthorized

403

Forbidden

delete/transferConfig/{config_id}
Response samples
application/json
{ }