1. Trustgate EKYC
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. Trustgate EKYC

Request Trustgate Email OTP

Developing
POST
api/trustgate_email_otp/request_email_otp
Evaluates if the user currently possesses an unexpired, unused OTP for this purpose. If yes, it returns the existing record. If not, it executes a live upstream API handshake with Trustgate to generate and dispatch a new OTP to the user's email address, storing the trackable database record.

Request

Body Params application/jsonRequired

Example
{
    "otp_usage": "string",
    "loan_application_id": 0,
    "use_for": "string",
    "partner_id": 0,
    "encrypted_user_id": "string"
}

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/trustgate_email_otp/request_email_otp' \
--header 'Content-Type: application/json' \
--data '{
    "otp_usage": "string",
    "loan_application_id": 0,
    "use_for": "string",
    "partner_id": 0,
    "encrypted_user_id": "string"
}'

Responses

🟢200Success
application/json
Successfully found an existing unused OTP
Bodyapplication/json

Example
{
    "status": 200,
    "message": "Success",
    "data": [
        {
            "id": 143,
            "otp_usage": "NU",
            "loan_application_id": 123,
            "expiry_datetime": "2026-05-14T03:47:29.705Z",
            "partner_id": 45,
            "status": "success"
        }
    ]
}
🟢201Created
🟠400Bad Request
🟠400Bad Request
🟠400Bad Request
🟠400Bad Request
🔴500Internal Server Error
Modified at 2026-05-14 02:47:54
Previous
Reset Account Password
Next
Check User Group
Built with