Get Javascript One Time Url



Get a one-time url to render the FriendlyScore WebComponent

Please also read detailed information How to implement Web Component



Query parameters


Request body parameters

ParameterData typeRequired?Description
ipstringyesIP address of the customer. Put if the IP address is unknown
user_agentstringyesUser Agent of the customer. Put "" if the user agent is unknown
user_referencestringyesUser Reference
originstringyesSet the origin where Web Component will be placed. Please remember to add this origin in Developer Panel

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 curl --location --request POST '' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {access_token}' \ --data-raw '{ "user_reference": "customer-1", "user_agent": "user-agent-data", "ip": "", "origin": "http://localhost" }'

Response example:

1 2 3 4 5 6 7 8 { "url": "", "created_at": 1541014557, "expires_in": 1800, "flow": [ "open-banking" ] }

Was this article helpful?

Friendly Score UK Ltd.

52 Brook Street 1st Floor, Mayfair

London W1K 5DS

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: 781963)