Skip to main content

Process a Refund

This guide shows you how to return money to a customer's card using App2App integration.


Refund Transaction

// Refund for €10.00
startPaymentTransaction(
type = StartTransactionType.REFUND,
amountInCents = 1000,
uniqueTransactionId = "",
enablePrinting = true
)

Parameters

ParameterValueDescription
typeStartTransactionType.REFUNDTransaction type
amountInCents1000Refund amount in cents (€10.00)
uniqueTransactionId""Leave empty for refunds
enablePrintingtrueEnable receipt printing

Amount Format

Always pass amounts in cents/minor currency units (e.g., 1250 = €12.50).