Inward. Fetch data by ID / UID GET

Fetch Payment Inward data by ID or UID

# ENDPOINT
/model/paymentInward/getDb/{id}
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
DEV-SKIP DEV-SKIP M Dev Authentication
id
path
0
6812334 - for ID

86f0724d-79f3-4b95-7114-3d716811f409 - for UID
M Record ID or UID
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M Dev Authentication
Example DEV-SKIP
id id path integer M Record ID or UID
Example 6812334 - for ID

86f0724d-79f3-4b95-7114-3d716811f409 - for UID
# POSITIVE RESPONSE

200 - Response successfully when status is OK

200 - Response successfully when status is OK

Schema: paymentInward
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
action Action string
amount amount number decimal Operation amount
amount_num Amount num double
amount_signature amount_signature string Signature operation for amount
application_id Application id integer
attachments attachments string Attachments
authorise_date Authorise date string
authorise_status Authorise status string
authorise_user Authorise user string
charges_type charges_type string Charge type is optionally filled
client_authorization_type Client authorization type string
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
credit_gl Credit gl integer
credit_pending_gl Credit pending gl INTEGER
creditor_account creditor_account string Creditor’s account number
creditor_account_destination_tag Creditor account destination tag string
creditor_account_digital_address Creditor account digital address string
creditor_account_domestic Creditor account domestic string
creditor_account_iban creditor_account_iban string The IBAN of the creditor
creditor_account_number Creditor account number string
creditor_account_reference_id Creditor account reference id integer
creditor_address creditor_address string Customer full address
creditor_address_region Creditor address region string
creditor_address_street Creditor address street string
creditor_agent_address creditor_agent_address string Creditor’s agent full address
creditor_agent_bic_swift creditor_agent_bic_swift string Creditor’s agent Bank Identification Code / Swift Code as for the International payment standard.
creditor_agent_code creditor_agent_code string Creditor’s agent Code
creditor_agent_code_type creditor_agent_code_type string Creditor’s agent Code Type
creditor_agent_country creditor_agent_country string The agent is country of a payment creditor
creditor_agent_name creditor_agent_name string The agent name of a payment creditor
creditor_base_account Creditor E-wallet STRING
creditor_city Creditor city string
creditor_client_code creditor_client_code string Unique customer ID in external system
creditor_counterparty_id Creditor counterparty id integer
creditor_country creditor_country string Country wherein a creditor is living or incorporated
creditor_date_of_birth Creditor date of birth string
creditor_entity_type creditor_entity_type string Creditor entity type
creditor_first_name Creditor first name string
creditor_last_name Creditor last name string
creditor_master_account Creditor master account STRING
creditor_master_base_account Creditor master base account STRING
creditor_master_gl Creditor master gl INTEGER
creditor_name creditor_name string Creditor full name [Name] and [Surname] and [Company Name] only for Business customer types respectively
creditor_national_id creditor_national_id string Creditor national ID
creditor_post_code Creditor post code string
currency currency string Currency of counterparty account
currency_exponenta Currency exponenta integer
debet_gl Debit gl integer
debtor_account debtor_account string Debtor’s account number
debtor_account_destination_tag Debtor account destination tag string
debtor_account_digital_address Debtor account digital address string
debtor_account_domestic Debtor account domestic string
debtor_account_iban debtor_account_iban string The IBAN of the debtor
debtor_account_number Debtor account number string
debtor_account_reference_id Debtor account reference id integer
debtor_address Debtor address string
debtor_agent_address Debtor agent address string
debtor_agent_bic_swift Debtor agent bic string
debtor_agent_code Debtor agent sort code string
debtor_agent_code_type Debtor agent code type string
debtor_agent_country Debtor agent country string
debtor_agent_name Debtor agent name string
debtor_base_account Debtor E-wallet STRING
debtor_client_code debtor_client_code string Unique customer ID in external system
debtor_counterparty_id Debtor counterparty id integer
debtor_country Sender\'s country string
debtor_master_account Debtor master account STRING
debtor_master_base_account Debtor master base account STRING
debtor_master_gl Debtor master gl INTEGER
debtor_name debtor_name string Debtor Name and Surname for Individual and Company Name for Business customer types respectively
debtor_national_id Debtor national id string
details details string Details of payment
document_id document_id integer int64 Document ID
document_reference document_reference string
document_type document_type string Document type
enrollement_method Enrollement method string
error_description Error Description string Description of error
external_fee_amount External fee amount NUMBER
external_fee_amount_num External fee amount num double
external_fee_currency External fee currency STRING
external_fee_currency_exponenta External fee currency exponenta INTEGER
fee_account fee_account string Fee account
fee_account_iban fee_account_iban string Fee account IBAN number as for the EU standard
fee_amount fee_amount number decimal Amount of fee
fee_amount_num Fee amount num double
fee_currency fee_currency string Fee currency
fee_currency_exponenta Fee currency exponenta integer
fee_details fee_details string Fee details
fee_id fee_id integer int64 Fee ID
fee_revenue_account Fee revenue account string
fee_revenue_gl Fee revenue gl integer
financial_institution financial_institution string
fixed_side Fixed side string
form_title form_title string Service field
id id integer INT64 Record's sequence number generated in the system.
instruction_codes Instruction codes string
intermediary_account_number Intermediary account number STRING
intermediary_address Intermediary address STRING
intermediary_bic_swift Intermediary bic swift STRING
intermediary_country Intermediary country STRING
intermediary_name Intermediary name STRING
message_type message_type string
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
nonident_account Nonident account string
nostro_account nostro_account string Nostro account
nostro_name Nostro name string
oauth_access_token Oauth access token string
old_client_authorization_type Old client authorization type string
old_processing_status Old processing status string
old_processing_step Old processing step string
original_reference Original reference string
outgoing_chanel Outgoing chanel string
payment_date Payment Date string DATE Payment creation date and time
payment_fee_id Payment fee id integer
payment_reference payment_reference string The unique payment ID as assigned by the ABS system upon Payment registration in the ABS
payment_template_id Payment template id integer
payment_template_initialized Payment template initialized boolean
payment_type payment_type string Payment type
processing_status Processing Status string Processing operation status
processing_step Processing step string
rate rate number decimal Rate of operation

