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
| Parameter | Value | Description |
|---|---|---|
type | StartTransactionType.REFUND | Transaction type |
amountInCents | 1000 | Refund amount in cents (€10.00) |
uniqueTransactionId | "" | Leave empty for refunds |
enablePrinting | true | Enable receipt printing |
Amount Format
Always pass amounts in cents/minor currency units (e.g., 1250 = €12.50).