Loa Heo Vàng - Đối tác dùng loa
  1. Partner Customer
Loa Heo Vàng - Đối tác dùng loa
  • Guideline
  • Partner Auth
    • Get access token for partner client
      POST
    • Refresh token
      POST
  • Partner Customer
    • Health check
      GET
    • Notification webhook callback (demo)
      POST
    • Get list store
      GET
    • Create a dynamic QR code for payment
      POST
  • Schemas
    • Schemas
      • ErrorResponsePayloadDto
      • StorePayloadListDto
      • CreateStoreQRParamDto
      • CreateStoreQRResponseDto
      • PartnerAuthTokenRequestDto
      • PartnerAuthTokenResponseDto
      • PartnerAuthRefreshRequestDto
      • PartnerPaymentNotificationRequestDto
      • PartnerCustomerNotificationResponseDto
      • StorePayloadDto
  1. Partner Customer

Notification webhook callback (demo)

Testing Env
https://api-test.loaheovang.com
Testing Env
https://api-test.loaheovang.com
POST
/api/v1/partner/customer/notification
Webhook callback demo the notification endpoint that partner customer must implement to receive notification from Loa Heo Vang.
To ensure the security, integrity, and trustworthiness of communications between your system and the Loa Heo Vang system, we require the implementation of two main security layers:
Transport Layer Security with mTLS (Mutual Transport Layer Security): Guarantees the confidentiality of data in transit and provides mutual authentication of both systems.
Application/Data Layer Security with Digital Signatures for Payload: Ensures the integrity of the data within the message and authenticates the origin of the message.
Adherence to these security requirements is mandatory to establish and maintain a stable and secure connection with the Loa Heo Vang system.
The endpoint must be publicly accessible and accept POST requests. The endpoint must be able to handle the following parameters:
storeId: The store id of the payment
payDate: The pay date of the payment
billNumber: The bill number of the payment
transactionAmount: The transaction amount of the payment
notice: The notice of the payment
The payload must be signed with the private key of the partner. The signature must be verified with the public key of the partner. The signature must be in the header of the request. The header name is "X-Signature".

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.loaheovang.com/api/v1/partner/customer/notification' \
--header 'Content-Type: application/json' \
--data-raw '{
    "billNumber": "BILL202305250001",
    "transactionAmount": "250000",
    "notice": "Thanh toán hóa đơn",
    "storeId": "string",
    "payDate": "2023-05-25T14:35:12.000Z"
}'
Response Response Example
200 - Example 1
{
    "message": "string"
}
Modified at 2025-06-30 17:11:25
Previous
Health check
Next
Get list store
Built with