
Most payment integrations treat "charge the card" as a single event. It isn't. There are two steps: authorization and capture. Assuming they're the same thing will eventually cost you money, frustrate a customer, or both.
This article is for developers building payment flows on Global Payments and for the business owners or PMs who need to understand why those flows are built the way they are. If you already know the theory and want the API specifics, skip ahead to the API section.
When a customer enters their card details, what actually happens is a question, not a charge. You're asking the card network, "Does this person have the funds?" If the answer is yes, those funds are ring-fenced. That's the authorization. Nobody has paid you yet. The customer sees a pending charge on their statement. The hold typically lasts 5 to 7 days for most card-not-present transactions, though this varies by card network. Check with your provider if your workflow runs longer. At that point, you have a promise, not money.
Capture is when you collect. You call the capture endpoint with the authorization ID, the ring-fenced funds move into your merchant account, and settlement begins. Until that happens, you have not been paid.
The reason these are two separate steps is simple: the moment a customer agrees to pay and the moment you're ready to collect don't always line up. An online retailer ships the order the next day. A hotel takes a deposit weeks before check-in. A service business only knows the final price after the work is done. Capturing at authorization in any of these cases would be premature or simply wrong.
Global Payments supports both workflows. Here is what each looks like in practice.
To place a hold on the GP-API Platform, send POST /transactions with capture_mode set to LATER. See our Transactions documentation. If you're on GP-eCom, use the auth call. See our Authorization documentation. The SDK examples below use the API Platform.
Using the Global Payments SDK, with Node.js shown here. PHP, .NET, and Java equivalents are in the sample project:
const response = await card.authorize(amount)
.withCurrency('EUR') // replace with your merchant account currency
.withAddress(address)
.execute();Save the transaction ID from the response. Every subsequent action, including capture, void, and reauth, needs it. If you lose it, GET /transactions can help you find it, but that's extra work you don't want in a payment flow.
To collect the reserved funds, call the /capture endpoint with the transaction ID. See our Capture documentation.
const captureResponse = await Transaction.fromId(response.transactionId)
.capture()
.execute();Two things catch developers off guard.
Capturing slightly above the authorized amount to cover a tip or a last-minute addition is generally acceptable, up to around 115-120% of the original figure. This varies by card scheme and merchant setup. For larger overages, use /transactions/{id}/incremental to raise the authorization before capturing. Note that incremental auth availability depends on your MCC, so confirm with your account team before building flows that rely on it.
There are two distinct capture scenarios worth separating. A partial capture is a single capture for less than the authorized amount. For example, you authorize $100 and capture $60. You then need to explicitly void the remaining $40, or it stays locked until the hold expires. A multi capture (capture_mode: MULTIPLE) is for capturing in installments: one authorization is split across multiple capture calls as goods ship or services are delivered. The final capture closes the authorization, so you don't need a separate void.
Authorization holds expire. For long-cycle workflows, such as hotel stays, delayed fulfillment, or deferred billing, you need to re-authorize before the hold goes stale. Use /transactions/{id}/reauthorization. Refer to our Reauthorization documentation. Like incremental auth, availability depends on your MCC.
This catches people out more than almost anything else in two-step flows. The auth looked fine when you took it. Three weeks later, it's expired and the capture fails.
If an order is cancelled or you decide not to capture, release the hold explicitly using /transactions/{id}/reversal. See our documentation. Don't wait for it to expire. Customers see pending charges on their statements, and they will contact support if those charges sit there unexplained.
Use one-step (authorize and capture together) when fulfillment is immediate, the total is fixed, and the product or service is delivered at the point of purchase: digital goods, same-day shipping, or instant access. Global Payments handles both actions in a single call. Use two-step when any of these are true:
Two-step flows put the state management on you. Track authorization IDs against orders, watch expiry windows, handle capture remainders, and re-authorize before holds lapse. None of that is built for you. The API overview is a good place to see what tools you have.
Forgetting to capture happens more than you'd think. If capture is triggered by a fulfillment event, such as a shipping webhook, and that event gets missed, the auth expires and the customer never gets charged. Build an audit process.
Capturing significantly above the authorized amount will fail. Minor overages, typically 115-120%, are often accepted by card schemes, but beyond that, use incremental authorization to raise the amount first. Incremental auth is MCC-dependent, so confirm availability before building flows that rely on it.
Leftover partial auths lock customer funds. If you partially capture, then abandon the remainder without voiding it, that money stays locked until the hold expires on its own. Void what you don't use.
Authorization and capture are distinct operations. Treating them as one will eventually cost you: missed revenue, failed captures on fulfillment, or customers calling about pending charges that never cleared. For instant-fulfillment products, one-step is fine. For anything else, two-step gives you the timing control you need.
If you want to see it working, the Online Payments Auth & Delayed Capture sample covers the full two-step flow in Node.js, PHP, .NET, and Java with Docker support and a sandbox-ready configuration.