Authentication and environments
Base URLs for the EU platform (when interacting with YouLends APIs)
When interacting with our EU specific endpoints, please use the below URLs.
Environment | Base URL |
---|---|
EU (production) | https://youlendapi.com |
EU (staging) | https://partners.staging-youlendapi.com |
Authentication URLs (to request an access token)
Good to know
Please visit our Authentication guide for more information regarding authenticating in Ireland
Environment | URL |
---|---|
EU (production) | https://youlend.eu.auth0.com/oauth/token |
EU (staging) | https://youlend-stag.eu.auth0.com/oauth/token |
Onboarding APIs
This section focuses on all APIs that partners can interact with when onboarding a merchant.
Parameter callouts
Parameters | Description |
---|---|
companyType | Ltd Plc Llp SoleTrader Partnership |
companyNumber | 8-figure CRN (submit stage 1 will return an error if this CRN is not provided, unless the business is a SoleTrader or Partnership ) |
mobilePhoneNumber | The format for this parameter is: +353xxxxxxxxx |
countryISOCode | IRL |
loanCurrencyISOCode | EUR |
Example request
{
"thirdPartyCustomerId": "16d81dac",
"confirmedCreditSearch": true,
"countryISOCode": "IRL",
"loanCurrencyISOCode": "EUR",
"keyContactName": "Sophie Allard",
"companyType": "Ltd",
"companyName": "Test Company Limited",
"companyNumber": "97537567",
"registeredAddress": {
"line1": "5 Happy Road",
"city": "Dublin",
"areaCode": "D03NT18",
"country": "Ireland"
},
"contactPhoneNumber": "+353000000000",
"contactEmailAddress": "[email protected]",
"preferredLanguageCode": "en",
"confirmedCreditSearch": true
}