Paystack icon

Paystack

Interact with Paystack API

Actions22

Transaction → Fetch

AI-generated

Summary

Fetch a transaction's details from Paystack using its transaction ID or reference.

Inputs

  • Transaction ID or Reference (required) — The ID or reference of the transaction to fetch.

Output shape

a JSON object with the transaction's details as returned by Paystack's API

Returns the transaction data extracted from Paystack's response. Errors are returned as JSON objects with an error message when 'Continue on Fail' is enabled.

Examples

Example 1: Fetch a transaction by its unique identifier or reference to retrieve its current status and details.

Set Resource to 'Transaction', Operation to 'Fetch', and provide the Transaction ID or Reference parameter.

Links

Discussion