Skip to content
tawoe edited this page Sep 22, 2021 · 14 revisions

getBanks:

curl --location --request GET 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks'

getBank: (replace BANGANADERO with your BANK_ID)

curl --location --request GET 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANGANADERO'

getProducts:

curl --location --request GET 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANGANADERO/products'

getProduct:

curl --location --request GET 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANGANADERO/products'

getProductFees:

curl --location --request GET 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANGANADERO/products/1200/fees'

create Product: ( replace YOURTOKEN, BANK_ID, PRODCUCT_CODE)

curl --location --request PUT 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANK_ID/products/PRODUCT_ID' \ --header 'Content-Type: application/json' \ --header 'Authorization: DirectLogin token=YOURTOKEN' \ --data-raw '{ "parent_product_code": "no-example-provided", "name": "no-example-provided", "more_info_url": "no-example-provided", "terms_and_conditions_url": "no-example-provided", "description": "no-example-provided", "meta": { "license": { "id": "5", "name": "TESOBE" } } }'

createFee ( replace YOURTOKEN, BANK_ID, PRODCUCT_CODE)

curl --location --request POST 'https://ifcsandbox.openbankproject.com//obp/v4.0.0/banks/BANK_ID/products/PRODCUCT_CODE/fee' \ --header 'Content-Type: application/json' \ --header 'Authorization: DirectLogin token=YOURTOKEN' \ --data-raw '{ "name": "ACCOUNT_MANAGEMENT_FEE", "is_active": true, "more_info": "for geneneric debit account", "value": { "currency": "COP", "amount": "10.12", "frequency": "MONTHLY", "type": "" } }'

Clone this wiki locally