API reference › Schemas

BookingGroup

Fields

  • shipmentGroupobjectrequired
  • refstring (uuid)required
  • countintegerrequired≥ 2
  • operationRefstringrequirednullable
  • quoteIdstringrequired
  • environmentstringrequired

    one of: sandbox · production

  • chargeobjectrequired

    The plan's total — the quote's total of the chosen service; each shipment's own charge is in shipments[].

  • amountnumberrequirednullable
  • amountMinorintegerrequirednullable

    The amount beside it in minor units (cents).

  • currencystringrequirednullable
  • paymentobjectrequired
  • modestringrequired

    one of: balance · test_wallet · platform_collected

    balance — the account's balance (or deferred payment); test_wallet — a test key's play money; platform_collected — the payment the platform took from its buyer (no IDS balance is touched).

  • paidAtstring (date-time)requirednullable

    When the shipment was paid (the charge, the test wallet, or the platform's payment recorded); null while unpaid and for shipments booked before 31.10.2026. RET: a return charged to its seller (return.charge) — when IDS accepted it charged to the seller; nothing was paid then (return.charge.settledAt says when the platform settled it).

  • platformPaymentobjectrequirednullable

    platform_collected only: the platform's payment of the booking operation.

  • refstringrequired

    The platform's own id of the payment, as sent.

  • amountnumberrequired
  • amountMinorintegerrequired

    The amount beside it in minor units (cents).

  • currencystringrequired
  • confirmedAtstring (date-time)required

    When the platform's payment provider confirmed it (as sent).

  • recordedAtstring (date-time)required

    When IDS recorded it — with the booking, in the same transaction that made its shipments paid.

  • statusstringrequired

    one of: collected · refund_due · refunded

    collected — nothing refunded; refund_due — the platform owes its buyer a refund on this payment (GET /shipments/{id}/refunds, confirm it there); refunded — every refund owed is confirmed (refundedAmount says how much).

  • shipmentCountintegerrequired

    How many shipments of the operation it pays (a plan: several).

  • refundedAmountnumberrequired

    CXL: what the platform confirmed it refunded on this payment (0 while nothing).

  • refundedAmountMinorintegerrequired

    The amount beside it in minor units (cents).

  • shipments[]Bookingrequireditems ≥ 2
  • warnings[]array of object

    PICKUP_FAILED (pickup.required), label address warnings.

  • codestringrequired
  • messagestringrequired
  • pathstring

    The request field the warning is about (label address warnings).