Preview payment

Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
order_id_or_short_idstringRequired

Response

Successful Response
task_groupslist of objects
line_item_groupslist of objects
total_amountdouble
payment_readyboolean

Errors