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.
Return a list of the current transfer rules configuration
Success
Unauthorized
Forbidden
{- "api_message": "<string>",
- "api_data": [
- {
- "id": "<string>",
- "ref_account_id": "<string>",
- "currency": "<string>",
- "threshold": 1,
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
]
}
Create new configuration for specific currency
Success
Unauthorized
Forbidden
Unprocessable Content
{- "currency": "ADAA",
- "threshold": 1500
}
{- "api_message": "<string>",
- "api_data": {
- "transfer_config": {
- "id": "<string>",
- "ref_account_id": "<string>",
- "currency": "<string>",
- "threshold": 1,
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}
Return info about specifig configuration by config_id
Success
Unauthorized
Forbidden
{- "api_message": "<string>",
- "api_data": {
- "transfer_config": {
- "id": "<string>",
- "ref_account_id": "<string>",
- "currency": "<string>",
- "threshold": 1,
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}
Update specific transfer rule by config_id
raw(json)
Success
Unauthorized
Forbidden
Unprocessable Content
{- "currency": "ADAA",
- "treshold": 3000
}
{- "api_message": "<string>",
- "api_data": {
- "transfer_config": {
- "id": "<string>",
- "ref_account_id": "<string>",
- "currency": "<string>",
- "threshold": 1,
- "created_at": "<datetime string>",
- "updated_at": "<datetime string>"
}
}
}