Agent-native onboarding

Rotate the agent-owned credential

Atomically replaces the account recovery digest and bearer credential from a newly generated 24-byte base64url token, then extends expiry by 365 days.

post/credits/agent/credential/rotate

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/agent/credential/rotate
  • Auth
    HTTP bearer

Request body

registrationTokenstring required

Canonical base64url encoding of 24 bytes generated by a cryptographically secure random-number generator.

Response

Credential rotated and returned once

successunknown required

Changes

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