Skip to main content
POST /core/checkpoints A checkpoint covers every payment the payer made in the cycle with a timestamp at or below timestamp_cutoff. cumulative_gross is the sum of those payments. Core recomputes the sum and refuses a checkpoint that disagrees. Build one from the checkpoint batch. Once a checkpoint is accepted, core refuses a new payment stamped at or before its cutoff.

Authorization

string
required
header
Bearer <access_token>. The token must belong to the payer, or have the admin or facilitator role.

Request body

object
required
string
required
string
required
On-chain cycle ID, 32 bytes as hex.
string
required
string
required
Sum of the covered payments in base units, as a hex quantity.
number
required
Unix seconds. It must not be in the future.
string
required
The payer’s 65-byte EIP-712 signature over the payload under the ClearingHouse domain, as hex.

Responses

string
required
string
required
string
required
string
required
string
required
Decimal string.
number
required
number
required
How many payments this checkpoint newly covers. 0 when it repeats the latest accepted checkpoint, which core accepts again.

Status codes