Subaccounts & Linking
A subaccount refers to a provider account, linked to an
account.
Before linking the subaccount, it is necessary to generate a "puid" (Provider user id) using the mutation of provider's login.
Retrieving and linking subaccounts requires a private scope.
Each providers requires a specific connection. So they use different mutations.
Login to Lime
The login to Lime requires a mobile phone number in international format. Use the limeLogin query.
The call to this mutation, will send an sms with an OTP code to return to a second mutation. See limeLoginOTP
link subaccount
For linking a subaccount to an account, just call the mutation linkSubAccount with the two parameters.
Continue with rides