Initiate Payment

Processes a payment transaction directly.

Request

This endpoint expects an object.
sessionIdstringRequired
Session ID from checkout session creation
paymentMethodIdenumRequired
Payment method identifier
paymentDetailsobjectRequired
Payment method specific details
attributesmap from strings to stringsOptional

Additional transaction attributes as key-value pairs

signaturestringOptional
HMAC signature for hosted checkout validation

Response

Payment processed with result
statusstring
Current transaction status
transactionIdstring
Unique transaction identifier
messagestring
Status message describing the transaction state
authStateobject or null
Authentication state union containing all possible transaction states
merchantReferencestring or null
Merchant reference from the original session
sessionIdstring or null
Session ID associated with the transaction
identifiersmap from strings to strings or null
Additional identifiers related to the transaction
paymentAttributesmap from strings to strings or null

Payment-specific attributes and metadata

processorReferencestring or null
Payment processor reference
financialTransactionReferencestring or null
Financial transaction reference from the processor
currentAttemptIdstring or null
Current attempt identifier

Errors