curl --request POST \
--url https://api.paypulse.io/v1/auth/login \
--header 'Content-Type: application/json' \
--data '{
"email": "jane@example.com",
"password": "s3cur3P@ssword!"
}'
{
"message": "Login successful!",
"code": 200,
"data": {
"username": "Jane Doe",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer"
}
}
Authenticate and receive a JWT access token.
curl --request POST \
--url https://api.paypulse.io/v1/auth/login \
--header 'Content-Type: application/json' \
--data '{
"email": "jane@example.com",
"password": "s3cur3P@ssword!"
}'
{
"message": "Login successful!",
"code": 200,
"data": {
"username": "Jane Doe",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer"
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/azfar-imtiaz/PayPulse-Cloud/llms.txt
Use this file to discover all available pages before exploring further.
"Login successful!"200 on success.access_token in the Authorization header of all subsequent requests that require authentication: Authorization: Bearer <access_token>.| Status | Error code | Description |
|---|---|---|
400 | INVALID_JSON | The request body is not valid JSON. |
400 | MISSING_FIELDS | One or more required fields (email, password) are absent. |
401 | INVALID_CREDENTIALS | The password does not match the stored credential. |
404 | USER_NOT_FOUND | No account exists for the given email address. |
500 | JWT_ERROR | The server failed to generate the JWT token. |
500 | INTERNAL_SERVER_ERROR | An unexpected server-side error occurred. |
{
"error": {
"code": "INVALID_CREDENTIALS",
"message": "Invalid Credentials"
}
}
curl --request POST \
--url https://api.paypulse.io/v1/auth/login \
--header 'Content-Type: application/json' \
--data '{
"email": "jane@example.com",
"password": "s3cur3P@ssword!"
}'
{
"message": "Login successful!",
"code": 200,
"data": {
"username": "Jane Doe",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer"
}
}