Aside from the webhooks Basqet sends, you can also verify the transaction status of your customer’s payment.
API Details
Field
Value
Action
Verify Transaction
Method
GET
Path
/v1/transaction/:transaction_id/status
Auth Requirement
Public or secret key using Bearer Auth
Business Summary
This endpoint verifies the current status of a transaction using its unique transaction ID. It returns the latest transaction details, allowing you to check the current state of the customer’s transaction.
You can use this API to:
Confirm payment success: Verify if a transaction has reached the SUCCESSFUL status before delivering the product or service to the customer.
Poll for updates: Check the real-time status of a pending transaction to update your UI, especially if webhooks are delayed or unavailable.