{{secret_key}}) after approving your account. All API requests must include it in the X-SFPY-AGGREGATOR-SECRET-KEY header.
Key format
Best practices
Store in a secret manager
Use AWS Secrets Manager, HashiCorp Vault, or your platform’s equivalent. Restrict read permissions to the services that call Safepay.
Rotate regularly
Rotate keys every 90 days or sooner when staff changes. You can create overlapping keys to achieve zero-downtime rotation.
Create or rotate keys via API
Use the Access Keys API to automate issuance. Set{{base_url}} to https://dev.api.getsafepay.com/raastwire in Sandbox or https://api.getsafepay.com/raastwire in Production.
Rotate an access key
Use rotation to issue a new secret without changing the access key token.List, update, and revoke keys
- Use List access keys to audit active credentials.
- Use Update access key to deactivate or rename keys.
- Use Delete access key to revoke compromised credentials.
Always revoke compromised keys immediately using Delete access key and issue replacements.