USDC Inventory: obligation and suspension
Pre-GA change. USDC Inventory was not generally available yet, so these changes are not versioned as breaking.The Inventory Lot now has two independent life cycles:
status (usage) and obligation.status (payment). Lot usage does not expire. See USDC Inventory.AddedobligationinInventory(newInventoryObligationschema):status(PENDING,PAID,OVERDUE),amount(USDC),dueAtandpaidAt.obligationinFxQuotewithusage = INVENTORY, withamountanddueAt.SUSPENDEDin the Inventorystatus: the obligation isOVERDUEand the lot does not accept new withdrawals until it is paid.INVENTORY_SUSPENDED(422) error.CREDIT_LIMIT_EXCEEDED(422) inPOST /v1/inventories: lot creation consumes the credit line byobligation.amount.inventory.obligation_status_changedwebhook.data.previousStatusininventory.status_changed.- Enum policy: new status values and event types can be added without a version change.
EXPIREDfrom the Inventorystatus.INVENTORY_EXPIREDerror, replaced byINVENTORY_SUSPENDED.inventoryExpiresAtfromFxQuote, replaced byobligation.dueAt.expiresAt,pendingSettlementandsettlementIdfromInventory. The due date is inobligation.dueAt.

