Initialize Transaction
Transactions
Initialize Payment
Initialize a new payment transaction to collect money from customers
POST
Initialize Transaction
Initialize a new payment transaction to collect money from customers via cards, bank transfers, or mobile wallets.
After initializing a payment:
This endpoint creates a payment session and returns a checkout URL where customers can complete their payment securely.
This is the primary canonical initialization endpoint for both the transaction and checkout flows. It maps to
POST /pms/transactions/initialize/, and api-reference/checkout/initialize-transaction is an equivalent alias.Endpoint
POST/pms/transactions/initialize/
Request Body
Customer’s email address for transaction receipt and notifications
Transaction amount in naira (NGN) or the smallest currency unit
For ₦500.00, send
"500" (500 naira)Three-letter ISO currency codeSupported currencies:
NGN, USDUnique transaction reference. If not provided, PayVessel will generate one automatically
URL to redirect customers after payment completion
Payment methods to allow for this transactionAvailable channels:
BANK_TRANSFERIf not specified, all available channels will be enabled
Customer information object
Example Request
Response
Request status indicator -
"success" or "error"Human-readable message describing the result
Transaction data object
Example Response
Verify Payment
Confirm transaction status after payment
Handle Webhooks
Receive real-time payment notifications
Webhook Events
This endpoint triggers the following webhook events:transaction.pending- Transaction created and pending paymenttransaction.success- Payment completed successfullytransaction.failed- Payment failed or was declined
Headers
Your Payvessel public API key
Your Payvessel secret
Request content type
Available options:
application/json Body
application/json
Transaction amount in naira (for NGN) or minor currency units
Payment channels to enable for this transaction
Available options:
BANK_TRANSFER Transaction currency code
Available options:
NGN, USD Customer's full name
Customer's email address
Customer's phone number
Additional information about the transaction
URL to redirect customer after payment completion
Unique transaction reference (optional - auto-generated if not provided)
