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 Code

POST
/api/v1/vendors/auth/login

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠401Invalid Auth Information
🟠400Bad Request
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 '{
    "mobile": "09xxxxxxxxx",
    "code": "889744"
}'
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:13:16
Previous
Login Get Code
Next
Send OTP
Built with