When creating a new wallet
- check if customer exists with Dedupe API
- check if vehicle exists with vehicle status API
- Use create wallet API and create wallet
- wait for 30 seconds.
- check with wallet status api, get wallet ID
- optionally check vehicle status API and make sure vehicle is active
Adding a vehicle to an existing wallet
- check vehicle status API and make sure vehicle is not present on Bank or NPCI.
- Use create wallet API. Use wallet.addToExisting. = true and put the right wallet.walletID parameters
- wait for 30 seconds.
- check vehicle status and see if there is a change.