Finalizes an authorized or captured loan down to the amount that has been captured on the Virtual Card at the moment of the API's execution. If no funds have been captured, the loan will be voided/canceled. If any funds have been captured, the loan will be refunded down to the amount that is outstanding (including a full refund, if the card has been fully refunded).
Returns the Response object.
The Finalize API is only functional practically in the Affirm production environment. Please contact Affirm for details on testing.