Interfaces
Last updated
Last updated
Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.
Refer to the Technical architecture. As shown in the figure, all outward APIs towards a Sponsor bank is abstracted through an interface - openg2p-g2cb-out-bank-interface-lib.
This interface library (OutwardBankInterface) provides for the following method signatures
financial_address
string
returns
financial_address
string
account_balance
number
currency
string
financial_address
string
amount_to_be_blocked
number
currency
string
block_request_reference_number
string
returns
financial_address
string
block_result
SUCCESS or FAILURE
block_error_code
string
block_error_message
string
block_request_reference
string
block_result_reference
string