Skip to main content
This page is part of the REST API Guides. Using the JavaScript library instead? See Payments Library Guides.
Prerequisites: API key and Payment Gateway Account configured. Authorization places a hold on funds without capturing them immediately. Use capture, void, or refund to complete the transaction lifecycle.
Some payment processors require additional parameters. See the Additional Guidance section for processor-specific requirements.

When to Use Authorize

  • Physical goods: Authorize at checkout, capture when shipped
  • Variable amounts: Authorize an estimate, capture the actual amount
  • Verification: Confirm a card is valid before providing a service
  • Hotels/rentals: Authorize a hold, capture the final bill

Authorize

Authorize API Reference

Complete parameter reference for authorize requests
Save the transaction ID from the response. You’ll need it for capture, void, or refund operations.

Authorize with Failover

Orchestra’s multi-gateway failover automatically retries an authorization on a backup gateway if the primary fails. For authorize requests, failover isn’t a field you pass in the request body: it’s configured on your Payment Gateway Account setup.

Contact Support

Email support@orchestrasolutions.com to enable multi-gateway failover for your authorize requests.
When using failover with authorize, check which gateway processed the transaction in the response. Use the same gateway for the subsequent capture, void, or refund.
See Multi-Gateway Failover for how Orchestra’s failover mechanism works, including a self-serve example on the eWallet checkout session endpoint.

Capture

Capture an existing authorization to complete the transaction. Uses PUT method.
Capture requires re-sending the currency, card, and other details from the original authorization.

Capture API Reference

Complete parameter reference for capture requests

Completing the Transaction

After authorizing, you have three options: For void and refund operations, see Refunds & Voids.

Authorization Expiration

Authorizations expire if not captured (typically 7-30 days depending on card network). After expiration, the hold is released and you’ll need a new authorization.
Don’t rely on authorization expiration to release holds. If you’re not going to capture, void the authorization explicitly.

Refunds & Voids

Cancel or reverse transactions