Corgi BankDocumentation
OpenAPI

Rotate the signing secret with an overlap during which both secrets sign (the new secret is returned once)

POST/webhook-endpoints/{id}/rotations

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

forcebooleanRequired

Cut the retiring secret off when a rotation is already inside its overlap (otherwise 409)

overlap_secondsintegerRequired

How long the retiring secret keeps signing; zero is the default day, at most a week

Returns

201 Created

The Webhook Endpoint object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close