WAB Live Laboratory Testnet Transaction Status
After an authorized Testnet payment, preserve the returned transaction ID. A transaction ID is not itself proof of confirmation. The V4.6 API reference documents POST /api/v5/btc/tx/status with net and txid, authenticated by X-BTC-KEY. Validate that the ID contains 64 hexadecimal characters before querying.
KEY is a disposable Testnet credential; TXID is an existing test transaction.
: "${KEY:?Set disposable key}" "${TXID:?Set existing Testnet txid}"
curl -sS -X POST 'https://api.wab.codes/api/v5/btc/tx/status' \
-H "X-BTC-KEY: $KEY" \
-H 'Content-Type: application/json' \
-d "$(jq -nc --arg txid "$TXID" '{net:"test",txid:$txid}')" | jq .
Check HTTP outcome and JSON .ok. On success inspect .result.txid, .result.net, .result.status, .result.confirmed and .result.confirmations when present. The documented observational schema also includes block_hash, block_time, source and hint. Do not assume all fields are always returned. Match the transaction ID to the original payment and record the observation time. An error or unknown status is not proof that a payment never occurred.
Hosted laboratory warning: The server receives your BTC KEY. Use disposable Testnet credentials only; do not use Mainnet funds. Testnet examples do not establish server-side network restrictions.
Laboratory: https://thamer.org/lab
API reference: https://thamer.org/api
Terms: https://thamer.org/tos
