Create payment session

Create a new payment session

Request

Create a new payment session
amountintegerRequired0-1000000000000

Payment amount in minor units (e.g. cents)

currencyenumRequired
Currency code
merchantReferencestringRequired

Unique merchant reference. Recommended to be only alphanumeric characters (for acceptance across providers, otherwise note that they might appear stripped to alphanumerics on customer’s statements, e.g. ref-123 -> ref123)

merchantIdstringRequiredformat: "uuid"
Merchant UUID
payerDetailsobjectRequired
Payer details
integrationTypeenumRequired
Integration type
Allowed values:
redirectUrlstringOptionalformat: "uri"
Redirect URL after payment
paymentAttributesmap from strings to stringsOptional

Payment-specific attributes and metadata that will be stored with the session

Response

Session created successfully
sessionIdstring
Unique identifier for the session
payerIdstring or nullformat: "uuid"
Unique identifier for the payer
signaturestring or null
HMAC signature for session verification

Errors