Skip to main content
A pre-authorization places a hold on the customer’s funds without completing the charge. After a successful pre-auth, call capture to settle the payment, or void to release the hold.
Use pre-authorization when the final charge amount may differ from the initial estimate - for example, hotel stays, car rentals, or orders with variable shipping costs.
Safe retries for this POST endpoint use the Idempotency-Key header. Reuse the same key only when retrying the exact same request body. See Idempotency.

Path parameters

terminal_friendly_id
string
required
Your terminal identifier. Exactly 6 characters.

Request body

The pre-authorization request body is identical to the sale request body. See the sale endpoint for the full field reference.

Response

transaction_id
string
required
SmartRetry’s unique identifier for this pre-authorization. Exactly 8 characters. Pass this as transaction_reference_id in a subsequent capture or void request.
order_id
string
required
SmartRetry’s unique identifier for the order. Exactly 8 characters. Pass this as order_reference_id in a subsequent capture or void request.
merchant_transaction_id
string
required
The merchant_transaction_id you provided in the request, echoed back for confirmation.
accepted
boolean
required
true if the pre-authorization was accepted for processing. Poll the status endpoint to confirm the issuer’s authorization decision.
Save the transaction_id and order_id from this response. You will need both to capture or void the pre-authorization.