Generate access_token (OFDA)
POST {{baseUrl}}/api/token/
The
Generate access_token (OFDA)
request will generate an
access_token
for our OFDA-specific widget (applicable only for Brazil).
Once you run this request, you can open up the console to see a formatted URL that you can copy and paste into a browser to start our Hosted Widget. To change the parameters of the Hosted Widget, click the
Tests
tab of this collection and change the relevant parameters in the
queryParams
object.
Request Body
{"id"=>"{{secretId}}", "password"=>"{{secretPassword}}", "scopes"=>"read_institutions,write_links,read_links,read_consents,write_consents,write_consent_callback,delete_consents", "credentials_storage"=>"365d", "stale_in"=>"365d", "fetch_resources"=>["ACCOUNTS", "TRANSACTIONS", "OWNERS", "BILLS"], "widget"=>{"openfinance_feature"=>"consent_link_creation", "branding"=>{"company_terms_url"=>"https://belvo.com/terms-service/"}, "consent"=>{"terms_and_conditions_url"=>"https://www.belvo.com", "permissions"=>["REGISTER", "ACCOUNTS", "CREDIT_CARDS", "CREDIT_OPERATIONS"], "identification_info"=>[{"type"=>"CPF", "number"=>"76109277673", "name"=>"Ralph Bragg"}]}}}
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: ``