Create Checkout Session

Creates a session and generates a hosted checkout payment link.

Request

This endpoint expects an object.
amountdoubleRequired
The transaction amount.
currencystringRequired

The currency code (e.g., ‘NGN’).

integrationTypeenumRequired
Type of integration.
Allowed values:
merchantReferencestringOptional

Optional merchant-provided reference for the transaction.

redirectUrlstringOptional
Optional URL to redirect after payment.
brandstringOptional
Unique key for transacting entity.
payerTokenstringOptional
PayOS issued token identifier.
payerDetailsobjectOptional
Payer details, required for direct integration.
paymentMethodslist of objectsOptional
List of available payment methods.

Response

Session created successfully with payment link.
sessionIdstring or null
Unique identifier for the session.

Errors