Skip to main content
All Out Partner Docs API Reference

Report a payment update

POST 

/payment-updates

One route for every payment step, chosen by type. Send no card data, only your references. Each update needs its own Idempotency-Key.

typeWhenResult
hold_authorizedYou placed a hold for exactly expectedPayment.Creates one booking, waiting for the provider's decision. Reporting the same hold again returns the same booking.
capture_succeededThe booking is approved or completed and you captured the hold.paymentStatus: captured.
capture_failedYou could not capture.The booking stays approved: capture again, or cancel the booking.
hold_releasedThe booking is declined or cancelled, or no booking was created.paymentStatus: released.

amount and currency must equal the quoted or booked amount exactly, whatever you charge your own customer, or the update is 422 PAYMENT_AMOUNT_MISMATCH (checked first). occurredAt is when the event happened at your payment provider, in UTC epoch milliseconds; a value in seconds, or more than five minutes ahead of the current time, is 400.

Capture only an approved or completed booking: otherwise the update is 409 INVALID_PAYMENT_TRANSITION, the booking is flagged for All Out's operations team, and you must refund your customer. Repeating a report changes nothing. A capture_failed that arrives after capture_succeeded does not undo it.

If the request can no longer be used (409 AVAILABILITY_NOT_CONFIRMED or 409 AVAILABILITY_EXPIRED), no booking is created: release the hold.

Request​

Responses​

The update was already applied; the booking is returned unchanged.