Associate a NFC card to a Cyclist account¶
NFC cards can be use to start a trip. A cyclist can associate a card by two means:
Directly from the App
Directly on the bike
The card can be replaced or removed. A cyclist can not have 2 cards associated at the same time.
1. Directly from the App¶
You can offer the possibility to your users to associate a card to his account from the app.
He needs to send the number of the card. Depending of the card, this number can be written on it, or only readable by a NFC reader. More information in the Passes endpoints documentation.
2. Directly on the bike¶
As it is not always possible to use the smartphone NFC reader (specially on iOS), some people won’t be able to use these kind of cards. To prevent those users from being blocked, we added the possibility to use our bike NFC reader to associate a card to an account
Warning
The user must already have an active account created
How it works¶
The cyclist wakes up a vehicle by pressing the power button
He present its card on top of the NFC reader
The iot check if the pass is registered
If not, it ask for the phone number of the cyclist’s account
The user type its phone number with the vehicle keyboard
If an account with this number existe, our backend send a confirmation code by SMS to the user
The user enters the confirmation code on the vehicle keyboard
If the code is correct, the card is associated to the account
Once associated, the account is active with an active abonnement, the user can rent a vehicle with his card.