KardiaID Service API
These are APIs that are used for the KardiaID Service (KAIBase).
Get request token
User requests access-token using username and password to KardiaID Service, and KardiaID Service return access-token information
Method: POST
Endpoint: /oauth2/token/
Headers: None
Body:
Sample response
Refresh token
User needs to refresh access-token and KardiaID Service return with new fresh access-token
Method: POST
Endpoint: /oauth2/token/
Headers: None
Body:
Sample response
Get user data
Retrieving user’s information
Method: GET
Endpoint: /user/me/
Headers:
Body: None
Sample response
Register
User enters information during the registration process
Method: POST
Endpoint: /user/register/
Headers: None
Body:
Sample response
Introspec token
Checks the validity of the access token, gets back user information and expiration date.
Method: GET
Endpoint: /oauth2/introspec/
Headers: None
Param:
Sample response
My wallet
Return mainnet wallet address.
Method: GET
Endpoint: /user/my-wallet
Headers:
Body: None
Response:
Sample response
Send transaction
Send transaction to Kardia Mainnet, the endpoint requests Trusted Client Authentication. Transaction is signed with a user private key on KardiaID Service and pushed to Kardia mainnet.
Raw_tx contains fields of Kardia mainnet transactions, in JSON format.
Method: POST
Endpoint: /user/send-transaction
Headers:
Sample request:
Response:
Response contains the transaction hash if success or error message.
Sample response:
Password Reset
KardiaID Service sends an email password reset to user which contains password reset token.
Method: POST
Endpoint: /user/resetpassword/
Body
Password Reset Confirm
Reset user password to new provided password and emailed token.
Method: POST
Endpoint: /user/resetpassword/confirm/
Body:
Last updated