Skip to main content

Process a Pre-Authorization

This guide shows you how to reserve funds on a customer's card without capturing them immediately.


Pre-Authorization

// Pre-auth for €50.00
startPaymentTransaction(
type = StartTransactionType.PREAUTH,
amountInCents = 5000,
uniqueTransactionId = "",
enablePrinting = true
)

Parameters

ParameterValueDescription
typeStartTransactionType.PREAUTHTransaction type
amountInCents5000Amount to reserve in cents (€50.00)
uniqueTransactionId""Leave empty for pre-auth
enablePrintingtrueEnable receipt printing

Important

Store the uti from the response—you'll need it to complete the pre-authorization later.