A capture takes place after receiving an approved authorization, and initiates the flow of funds from the cardholder’s issuing bank account to your merchant account.Documentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
ScenarioAfter Maple Street Coffee’s online store restocked its merchandise, Clearpath Payments is ready to capture the $300 authorization previously run on Ben’s card ending in 4242.
Steps
-
Retrieve the unique
paymentIdfrom the authorization you are going to capture. This is how we link the capture to its original authorization. -
Call the captureAuthorization mutation with these inputs:
Required input Description paymentIdRequired. The unique “payment ID” returned on the original, approved authorization, which we’ll use to tie to this capture. acceptorIDRequired. The unique, 36 character identifier assigned to the entity providing the goods or services to the cardholder. Other processors may refer to this as the Merchant ID (MID), Outlet ID, or Customer number. transactionReferenceRequired. The unique transaction identifier created by YOU to distinguish this transaction from another. transactionAmountDetailsOptional. The transaction currency and amount to be captured. If are capturing a portion of the authorization amount, specify only that portioned amount. totalCaptureCountApplicable only if there will be multiple partial captures submitted on a single authorization.
Example, if an order will be split up and shipped on two different dates, you’ll submit a capture as each shipment is sent, and therefore settotalCaptureCount:2.
If you’re submitting a single capture for the authorization, you don’t need to include this field.
Full vs. partial captures
Under the hood, full and partial captures are the same thing, with the only difference being that a full capture’s amount is a single capture equal to final authorization amount, and a partial capture is for a value less than the full authorization amount. There can be multiple partial capture requests on an authorization, with each one specifying the partial amount to be captured within thetransactionAmountDetails input.
If you don’t specify an amount, Tesouro captures any remaining uncaptured amount on the authorization.
ScenarioBen buys three items at $20 each from Maple Street Coffee, one of Clearpath Payment’s acceptors. The items are in stock, but one isn’t ready to ship. Clearpath Payments authorizes Ben’s card for the full $60, then submits a partial capture for $40 when the first two items ship.
paymentId from the original authorization. Later, when the remaining item is ready to ship,
Clearpath Payments submits another capture for the remaining $20 using the same paymentId.
If any remaining authorization amount isn’t captured or
reversed within 10 days, you’ll be
assessed a Misuse of Authorization fee.