Skip to main content

Get transaction info

Retrieve a single transaction by its ID or reference. You must provide at least one of transactionId or reference.

Query parameters

string
The UUID of the transaction. Takes precedence over reference when both are provided.
string
The unique reference string assigned to the transaction.
You must supply either transactionId or reference. Requests that omit both will receive a 400 error.

Response

boolean
true when the request succeeded.
object
The matching transaction record.

Get batch transaction details

Retrieve the details of a single batch transaction by its reference.

Path parameters

string
required
The reference of the batch transaction.

Response

boolean
true when the request succeeded.
object
The batch transaction record. Internal fields mode and merchantId are excluded.

Approve a pending transaction

Approve a pending transaction that is at or above your user’s configured approval limit. You cannot approve a transaction you initiated unless you are the merchant account owner.

Request body

string
required
The UUID of the pending transaction to approve.

Response

boolean
true when the approval succeeded.
string
Confirmation message: "Transaction successfully approved.".
This action is irreversible once the underlying transfer has been processed. Ensure you have verified the transaction details before approving.

Reverse a transaction

Reverse a completed transaction and credit the originating wallet. This endpoint is restricted to admin users only.
This endpoint requires admin-level access. Merchant tokens will receive a 403 Forbidden response. Only transactions in a pending state can be reversed.

Request body

string
The reference string of the transaction to reverse. Provide either this or transactionId.
string
The UUID of the transaction to reverse. Takes precedence when both fields are present.

Response

boolean
true when the reversal succeeded.
string
Confirmation message: "Transaction successfully reversed".
The reversal creates a corresponding CREDIT transaction with reference prefixed r- (e.g. r-TXN-20240401-001) and marks the original transaction as failed.

Remove a pending transaction

Cancel and remove a pending transaction. The transaction status is set to CANCELLED.

Path parameters

string
required
The UUID of the pending transaction to cancel.

Response

boolean
true when the cancellation succeeded.
string
Confirmation message: "Transaction successfully declined.".