Interfaces

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

check_funds_with_bank

ArgumentsType

financial_address

string

returns

attributesType

financial_address

string

account_balance

number

currency

string

block_funds_with_bank

ArgumentsType

financial_address

string

amount_to_be_blocked

number

currency

string

block_request_reference_number

string

returns

AttributesType

financial_address

string

block_result

SUCCESS or FAILURE

block_error_code

string

block_error_message

string

block_request_reference

string

block_result_reference

string

create_disbursements

Last updated

Logo

Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.