Client Documentation

Overview

General Points    

1. All the API functions are request by user only through HTTP.
2. All APIs are based on UTC timezone.

Auth    
All API's are token based except GetUserByPhoneNumber, Login, LoginWithOtp, Register, ForgotPassword and GetUserInfo.

1. User will receive token in login api after successfully login.
2. If user are not registered and going to register himself then after successfully register user will receive token.
3. If User trying to login with otp (Only if you have integrate phone authentication) instead of using password then you have to call LoginWithOtp api and receive token on succefully login.
4. If User forgot password then also after successfully changepassword by following forgot password api steps he will receive token.

Login, Register & Check user exist or not   

1. To check user is exist or not you have to call GetUserByPhoneNumber api if user exist then redirect on login page or if not then redirect on register page.
2. Login and Register both the api return token on successfull response so user does not need to login after register.

User Specific   

1. This section has all the user specific api which is get user info, change password, forgot password, add concern, get balance, get player id, Recharge in player id and withdraw from player id.

Bank Accounts   

1. This section has Api's to get, add, update and delete bank account. Which allow client to add multiple account and modify them.
2. This account is used by admin to send amount when client request for withdrawl. Every added bank has a unique bank id which is auto generated.

Upi Accounts   

1. This section has all UPI transaction related Api's. Client can add and modify their UPI Account.

Payment Related   

This section has Deposit, Withdrawl, ID Creation, Payment method and Payment method details Api's.
1. Deposit, Withdrawl and Id Creation all these request will be send by Transactionrequest Api.
2. Every request has a unique Transaction id which is auto generated.
3. Every request has a unique Reference number which is generated by IDApp for admin to identify Transaction.
4. Payment method api has the list of payment method which is added by admin for client. client can only add that type of upi accounts. Payment method details Api return details of admin's upi account so client can pay amount on that account.

Site & Bank List & Offers   

1. This Api is common Api's for all Client's to display list of sites which is added by admin so client can check that site. Admin also provide one demo credentials to client so they can Login on that site and check full site before buying a real id.


To check the secured api responce you need to get token by login and add that token in Authorise option, after that click on the Try it out button now you will see the responce of api.