Account. Create/update data POST

Create/update Account data

# ENDPOINT
/model/account/putDb
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M Dev Authentication
# REQUEST BODY
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M Dev Authentication
# REQUEST BODY
Schema: account
Type: object
Variable Name Type Format Usage Description
base_account base_account string M Base multicurrency account
account account string account
account_number account_number string Account_number
iban iban string M A unique account IBAN generated by the System according to IBAN generation rules
client_code client_code string M Unique customer ID in external system
full_name full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
account_group account_group string Group of account
List of allowed values in field (value=>name):
  • 0
    Nothing
  • 1
    Card
  • 2
    Current
service_provider_settings_id Service provider settings id INTEGER
currency currency string Currency of counterparty account
gl Gl integer M
description description string M Description of a given record
open_date Open Date string DATE M A date when account was set to Active
account_scheme account_scheme string M
account_product_settings_id Account settings Id integer
account_settings_description Account settings string
account_subtype account_subtype string M Account subtype
joint_account joint_account string M Joint account for current account
master_gl Master gl INTEGER
master_base_account Master base account STRING
master_account Master account STRING
account_status Account Status string M Status which is given to the account
List of allowed values in field (value=>name):
  • 0
    activating
  • 1
    active
  • 2
    blocked
  • 3
    closed
  • 4
    closing
nostro_account nostro_account string Nostro account
close_date Close Date string DATE M Client close date in the system
nostro_owner_code nostro_owner_code string Counterparty code
counterparty_name counterparty_name string
overdraft_account overdraft_account string M Overdraft account for current account
external_number external_number string External client number for client
subledger_type subledger_type string M Subledger type
product_code Product Code string Code of a given product
branch branch string
client_id Client ID integer
open_amount open_amount number Account open amount (for overdraft/deposit) move to data
last_operation_date last_operation_date STRING
last_debet_date last_debet_date STRING
last_debet_amount last_debet_amount NUMBER
last_credit_date last_credit_date STRING
last_credit_amount last_credit_amount NUMBER
action Action string
currency_exponenta Currency exponenta integer
balance_num Balance double
balance balance number decimal Current account balance at the moment
external_balance_num External balance double
external_balance External balance exponented NUMBER
uid uid string Unique record identifier which is used to distinguish between existing records
hold_balance hold_balance number decimal Hold balance
hold_balance_num Hold balance num double
id id integer INT64 Record's sequence number generated in the system.
stop_debit SD STRING
version version integer INT64 Record version for replication
state state integer INT64 Record state for replication
stop_credit SC STRING
division_client_code Division client code string
form_title form_title string Service field
reservations Reserved NUMBER
create_user Create User string The username of ABS user who has created an entry
holds holds number decimal Holds
client_type Client type STRING
old_account_status Old account status STRING
error_description Error Description string Description of error
create_date Create Date string DATETIME The date entry was created on
modify_user Modify User string The username of ABS user who has made last changes to the entry
view_ewallet view_ewallet string
modify_date Modify Date string DATETIME The date entry was last modified on
# REQUEST BODY EXAMPLE
													
# POSITIVE RESPONSE

200 - Response successfully when status is OK

<p style="color:green;font-size:16px;">200 - Response successfully when status is OK</p>

Schema: account
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object data of Response
attribute: data
Variable Name Type Format Description
base_account base_account string Base multicurrency account
account account string account
account_number account_number string Account_number
iban iban string A unique account IBAN generated by the System according to IBAN generation rules
client_code client_code string Unique customer ID in external system
full_name full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
account_group account_group string Group of account
service_provider_settings_id Service provider settings id INTEGER
currency currency string Currency of counterparty account
gl Gl integer
description description string Description of a given record
open_date Open Date string DATE A date when account was set to Active
account_scheme account_scheme string
account_product_settings_id Account settings Id integer
account_settings_description Account settings string
account_subtype account_subtype string Account subtype
joint_account joint_account string Joint account for current account
master_gl Master gl INTEGER
master_base_account Master base account STRING
master_account Master account STRING
account_status Account Status string Status which is given to the account
nostro_account nostro_account string Nostro account
close_date Close Date string DATE Client close date in the system
nostro_owner_code nostro_owner_code string Counterparty code
counterparty_name counterparty_name string
overdraft_account overdraft_account string Overdraft account for current account
external_number external_number string External client number for client
subledger_type subledger_type string Subledger type
product_code Product Code string Code of a given product
branch branch string
client_id Client ID integer
open_amount open_amount number Account open amount (for overdraft/deposit) move to data
last_operation_date last_operation_date STRING
last_debet_date last_debet_date STRING
last_debet_amount last_debet_amount NUMBER
last_credit_date last_credit_date STRING
last_credit_amount last_credit_amount NUMBER
action Action string
currency_exponenta Currency exponenta integer
balance_num Balance double
balance balance number decimal Current account balance at the moment
external_balance_num External balance double
external_balance External balance exponented NUMBER
uid uid string Unique record identifier which is used to distinguish between existing records
hold_balance hold_balance number decimal Hold balance
hold_balance_num Hold balance num double
id id integer INT64 Record's sequence number generated in the system.
stop_debit SD STRING
version version integer INT64 Record version for replication
state state integer INT64 Record state for replication
stop_credit SC STRING
division_client_code Division client code string
form_title form_title string Service field
reservations Reserved NUMBER
create_user Create User string The username of ABS user who has created an entry
holds holds number decimal Holds
client_type Client type STRING
old_account_status Old account status STRING
error_description Error Description string Description of error
create_date Create Date string DATETIME The date entry was created on
modify_user Modify User string The username of ABS user who has made last changes to the entry
view_ewallet view_ewallet string
modify_date Modify Date string DATETIME The date entry was last modified on
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

<p style="color:red;font-size:16px;">200 - Response with error when status is ERROR</p>

Schema: HeaderResponseStatusError
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object