Get Bearer Token
Creating a bearer token
Create login request.
POST
https://api.ozurapay.com/users/login
Creates a new login request and sends back bearer token.
Request Body
Name
Type
Description
email*
string
Email of registered merchant
password
string
Password of registered merchant
{
"data": {
"id": "65bfff25068dk9f931f207a3",
"name": "Joe Doe",
"email": "[email protected]",
"role": "merchant",
"depositAddress": "0x1L003ec923869bcEA550226A2a110b2337bEe0c2",
"token": "eyJmaFciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1YmZmZjI1MDY4ZGQzZjkzMWYyMDdhMyIsIm5hbWUiOiJZdWdlbiBDaG9rc2hpIiwiZW1haWwiOiJ5dWdlbkBvenVyYXBheS5jb20iLCJyb2xlIjoibWVyY2hhbnQiLCJkZXBvc2l0QWRkcmVzcyI6IjB4MUY4MDNlYzkyMzg2OWJjRUE1NTAyMjZBMmExMTBiMjMzN2JFZTBjMiIsImlhdCI6MTcyMDc1OTE4MSwiZXhwIjoxNzIxNjIzMTgxfQ.3Y_aD8mZe-JNW4fSXmV3_5ZXc4n2Tp0dNzHvjiun2IY"
},
"code": 200,
"message": "Success Login"
}
Creating a user
Last updated
Was this helpful?