Loa Heo Vàng - Đối tác thanh toán
  1. Partner
Loa Heo Vàng - Đối tác thanh toán
  • Partner
    • Get access token for partner client
      POST
    • Refresh token
      POST
    • Send verification code to speaker device
      POST
    • Register a speaker device for a partner
      POST
    • Unregister a speaker device
      POST
    • Webhook callback endpoint for payment processor to notify transaction status
      POST
    • Update status of multiple speaker devices
      PATCH
    • Create a dynamic QR code for payment
      POST
    • Get speaker device detail
      GET
  • Partner Store
    • Update store information
      PUT
  1. Partner

Send verification code to speaker device

Develop Env
https://api-test.loaheovang.com
Develop Env
https://api-test.loaheovang.com
POST
/api/v1/partner/device/send-verification
Last modified:2025-08-01 02:37:10
Maintainer:Not configured
Sends a verification code to the specified speaker device that will be displayed on the device screen. The verification code is required for device registration and helps ensure that:
1.
The device is physically accessible to the registering user
2.
The device is online and able to receive commands
3.
The device display is functioning correctly
The code will be shown on the device's screen for a limited time and must be used in the subsequent registration call. If the code expires or is entered incorrectly, a new verification code must be requested.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/jsonRequired

Example
{
    "deviceSerial": "PTNR2307150001"
}

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 --request POST 'https://api-test.loaheovang.com/api/v1/partner/device/send-verification' \
--header 'x-client-id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "deviceSerial": "PTNR2307150001"
}'

Responses

🟢200OK
Verification code sent successfully
This response does not have a body.
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-08-01 02:37:10
Previous
Refresh token
Next
Register a speaker device for a partner
Built with