Aldy Pay
  1. Auth
Aldy Pay
  • Vendors
    • Auth
      • Login With Password
        POST
      • Login Get Code
        POST
      • Login With Code
        POST
      • Send OTP
        POST
    • Transaction
      • Assets
      • Transactions
      • Invoice
      • Refund
  1. Auth

Login With Password

POST
/api/v1/vendors/auth/login

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Invalid Auth Data
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://devbo.aldypay.com/api/v1/vendors/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "username",
    "password": "password"
}'
Response Response Example
200 - Success
{
  "status": true,
  "code": 0,
  "description": "string",
  "data": {
    "access_token": "string",
    "expires_at": 0,
    "token_type": "string",
    "user": {
      "company": {
        "company_channel": 0,
        "company_id": 0,
        "company_name": "string",
        "company_phone": "string"
      },
      "full_name": "string",
      "id": 0,
      "is_active": true,
      "mobile": "string",
      "national_id": "string",
      "password_need_change": true,
      "permissions": [
        "string"
      ],
      "personal_code": "string",
      "role": [
        "string"
      ],
      "username": "string"
    }
  }
}
Modified at 2025-10-26 05:09:05
Next
Login Get Code
Built with