Archive a commit
Draft scaffold — not implemented or available in the API.
Archives the commit. An archived invoiced minimum adds no further true-ups, and invoices already issued are unchanged. Archiving a prepaid commit forfeits its remaining balance and requires forfeitRemaining: true. {commit} takes the commit’s cmt_ ID.
Authentication
Path parameters
Headers
This endpoint is in the commits=v1 beta. Send this header to use it.
Request
Response
The type of object. Always commit.
Lowercase ISO 4217 currency code, e.g. usd.
What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.
Invoiced-minimum settings: {} on an invoicedMinimum commit, otherwise null.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Prepaid settings on a prepaid commit, otherwise null.
The committed amount pro-rated by day after an amendment shortened the order, in minor units of currency, or null until one does. Shown to 15 decimal places, rounded half-up at the 15th ("22580.645161290322581"); the true-up and balance.remaining use the exact fraction. Read-only: amount keeps the integer that was committed.
Tax code for the commit’s own charges: a prepaid invoice taxed at purchase and an invoiced minimum’s true-up. Null uses the code every scoped product shares, else the account default.