Upload or rotate the Dataprev OAuth2 credentials
Stores (or rotates) the tenant’s OAuth2 client_credentials secret for the Dataprev token endpoint in the tenant secret store and flips the oauth-present flag. The response NEVER echoes the client secret.
Authorizations
JWT bearer token issued by the identity provider.
Body
Response
OK
Whether a client certificate is stored for the tenant.
Whether OAuth2 client_credentials are stored for the tenant.
External rail the credentials belong to.
"dataprev"
Last-update timestamp (RFC 3339, UTC).
"2026-06-23T12:00:00Z"
SHA-256 hex fingerprint of the stored certificate (absent when none).
"3b1f...c0"
RFC 3339 cert expiry (UTC); absent when no cert is stored.
"2027-01-01T00:00:00Z"
Dataprev codigoSolicitante: the institution's BACEN COMPE code (3 digits, zero-padded, 001-999). Public, non-secret; absent when none is stored.
"341"
Credential revocation timestamp (RFC 3339, UTC); absent when credentials were never revoked.
"2026-07-14T15:30:00Z"
Configured monthly interest rate for consignado bids, as a PERCENT-per-month decimal (1.80 is 1,80% per month). Commercial configuration, non-secret; absent when none is stored, in which case the gateway places no bid.
"1.80"

