ChargX Documentation

Authorize and Capture credit card

This section provides step-by-step examples (or *recipes*) showing how to Authorize and Capture credit card.

When to Use

  • authorize - when you want to verify payment now but collect funds later — e.g. hotels, car rentals, pre-orders.
  • capture - when you're ready to fulfill the order and charge the customer.

Steps

  1. Retrieve pretransact keys
  2. Exchange credit card details for a token
  3. Authorize credit card
  4. Capture a previously authorized amount

On this page