Partner

Rotate the partner's own API token

Rotates the partner's API token. No body is expected. The fresh value is returned once — the previous token stops working immediately, so the caller must store the response.

post/me/credentials/rotate

Request

  • Base URL
    https://gateway.pmnts.io/v2/partners
  • URL
    https://gateway.pmnts.io/v2/partners/me/credentials/rotate
  • Auth
    HTTP basic

Response

The rotated credentials (returned once).

usernamestring required

The partner's username (e.g. acme-partner).

tokenstring required

The newly-generated API token (e.g. sk_live_8f3a…).

rotated_atstring date-time required

When the credentials were rotated — ISO 8601 UTC (e.g. 2026-06-02T00:00:00Z).

Changes

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