payments
Rotate signing secret
Mints a new secret and demotes the current one to a 24-hour overlap window, during which deliveries carry a SECOND v1= signature computed with the old secret. Accept either during rotation — that overlap is what stops an in-flight retry from failing the moment you rotate.
The new secret is returned only here.
POST
Rotate signing secret
Authorizations
Response
Signing secret rotated; the new secret is returned only here.
Domain error code. OK on success; non-OK values come with a non-null error.
Available options:
OK, BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT, RATE_LIMITED, PAYLOAD_TOO_LARGE, UNSUPPORTED_CHAIN, INTERNAL_ERROR, UPSTREAM_TIMEOUT, UPSTREAM_ERROR, SERVICE_UNAVAILABLE, KILL_SWITCH_ACTIVE, CIRCUIT_BREAKER_OPEN, NO_QUOTE_AVAILABLE, QUOTE_STALE, SIMULATION_REVERTED, INVALID_PARAMS, AMOUNT_OUT_OF_BOUNDS, PAYOUT_TOKEN_NOT_ALLOWED, RECIPIENT_NOT_ALLOWLISTED, PAYMENT_EXPIRED, PAYMENT_NOT_FOUND, PAYMENT_IN_PROGRESS, NOT_CONFIGURED, INSUFFICIENT_LIQUIDITY, ROUTE_TEMPORARILY_UNAVAILABLE, UNSUPPORTED_ROUTE, OVER_DELIVERY_CAP, ORIGIN_NOT_CONFIGURED, ORIGIN_NOT_ALLOWED, PUBLISHABLE_DEPOSIT_NOT_ENABLED, PUBLISHABLE_WITHDRAWAL_NOT_ENABLED Example:
"OK"