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 Spain
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 | slSlne sociedadColectiva sociedadComanditaria eIAutonomo sociedadCivil sociedadCooperativa |
companyNumber | NIF number |
mobilePhoneNumber | The format for this parameter is: +349xxxxxxxx |
countryISOCode | ESP (soon to be added) |
loanCurrencyISOCode | EUR |
Example request
{
"thirdPartyCustomerId": "16d81dac",
"confirmedCreditSearch": true,
"countryISOCode": "ESP",
"loanCurrencyISOCode": "EUR",
"keyContactName": "Sophie Allard",
"companyType": "slSlne",
"companyName": "Test Company",
"companyNumber": "3876497658",
"registeredAddress": {
"line1": "214 Angel Jimenez",
"city": "Sevilla",
"areaCode": "41001",
"country": "Spain"
},
"contactPhoneNumber": "+3200000000",
"contactEmailAddress": "[email protected]",
"preferredLanguageCode": "nl",
"confirmedCreditSearch": true
}