Skip to main content

Transactions

Retrieve and manage transaction details.

Get Transaction

Retrieves the details of a specific transaction by its ID.

Endpoint: GET /transactions/{id}

Parameters

ParameterTypeDescriptionRequired
idstringThe UUID of the transactionYes

Success Response

{
"id": "txn_abcdef",
"amount": 500,
"currency": "USD",
"status": "completed",
"method": "CARD",
"description": "Payment for Invoice #123",
"createdAt": "2023-11-15T10:00:00Z",
"mode": "LIVE"
}

Error Responses

  • 401 Unauthorized: Missing or invalid token.
  • 404 Not Found: Transaction ID not found.