After initializing a transaction, you transfer control to your customer to complete payment. Hence, online payments require you to always run a verification check even if you are informed that payment has been completed.
Transaction verification provides a way for you to confirm the status of a transaction. A transaction may be in a processing state if payment processor networks are having a slow day. However, once a transaction is completed, a verification request will let you know if it was successful or failed.
NOTE: If a verified transaction is successful, you can give value to your customer as SwitchApp guarantees that payment has been received.
Retrieves a transaction with the specified reference.
get
Authorizations
AuthorizationstringRequired
API Key as Bearer Token
Path parameters
tx_refstringRequired
The reference of the transaction to retrieve
Responses
200
Returns 200 and the requested transaction
application/json
400
Returns 400 if the query is invalid
401
Returns 401 when authorization details is invalid
404
Returns 404 if a transaction with the specified id is not found