cURL
curl --request PUT \ --url https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/keys/{access-key-id}/rotate \ --header 'X-SFPY-AGGREGATOR-SECRET-KEY: <api-key>'
{ "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:34.000Z", "updated_at": "2025-03-13T09:12:34.000Z" } }
The unique identifier for the aggregator
"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e"
The unique identifier for the access key
"ak_da8f1c10-346a-4be8-895a-b6187a9a9662"
This response contains details of an access key
Standard response structure for successful operations
The current version of the API spec
"v1"
Access key credential used to authenticate aggregator API requests
Show child attributes
Was this page helpful?