Notify order capture
POST/v1/orders/notify-capture
Records a capture that already happened in the partner system. VoltBras updates the order status and does not charge the driver. orderId comes from the session order. Send this after the order is ready to be captured. A missing or invalid field returns 400.
Request
Responses
- 201
- 403
- 404
- 500
Capture recorded. The order status was updated. The driver was not charged by VoltBras.
ACCOUNT_NOT_AUTHORIZED. Fields: reason. The account is missing order:external-capture.
ORDER_NOT_FOUND. Fields: reason.
GENERIC_ERROR or EMPTY_UPSTREAM_RESPONSE. Fields: reason, when the upstream sent one.