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.

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

Parameters

Description

companyType

slSlne sociedadColectiva sociedadComanditaria eIAutonomo sociedadCivil sociedadCooperativa

companyNumber

8-figure NIF/CRN (submit stage 1 will return an error if this NIF/CRN is not provided, unless the business is a eIAutonomo or sociedadCivil)

Example: B12345678

mobilePhoneNumber

The format for this parameter is: +349xxxxxxxx

countryISOCode

ESP

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
}