API Authentication
Login
POST /v1/login
This api end point will be used for token to pass in all requests for future calls, without Authorization header with correct access_token system will not allow any further api calls.
Headers
Name
Value
Content-Type
application/json
Body
Name
Type
Description
email
Email as your Bankz Admin login
password
text
Password for your Bankz Admin Account
Response
{
"status": "success",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvYXBpL3YxL2xvZ2luIiwiaWF0IjoxNzMxNDg4OTk3LCJleHAiOjE3MzE0OTI1OTcsIm5iZiI6MTczMTQ4ODk5NywiansRpIjoibGs90elF3fcWIzcsjdZQUzkzcCIsInN1YiI6IjE4wNyIasInBydiI6IjIzYmQ1sYzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjciLCJlbWFpbCI6ImFkbWluQGJhbmt6LmV1IiwibmFtZSI6IkNPUEVsOSEFHRUs4gREVTSUdOIFNUVURJT1MifQ.6W9YXt1j-SBsQYmiDhub5MFgWKHXteelNuSUQoQSG71I",
"type": "bearer"
}{
"status": "error",
"message": "Unauthorized"
}Last updated
Was this helpful?