Spain guide

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.

EnvironmentBase 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

EnvironmentURL
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

ParametersDescription
companyTypeslSlne sociedadColectiva sociedadComanditaria eIAutonomo sociedadCivil sociedadCooperativa
companyNumberNIF number
mobilePhoneNumberThe format for this parameter is: +349xxxxxxxx
countryISOCodeESP (soon to be added)
loanCurrencyISOCodeEUR

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
}