Account. Fetch data requisites by request POST

Get Account Requisites

# ENDPOINT
/api/accountReferenceApi/getAccountRequisites/accountRequest
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
DEV-SKIP DEV-SKIP 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
Example DEV-SKIP
# REQUEST BODY
Schema: accountRequest
Type: object
Variable Name Type Format Usage Description
account account string account
# REQUEST BODY EXAMPLE
							{
  "account": "60003J7K000EURD"
 }						
# POSITIVE RESPONSE

200 - Response successfully when status is OK

Schema: accountReference
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
account_number account_number string Account_number
action Action string
bank_address bank_address string bank address
bank_bic_swift bank_bic_swift string bank bic swift
bank_code bank_code string
bank_code_type Bank Code Type string Bank Code Type
bank_country bank_country string bank country
bank_name bank_name string bank name
client_code client_code string Unique customer ID in external system
client_id Client ID integer
create_date Create Date string DATETIME The date entry was created on
create_user Create User string The username of ABS user who has created an entry
description description string Description of a given record
destination_tag Destination tag STRING
digital_asset_address Digital asset address STRING
digital_asset_url Digital asset url STRING
ewallet ewallet string ewallet
external_client_id external_client_id string external client id
form_title form_title string Service field
full_name full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
iban iban string A unique account IBAN generated by the System according to IBAN generation rules
id id integer INT64 Record's sequence number generated in the system.
modify_date Modify Date string DATETIME The date entry was last modified on
modify_user Modify User string The username of ABS user who has made last changes to the entry
reference reference string reference
scheme_account Account service scheme string This parameter is used when opening new accounts in the System. The parameter allows selecting the underlying accounting scheme that will be used for linking the account balance to a given payment services provider and its available account management end-points.
scheme_name scheme_name string scheme name
state state integer INT64 Record state for replication
uid uid string Unique record identifier which is used to distinguish between existing records
version version integer INT64 Record version for replication
# RESPONSE POSITIVE EXAMPLE
							{
    "status": "ok",
    "error_description": "",
    "error": {},
    "data_type": "solutions.SmartVista.api.accountReference.accountRequisitesModel",
    "total_records": 1,
    "data": {
        "scheme_name": "RAILSBANK",
        "scheme_account": "60003J7K000EURD",
        "ewallet": "60003J7K000T",
        "client_code": "EN003J7KN",
        "iban": "GB47TEST85516104545487",
        "bank_bic_swift": "TESTGB21",
        "account_number": "",
        "bank_code": "",
        "bank_code_type": "",
        "bank_name": "Example Bank",
        "bank_address": "",
        "bank_country": "GB"
    }
}						
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

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
# RESPONSE NEGATIVE EXAMPLE
							{
    "status": "error",
    "error_description": "[ERROR-ACCOUNT-NOT-FOUND : Account number () is incorrect.]",
    "error": {},
    "data_type": "solutions.SmartVista.api.accountReference.accountRequisitesModel",
    "total_records": -2,
    "data": {}
}