Transaction

Transaction: Adjust Authorization

note

Authorization and capture can incur merchant fees in some markets. For more information, see your Braintree User Agreement.

See also the Transaction response object.

After creating a transaction, the authorized amount of the transaction can be adjusted.

You can only adjust authorization for transactions that have a status of authorized. The required information is the transaction ID and the amount.

When a transaction is submitted for adjust authorization , if the new authorizing amount is less than the original authorized amount, we attempt a partial reversal to reverse the difference back to the cardholder. If the new authorizing amount is greater than the original authorized amount, we attempt an incremental authorization to increase the authorized amount.

  1. DOTNET
TransactionRequest request = new TransactionRequest
{
  Amount = 10.0M,
};

Result<Transaction> result = gateway.Transaction.AdjustAuthorization("the_transaction_id", request);

if (result.IsSuccess()) {
  Transaction adjustedTransaction = result.Target;
} else {
  Console.WriteLine(result.Errors);
}
Arguments
TransactionIdrequired, string

The unique transaction identifier. You can only adjust authorization of transactions that have a status of authorized.

Additional Parameters
AmountDecimal
The adjusted amount to be authorized for the transaction. This value must be greater than 0 and can't be same as current authorized amount of the transaction, and must match the currency format of the merchant account.