Trip Payment Operations
Taxi & Private Hire › Products › Trip › Trip Payment Operations
Generally available
HTTP endpoints to manually trigger booking-time preauth, trip-end capture, or refund on a specific segment. Out-of-band controls — most preauths fire automatically at booking and most captures fire at archive — but operators sometimes need to retry a failed preauth or force a capture when the automated path stalled.
Example request
POST /client/{clientId}/tripsegment/{tripSegmentId}/capture
See the API reference for the full request and response schema.
Endpoints
| Method | Path | |
|---|---|---|
POST | /client/{clientId}/tripsegment/{tripSegmentId}/capture · primary | |
POST | /client/{clientId}/tripsegment/{tripSegmentId}/preauth |
Full request/response schemas and an interactive explorer will live in the API reference (coming soon).
Use cases
Operator flows that exercise this feature.
action risk: high approval required
Capture the held funds at trip end. Moves money — requires approval.
POST/client/{clientId}/tripsegment/{tripSegmentId}/capture
action risk: medium
Place a pre-authorisation hold on the customer's payment method before the ride.
POST/client/{clientId}/tripsegment/{tripSegmentId}/preauth