Skip to main content

Get Last Transaction

The Get Last Transaction API allows the user to retrieve the most recent transaction processed by a specific terminal. This is useful for the cashier to verify the latest payment activity, status tracking, etc.

GETbaseUrl/api/v1/transactions/latest

Headers

  • Authorization: Bearer {{accessToken}} (Include the token obtained from the Authentication API)
  • Content-Type: application/json

This endpoint takes no additional parameters beyond the required headers — it returns the latest transaction for the terminal identified by your access token.

Usage Tips

  • This API is ideal for fetching receipt data after a successful transaction, or for reconfirming recent POS activity.
  • If a transaction does not appear as confirmed on the client app due to a connectivity issue, use the status and statusMessageEn fields to validate transaction success before printing receipts or showing confirmation.
  • Be sure to securely store or display the masked PAN only (e.g., 535825******5490), never the full card number.