rate_timestamp rate_timestamp string DATETIME Operation Date/time
return_agent_code Return agent code STRING
return_destination_tag Return destination tag STRING
return_digital_address Return digital address STRING
send_amount Send amount number
send_currency Send currency string
source_system Source system string Source system. For Internetbank please setup "IB"
state state integer INT64 Record state for replication
system system string
transaction_type transaction_type string Type of transaction
uid uid string Unique record identifier which is used to distinguish between existing records
ultimate_creditor_name Ultimate creditor name string
ultimate_debtor_name Ultimate debtor name string
unallocated_account Unallocated account string
urgency urgency string Payment’s urgency type as specified by the system or customer
value_date Value Date string DATE
version version integer INT64 Record version for replication
# RESPONSE POSITIVE EXAMPLE
							{
    "status": "ok",
    "error_description": "",
    "error": {},
    "data_type": "system.api.payment.inward.paymentInwardModel",
    "total_records": 1,
    "data": {
        "unallocated_account": "",
        "nonident_account": "",
        "enrollement_method": "ACCOUNT",
        "error_description": "",
        "amount": 60.9,
        "currency": "EUR",
        "urgency": "STANDART",
        "charges_type": "SHA",
        "value_date": "2020-09-22",
        "system": "SEPA",
        "message_type": "",
        "ultimate_debtor_name": "",
        "ultimate_creditor_name": "",
        "debtor_name": "Sergejs Petroff",
        "debtor_address": "Zirmunu g.151",
        "debtor_country": "LT",
        "debtor_ewallet": "",
        "debtor_account": "",
        "debtor_account_iban": "LV89HABA000151A178674",
        "debtor_national_id": "",
        "debtor_agent_name": "ELCOIN UAB",
        "debtor_agent_address": "",
        "debtor_agent_country": "LT",
        "debtor_agent_bic_swift": "LIABLT2XXXX",
        "debtor_agent_code": "",
        "creditor_entity_type": "",
        "creditor_name": "Silver Pink",
        "creditor_first_name": "",
        "creditor_last_name": "",
        "creditor_address": "Brivibas iela 17",
        "creditor_address_street": "",
        "creditor_address_region": "",
        "creditor_city": "",
        "creditor_post_code": "",
        "creditor_country": "LT",
        "creditor_date_of_birth": null,
        "creditor_national_id": "",
        "creditor_ewallet": "60000C26550V",
        "creditor_account": "60000C26550EURF",
        "creditor_account_iban": "LT593420060000C26550",
        "creditor_agent_name": "ELCOIN UAB",
        "creditor_agent_address": "",
        "creditor_agent_country": "LT",
        "creditor_agent_bic_swift": "BAXXLT22XXX",
        "creditor_agent_code": "",
        "creditor_agent_code_type": "",
        "debet_gl": 0,
        "credit_gl": 30360000,
        "fee_amount": 0.0,
        "fee_currency": "",
        "fee_account": "",
        "fee_id": 0,
        "fee_details": "",
        "fee_revenue_gl": 0,
        "fee_revenue_account": "",
        "payment_fee_id": 0,
        "nostro_account": "CBLT.EUR",
        "nostro_name": "",
        "payment_reference": "RMIN200900M05YJ0",
        "payment_attachments": "",
        "send_amount": 0.0,
        "send_currency": "",
        "rate": 0.0,
        "fixed_side": "",
        "rate_timestamp": null,
        "amount_signature": "",
        "fee_account_iban": "",
        "payment_date": "2020-09-22",
        "payment_type": "INWARD",
        "document_id": 28173871,
        "document_reference": "RMIN200900M05YJ0",
        "details": "New Dummy Invoice 22/09/2020 23:49:34.888+03:00",
        "debtor_client_code": "",
        "creditor_client_code": "EN000C26L",
        "debtor_counterparty_id": 2351843,
        "debtor_account_reference_id": 0,
        "creditor_counterparty_id": 2351219,
        "creditor_account_reference_id": 0,
        "financial_institution": "",
        "original_reference": "REF7865-7488",
        "transaction_type": "",
        "document_type": "",
        "old_processing_status": "COMPLETED",
        "old_processing_step": "NORMAL",
        "processing_step": "NORMAL",
        "processing_status": "COMPLETED",
        "uid": "86f0724d-79f3-4b95-7114-3d716811f409",
        "id": 6812334,
        "version": 457879790,
        "create_user": "root",
        "create_date": "2020-09-22T23:49:37.491",
        "modify_date": "2020-10-30T13:26:14.345"
    }
}						
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

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": "[RECORD-NOT-FOUND : Object paymentInwardModel cannot find record payment_inward.uid with value test]",
    "error": {},
    "data_type": "system.api.payment.inward.paymentInwardModel",
    "total_records": 1,
    "data": {}
}