Settle a business date's cleared purchases with the network
POST
/cards/settlementsHeaders
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
business_datestringRequirednetworkstringRequiredReturns
200 OK
attemptintegerOptionalbatch_keystringOptionalbusiness_datestring · dateRequiredA business date, YYYY-MM-DD
cash_effective_datestring · date or nullOptionalA business date, YYYY-MM-DD
cleared_amountintegerRequiredcountintegerRequiredinventory_knownbooleanRequiredjournal_idstringOptionalExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
more_availablebooleanRequirednetworkstringRequiredreplayedbooleanRequiredsource_sha256stringOptionalErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503