1. ESMS OTP
Vestiuum Malaysia
  • Vendor Invitation
    • Submit Invitation
      POST
    • Check Invitation Status
      POST
  • Authentication
    • Borrower Registration
      POST
    • User Login
      POST
    • Request Reset Password Instructions
      POST
    • Reset Account Password
      POST
  • Trustgate EKYC
    • Request Trustgate Email OTP
      POST
    • Check User Group
      POST
    • Request Trustgate Digital Certificate
      POST
    • Update Trustgate Certificate Email Bindings
      POST
    • Cryptographically Trustgate Digital Sign Document
      POST
    • Retrieve Stored Signature Details
      GET
    • Submit Document Captures For Trustgate EKYC (Upload Gateway)
      POST
    • Invalidate QR Session Token
      POST
    • Check Trustgate EKYC Status Ping
      POST
    • Verify Trustgate Digital Certificate PIN
      POST
    • Change Trustgate Digital Certificate PIN
      POST
    • Save Organization Info
      POST
  • ESMS OTP
    • Send eSMS OTP
      POST
    • Verify eSMS OTP
      POST
    • Get eSMS OTP Signature
      POST
  • Loan Application
    • Apply New Loan Application
      POST
    • Save or Submit Loan Application
      POST
    • Delete Attached Files (Specific Object)
      POST
    • Download Files
      GET
    • Get Loan Applications List
      GET
    • Get Loan Applications List By Page
      GET
    • Get Loan Application Details
      GET
    • Get Loan Offer
      GET
    • Personal Loan Submit Loan Offer (Sign & Accept)
      GET
    • Corporate Loan Submit Loan Offer (Sign & Accept) Copy
      GET
  • Payments
    • Payment List View
    • Payment List View With Page
    • Single Payment Detail View
  1. ESMS OTP

Send eSMS OTP

Developing
POST
api/esms_otp/send_esms_otp
Generates and sends an OTP to the currently authenticated user's registered mobile number for a specific record field.

Request

Query Params

Body Params application/jsonRequired

Example
{
    "params": {
        "model": "loan.application",
        "field": "client_schedule_esms_otp_signature_ids",
        "id": 15,
        "redirect_url": "/my/home"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://staging-auth.fuyoh.my/api/esms_otp/send_esms_otp?model=loan.application&field=client_schedule_esms_otp_signature_ids&id=15&redirect_url=%2Fmy%2Fhome' \
--header 'Content-Type: application/json' \
--data '{
    "params": {
        "model": "loan.application",
        "field": "client_schedule_esms_otp_signature_ids",
        "id": 15,
        "redirect_url": "/my/home"
    }
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "result": {
        "status": 200,
        "message": "OTP generated successfully",
        "esms_otp_generation_id": "gen_839210",
        "esms_otp_response_status": "0",
        "duration": 3,
        "expiration_time": "2024-05-15 10:03:00",
        "recipient_mobile": "60123456789"
    }
}
🟠400Bad Request
🔴500Internal Server Error
Modified at 2026-05-15 02:40:38
Previous
Save Organization Info
Next
Verify eSMS OTP
Built with