Refresh API Keys

Refreshes existing API keys and returns new tokens

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
tokenstringRequired

Payments API Key - Provided by your Integration Lead or generated in Run Merchant.

Response

API keys refreshed successfully
api_keystringOptional
New API key
public_keystringOptional

Public key (does not change with refresh)

refresh_tokenstringOptional
New refresh token
api_key_expires_atintegerOptional
Unix timestamp for API key expiration.
refresh_token_expires_atintegerOptional
Unix timestamp for Refresh token expiration.

Errors