v3 · Endpoints
POST /v3/bookings/{attempt_id}/abandon
End a pause you will not answer. It is not a cancel: it releases the waiting drive, and nothing more is pressed.
POST
/v3/bookings/{attempt_id}/abandonWhen to abandon: When a drive pauses.
Request
FieldTypeDefaultRule
attempt_idpath
none
The
att_ id of the paused attempt. No body.Response
The booking's answer: status, booking_id, attempt_id, error_code, error, failure_class, cancellable, cancel_via. A booking that had already finished keeps its stored answer, a confirmation included.
Statuses and error codes
HTTPStatus / error codeWhen
200
failed + attempt_abandonedReleased. The code was never typed, so the booking was almost certainly not made, but Ophelia cannot confirm it.
200
processing + continue_in_flightA continue is applying a code right now, or the card was already entered on the pay page, or the person already approved the purchase in Link. Nothing was released. Read
GET /v3/bookings/{booking_id}.200
processing, no error_codeNothing is paused: the drive is still running. Nothing was released. Read
GET /v3/bookings/{booking_id} until it changes.200
the stored status
The booking had already finished (
succeeded with its confirmation, or failed).404
unknown_attemptNo attempt with that id in your organization.
400
wrong_id_namespaceThe id is not an
att_ id.Abandoning a booking that waits on a pay link spends the link: a card entered after it books nothing. Abandoning one that waits on a Link approval cancels the request: an approval given after it books nothing.
Example
Response 200: