Skip to main content
POST
Reconcile the credits now (CR7)

Authorizations

x-admin-token
string
header
required

Required when SS_ADMIN_TOKEN is set

Body

application/json
day
string
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
from_unix_ms
integer
grace_ms
integer
Required range: x >= 0
to_unix_ms
integer

Response

The report

ss.reconcile/1: the window, the billing mode, one check per account (the fold, the usage priced against the ledger's charges, the purchases) and the payment provider's settled payments against the purchase grants.

accounts
object[]
billing
enum<string>
Available options:
off,
record,
enforce
by
string
from_unix_ms
integer
grace_ms
integer
label
string
mismatches
integer
ok
boolean
payments
object
ran_at_unix_ms
integer
rows_complete
boolean
rows_scanned
integer
schema
enum<string>
Available options:
ss.reconcile/1
to_unix_ms
integer