Login a merchant
POST
/merchants/login
const url = 'https://api.bizzle.my/v1/merchants/login';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.bizzle.my/v1/merchants/login \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Idempotency-Key
string
Unique identifier used to replay requests safely.
Responses
Section titled “Responses”OK.
Error response.
Media typeapplication/json
object
error
required
string
message
string
code
string
details
object
Example generated
{ "error": "example", "message": "example", "code": "example", "details": {}}Too many requests.
Media typeapplication/json
object
error
required
string
message
string
code
string
details
object
Example generated
{ "error": "example", "message": "example", "code": "example", "details": {}}Headers
Section titled “Headers”RateLimit-Limit
integer
Maximum requests per window.
RateLimit-Remaining
integer
Requests remaining in the current window.
RateLimit-Reset
integer
Unix seconds when the window resets.
Retry-After
integer
Seconds to wait before retrying (on 429/handled outages).