On This Page
Incremental Authorization
Use this information to process an incremental authorization. This transaction can be applied
to an existing pre-authorization request to increase the authorized amount before
capture.
- Create the online payment service and callincrementTransaction(withID:withAmount:)with the transaction identifier and additional amount.// Throws MposUIReaderError.notActivated if device is not activated let online = try await reader.mposUIOnline() let increment = await online.incrementTransaction( withID: "transactionIdentifier", withAmount: (Decimal(1.00), .USD) ) switch increment { case .success(let transaction): print("Increment successful.") case .cancelledByUser: print("Increment cancelled.") case .error(let developerInfo): print("Increment failed. Info: \(developerInfo)") }