Receipts

Find real-world actions that bypassed the gate

Post the idempotency keys (or vendor references you recorded in result) for actions your vendor says happened. Returns which ones Ratchet authorised and which it has never seen. The unmatched ones are paths in your system that did not ask before acting.

post/v1/reconcile

Request

  • Base URL: https://ratchetgate.com
  • URL: https://ratchetgate.com/v1/reconcile
  • Auth: HTTP bearer

Request body

effect_typestring required
keysstring[] required

The keys your vendor recorded. Which key space they are in depends on key_space.

key_space'idempotency' | 'vendor'

Which keys you are posting. idempotency (the default) means your own keys. vendor means the rtk_ keys Ratchet derived and you sent onward — what a vendor like Stripe actually recorded. Posting vendor keys as idempotency reports everything as ungated, because they are different key spaces.

window_daysinteger

Only meaningful with key_space=vendor: how far back to draw candidate effects from when deriving keys to match against.

vendorstring

Only meaningful with key_space=vendor. The vendor profile whose key length was applied when the key was issued; keys are truncated per vendor, so the wrong profile will not match.

Response

Default Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.