post
https://partners.staging-youlendapi.com/onboarding/Leads
Notice that the 200 response includes the signUpURL to redirect a merchant to their application in the YouLend hosted journey.
Partners can use the variable thirdPartyCustomerId to share their own internal customer ID for the merchant, making it easier for partners to match the lead to their internal systems.
Good to knowFor Embedded components please Include
"leadType": "Embedded"in every Create Lead request. This classifies newly created leads as Embedded. API partners do not need to change their requests: whenleadTypeis omitted or empty, it defaults toApi.
weBe aware (USA)
- In the USA,
employerIdentificationNumberparam is mandatory unlesscompanyTypeisSoleTrader.- When submitting an Address, the
regionparam is mandatory and must correspond to a valid State (eg. "New York"), or a valid ANSI 2 letter State code (eg. "NY").signupClientIpis required for USA leads.