Loa Heo Vàng - Đối tác dùng loa
  1. Partner Auth
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 Auth

Refresh token

Testing Env
https://api-test.loaheovang.com
Testing Env
https://api-test.loaheovang.com
POST
/api/v1/partner/auth/refresh

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.loaheovang.com/api/v1/partner/auth/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
    "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlBhcnRuZXIgQXBwIiwiaWF0IjoxNTE2MjM5MDIyLCJ0eXBlIjoicmVmcmVzaCJ9.EcMbJkMw7zR3TNpzLUf2SsGR5U4G5JEfYCI-Ah_0LfQ"
}'
Response Response Example
200 - Example 1
{
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlBhcnRuZXIgQXBwIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
    "tokenType": "Bearer",
    "expiresIn": 3600,
    "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlBhcnRuZXIgQXBwIiwiaWF0IjoxNTE2MjM5MDIyLCJ0eXBlIjoicmVmcmVzaCJ9.EcMbJkMw7zR3TNpzLUf2SsGR5U4G5JEfYCI-Ah_0LfQ"
}
Modified at 2025-06-30 17:11:25
Previous
Get access token for partner client
Next
Health check
Built with