Access Keys
Rotate Access Key
put/v1/aggregators/{raast-aggregator-id}/keys/{access-key-id}/rotate
Request
- Base URL: https://api.getsafepay.com/raastwire
- URL: https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/keys/{access-key-id}/rotate
- Auth: API key in header X-SFPY-AGGREGATOR-SECRET-KEY
Path parameters
raast-aggregator-idstring required
Example:agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e
The unique identifier for the aggregator
access-key-idstring required
Example:ak_da8f1c10-346a-4be8-895a-b6187a9a9662
The unique identifier for the access key
Response
This response contains details of an access key
Example response
{
"api_version": "v1",
"data": {
"id": "ak_da8f1c10-346a-4be8-895a-b6187a9a9662",
"token": "ak_tok_fede37a6",
"key_id": "key_live_e111f1c10",
"aggregator_id": "agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e",
"is_active": true,
"name": "Primary Production Key",
"secret": "sk_live_uMPN7cX2b1",
"created_at": "2025-03-13T09:12:34Z",
"updated_at": "2025-03-13T09:12:34Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.