Spain
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 knowPlease 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 |
|---|---|
|
|
| 8-figure NIF/CRN (submit stage 1 will return an error if this NIF/CRN is not provided, unless the business is a Example: |
| The format for this parameter is: |
|
|
|
|
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
}Updated about 2 months ago