Payments
Capture
Settle a previously authorized pre-authorization.
POST
cURL
Capture submits a settlement against a previous
pre-authorization. Identify both the originating transaction and
its order in the request body.
Retry a previous capture
Use this same endpoint to create a new retry attempt. In the request body, provideretry.originating_id for the previous SmartRetry capture transaction.
The capture amount must not exceed the originally authorized amount. If you omit
amount, the full authorized amount is captured.A retry request creates a new attempt. To safely replay the exact same request after an ambiguous
failure, reuse its
Idempotency-Key. See Idempotency.Authorizations
Headers
Optional idempotency key, scoped to terminal + matched route pattern. A replayed request returns the cached response with Idempotency-Replayed: true.
Maximum string length:
255Pattern:
^[\w-]+$Path Parameters
The unique identifier of the terminal.
Required string length:
6Pattern:
^[\dA-Za-z]{6}$Body
application/json
- Option 1
- Option 2
The transaction friendly ID of the original PREAUTH transaction to be captured
Required string length:
8Pattern:
^[\dA-Za-z]{8}$The order friendly ID associated with the original PREAUTH transaction to be captured
Required string length:
8Pattern:
^[\dA-Za-z]{8}$Amount to capture, in major currency units (e.g. 10.00 for $10.00 USD). Defaults to the full preauthorized amount if omitted.
Required range:
0.01 <= x <= 999999.99Maximum string length:
500