capabilities.work

Initialize and Verify Transaction

A 2-step recipe with Paystack. We can help you get access.

Recipe · 2 steps

Initialize and Verify Transaction

Create a transaction, then poll its verification result by reference.

  1. Create a new transaction for the supplied customer email and amount and capture the authorization URL and reference Paystack returns.
  2. Verify the transaction using the reference returned at initialization and branch on whether the charge ultimately succeeded.
What you'll need to have ready
  • email: Customer's email address the transaction is initialized for.
  • amount: Amount in the smallest currency unit (kobo for NGN, pesewas for GHS, cents for ZAR).
  • currency: Transaction currency (NGN, GHS, ZAR or USD).
  • callback_url: Optional fully qualified callback URL to override the dashboard default.
For your developer

Arazzo workflow paystack:initialize-and-verify-transaction, 2 operations: transaction_initialize → transaction_verify. Specs on APIs.io.