Skip to main content
DELETE
/
partners
/
mid
/
va
/
{va_account}
Revoke Virtual Account
curl --request DELETE \
  --url https://pay-api.holdstation.com/partners/mid/va/{va_account} \
  --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_status": "4"
  }
}

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.

Revoke a virtual account and mark it as expired in Holdstation Pay. Revoked accounts can no longer receive payments.

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 revoke.
{
  "message": "success",
  "data": {
    "merchant_id": "MID123",
    "va_account": "1234567890",
    "va_status": "4"
  }
}
va_status value 4 indicates the virtual account has been revoked.