Get Account Connect Url

POST

/public/v3/customers/{customer_id}/account-connect

Account Connect is the simple way to get a ready-to-use UX/UI for sharing data with banks, without the need to handle the full API integration UX/UI yourself. You just need to provide a few details about the purpose of data sharing and any third-party companies involved (if the data will be shared with third parties), and the API will return a ready-to-use URL. You can also specify a redirect URL in the query parameters. After the bank connection process is complete, we will redirect the customer back to the provided URL.

Parameters

ParameterData typeRequired?Description
customer_idstringyesCustomer ID

Query parameters

ParameterData typeRequired?Description
redirectUrlstringnoRedirect URL

Request body parameters

ParameterData typeRequired?Description
application_sharing_third_partiesThird PartynoThird party companies that will receive shared customer data. The end customer must be informed on the Consent Screen about which companies will receive their data. Send an empty array if you will not share data with any third party companies.
application_sharing_purposesSharing PurposenoPurposes for sharing the data. Send an empty array to use the default sharing purpose description. The default description is "Apply bank transaction data to improve your financial credibility"

Third Party

Array of third-party companies that will receive shared customer data. Send an empty array if you will not share data with any third-party companies.

ParameterData typeRequired?Description
company_namestringyesThird Party Company name
company_addressstringnoThird Party Company address
company_citystringnoThird Party Company city
company_countrystringnoThird Party Company country
company_phonestringnoThird Party Company phone
company_emailstringnoThird Party Company email
company_websitestringnoThird Party Company website

Sharing Purpose

Purposes for sharing the data. Send an empty array to use the default sharing purpose description. The default description is"Apply bank transaction data to improve your financial credibility".

ParameterData typeRequired?Description
descriptionstringyesDescription of the purpose of sharing the data

Response Body Parameters

ParameterData typeRequired?Description
urlstringyesURL of the One Time Javascript URL
created_atintegeryesTimestamp of creation
expires_inintegeryesTimestamp of expiration
flowarray<string>yesReturns always: open-banking

Request example

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 curl --location --request POST 'https://api.friendlyscore.com/public/v3/customers/{customer_id}/account-connect?redirectUrl=http://your-website.comt' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {access_token}' \ --data-raw '{ "application_sharing_third_parties" : [ { "company_name" : "Rippin Inc", "company_address" : "415 Nelson Springs", "company_city" : "South Hayleefurt", "company_country" : "Rwanda", "company_phone" : "245-219-4687", "company_email" : "Ethan98@gmail.com", "company_website" : "https://diego.org" } ], "application_sharing_purposes": [ { "description": "Quo aut aut dolor ea accusamus tempora fugiat aut quae." } ] }'

Response example:

1 2 3 4 5 6 7 8 { "url": "https://connect.planky.com/abc-123-456-789", "created_at": 1741334694, "expires_in": 3600, "flow": [ "open_banking" ] }}

Was this article helpful?

Friendly Score UK Ltd.

84 Brook Street

London W1K 5EH

Call us on +44 20 3709 6726

Company registered in England

Company number 09168668, ICO ZA111687

VAT registration number 206 9758 80

Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)