Skip to main content
GET
/
partners
/
mid
/
va
/
{va_account}
/
inquiry
Inquire Virtual Account Transactions
curl --request GET \
  --url https://pay-api.holdstation.com/partners/mid/va/{va_account}/inquiry \
  --header 'Partner-App-Key: <partner-app-key>' \
  --header 'X-HSPay-Signature: <x-hspay-signature>' \
  --header 'X-HSPay-Timestamp: <x-hspay-timestamp>'
{
  "message": "success",
  "data": {
    "merchant_id": "MID123",
    "va_account": "1234567890",
    "va_name": "PARTNER ABC ORDER 12345",
    "va_bank": "Vietcombank",
    "transactions": [
      {
        "trans_id": 9876543210,
        "amount": 1000000,
        "time_paid": 1700000000,
        "cashin_id": 1234567890,
        "remark": "order-12345"
      }
    ]
  }
}

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.

Fetch live transaction history for a virtual account directly from the payment service provider.

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.

Path Parameters

va_account
string
required
The virtual account number to inquire.
{
  "message": "success",
  "data": {
    "merchant_id": "MID123",
    "va_account": "1234567890",
    "va_name": "PARTNER ABC ORDER 12345",
    "va_bank": "Vietcombank",
    "transactions": [
      {
        "trans_id": 9876543210,
        "amount": 1000000,
        "time_paid": 1700000000,
        "cashin_id": 1234567890,
        "remark": "order-12345"
      }
    ]
  }
}