-
Notifications
You must be signed in to change notification settings - Fork 443
SFC Code Examples
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": "" } }'