Skip to main content
GET
/
partners
/
mid
/
va
List Virtual Accounts
curl --request GET \
  --url https://pay-api.holdstation.com/partners/mid/va \
  --header 'Partner-App-Key: <partner-app-key>' \
  --header 'X-HSPay-Signature: <x-hspay-signature>' \
  --header 'X-HSPay-Timestamp: <x-hspay-timestamp>'
{
  "message": "success",
  "data": {
    "vas": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "partner_id": "partner-xyz",
        "va_account": "1234567890",
        "va_name": "PARTNER ABC ORDER 12345",
        "va_bank": "Vietcombank",
        "remark": "order-12345",
        "status": 1,
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z",
        "expired_at": "2025-01-01T00:00:00Z"
      }
    ],
    "total_count": 1,
    "page": 1,
    "page_size": 20
  }
}

Documentation Index

Fetch the complete documentation index at: https://pay-docs.holdstation.com/llms.txt

Use this file to discover all available pages before exploring further.

List all virtual accounts created by the partner, sorted by creation time descending. Results are served from Holdstation Pay’s database — no upstream call to the payment service provider is made.

Authentication

Partner-App-Key
string
required
Your partner app key.
X-HSPay-Signature
string
required
Base64-encoded Ed25519 signature of the sign data.
X-HSPay-Timestamp
string
required
Unix timestamp (seconds) of the request. Must be within 60 seconds of server time.
{
  "message": "success",
  "data": {
    "vas": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "partner_id": "partner-xyz",
        "va_account": "1234567890",
        "va_name": "PARTNER ABC ORDER 12345",
        "va_bank": "Vietcombank",
        "remark": "order-12345",
        "status": 1,
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z",
        "expired_at": "2025-01-01T00:00:00Z"
      }
    ],
    "total_count": 1,
    "page": 1,
    "page_size": 20
  }
}