Instance Method

auth(transactionId:amount:breakdown:eventId:)

Authorize an incremental amount on an existing transaction

Declaration

func auth(transactionId: String, amount: Int, breakdown: PaymentBreakdown? = nil, eventId: String? = nil) async throws -> TransactionResponse

Parameters

transactionId

The transaction ID to authorize additional amount for

amount

The additional amount in cents to authorize (required)

breakdown

Optional payment breakdown with tax, tip, etc.

eventId

Optional event ID (UUID4 format) for tracking

Return Value

Transaction response with authorization details