Overview
Transactions represent payment attempts from your customers. The typical flow involves:- Initializing a transaction to get a payment URL
- Redirecting customers to complete payment
- Verifying the transaction after payment
- Handling the response
Initialize a Transaction
Create a payment session and get an authorization URL for your customer.1
Import and initialize the SDK
2
Initialize the transaction
3
Redirect the customer
Initialize Parameters
string
required
Customer’s email address
string
required
Amount to charge in kobo (multiply by 100 for naira)
string
default:"NGN"
Currency code:
NGN, USD, GHS, ZAR, KES, or XOFstring
Unique transaction reference (auto-generated if not provided)
string
URL to redirect customer after payment
array
Payment channels to enable:
card, bank, ussd, qr, mobile_money, bank_transfer, eft, apple_payobject
Custom data to store with the transaction
string
Split payment configuration code
Verify a Transaction
After payment, verify the transaction status using the reference.Always verify transactions on your server before fulfilling orders. Never rely solely on frontend confirmations or webhooks without verification.
List Transactions
Retrieve a paginated list of transactions on your integration.List Parameters
number
default:"50"
Number of transactions per page (max: 100)
number
default:"1"
Page number to retrieve
string
Filter by status:
success, failed, abandonedstring
Filter by customer ID
string
Start date (ISO 8601 format)
string
End date (ISO 8601 format)
Get Single Transaction
Fetch details of a specific transaction by ID.Charge Authorization
Charge a customer using a previously authorized payment method.Transaction Timeline
View the event history of a transaction.Transaction Totals
Get total volume of transactions on your integration.Export Transactions
Export transactions to a CSV file.Partial Debit
Retrieve part of a payment from a customer.This feature is typically used for split payments where the full amount isn’t needed upfront.
Error Handling
Handle transaction errors gracefully:Best Practices
Common Scenarios
One-time Payment
Recurring Charges
Related Resources
- Webhooks Guide - Handle real-time payment events
- Transaction API Reference - Full API documentation
- Split API Reference - Split revenue between accounts

