JUMP TOAffirm APIIntroductionAuthenticationErrorsData TypesMerchant Transaction APITransaction API endpointsTransactions APIList TransactionsgetAuthorize TransactionpostList Transaction EventsgetRead TransactiongetUpdate TransactionpostCapture TransactionpostRefund TransactionpostVoid TransactionpostCheckpout APICheckoutRead CheckoutgetStorepostDirectpostUpdate CheckoutpostCheckout instrumentgetResend CheckoutpostThe checkout objectThe merchant objectThe discount objectThe metadata objectThe item objectThe customer objectThe itinerary objectShipping & billing objectsName objectAddress objectCards APICards APIRead CardgetCancel CardpostFinalize a cardpostProgressgetCharges APICharges APIAuthorize ChargepostList ChargesgetList charge eventsgetRead ChargegetCapture ChargepostRefund ChargepostUpdate ChargepostVoid ChargepostProgressgetCancel Cardpost https://api.affirm.com/api/v2/cards/{checkout_id}/cancelCancels an authorized loan and voids the corresponding virtual card.