Deferred Authorizations — VP3350
Authorize a card and capture the final amount later — useful for restaurants, hotels, and car rentals where the final amount is unknown at authorization time.
// Authorize
let auth = VP3350TransactionRequest(amount: 50.00, currency: "USD", type: .auth, orderID: "TABLE-7")
vp3350Manager.startTransaction(request: auth) { result in
if result.isApproved { saveTransactionID(result.transactionID) }
}// Capture final amount via API
$post = array('security_key' => KEY, 'type' => 'capture',
'transactionid' => $txid, 'amount' => '57.50');Authorizations must be captured within 30 days.
See the VP3350 overview for the full topic list.