Capture

Collects funds reserved by a prior Authorize. Omit amount to capture the full authorization, or send a smaller value for a partial capture.

Request

# Full capture
curl '{gtw_url}/locations/{location_id}/transactions/{transaction_id}/capture' \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{}'

# Partial capture ($5.00)
curl '{gtw_url}/locations/{location_id}/transactions/{transaction_id}/capture' \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "amount": 5.00 }'

transaction_id (the authorization) goes in the path. Optional amount is in major units.

Response — 200 OK

{ "transaction_id": "FA2711EF-9461-2654-9199-D05099F90D7C", "amount_approved": 500 }

amount_approved is in cents. Reverse a capture with Void (before settlement) or Refund (after).

Full field reference: Capture