Ledga
GET /transactions/{transactionId}/status

Get a transaction's verification status

Where a transaction's verification state is read once POST /api/v1/transactions has accepted it. Its acknowledgement, and every replay of it, reads pending.

Parameters

NameInTypeDescription
transactionIdrequired path string
uuid
Transaction UUID

Responses

200Successful operation
{
  "success": true,
  "data": {
    "id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a",
    "verification_status": "verified",
    "status": "posted",
    "hash": null,
    "entries_hash": null,
    "verified_at": null
  }
}
401Unauthenticated
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
403Forbidden
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
404Transaction not found
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}

Examples

curl https://ledga.io/api/v1/transactions/{transactionId}/status \
  -H "Authorization: Bearer sk_xxxxxxxx_your_secret"

← All endpoints