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

Get speaker device detail

Develop Env
https://api-test.loaheovang.com
Develop Env
https://api-test.loaheovang.com
GET
/api/v1/partner/device/{serial}
Last modified:2025-08-01 02:37:10
Maintainer:Not configured
Get detail of a speaker device associated with a partner. This endpoint allows:
1.
Get detail of a speaker device
2.
Only devices registered to the partner can be get detail
3.
Device is locked if it is not active (active=false)
4.
Device is offline if it is not connected (connected=false)
5.
Device is unlinked if it is not assigned to any store (stores=[])
6.
The response includes information about the device and linked stores

Request

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

Header Params

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 GET 'https://api-test.loaheovang.com/api/v1/partner/device/' \
--header 'x-client-id;' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
Result of the device detail operation
Body

Example
{
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "serial": "TV1001250416000214",
    "deviceName": "Kitchen Speaker",
    "active": true,
    "connected": false,
    "partnerClientId": "partner-123",
    "rmCode": "SA-123",
    "stores": [
        {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "storeName": "Cafe Milano",
            "ownerName": "Nguyen Van A",
            "identityNumber": "123456789012",
            "bankName": "Ngân hàng TMCP Quân đội (MB Bank)",
            "bankCode": "MB",
            "bankAccountNumber": "0123456789012",
            "bankAccountName": "NGUYEN VAN A",
            "phoneNumber": "0987654321",
            "terminalID": "T123456789",
            "terminalName": "MB-CafeMilano-001",
            "staticQRCode": "00020101021238...[long QR string]",
            "totalTransaction": "1250",
            "totalAmount": "25000000"
        }
    ]
}
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-08-01 02:37:10
Previous
Create a dynamic QR code for payment
Next
Update store information
Built with