Authentication
The Modulate Partner API uses API key authentication. Include your key in every request using the X-Partner-API-Key header.
Getting your API key
API keys are provisioned by the Aurora Payments team. To request one:
- Log in to your Partner Portal account
- Contact your account manager or email help@getmodulate.dev
- You’ll receive your key via secure channel — store it somewhere safe
Keep your API key private. Do not embed it in client-side code or commit it to source control. Treat it like a password.
Using your key
Pass your API key as a request header on every call:
cURL
Python
TypeScript
Verifying your key
GET /api/partner/me returns the identity behind the key you just sent — your organization, the key’s own prefix and environment, its scopes, and the per-minute limits that apply to it. It is the quickest way to confirm a new key works, and the only place to look up your organization_id.
No endpoint asks you to supply your organization_id — every request is scoped automatically by the key you send. /me reports it for your own logging and support requests.
Error responses
If authentication fails, you’ll receive one of these responses:
Key scopes
API keys are scoped to control access. Currently available scope:
Additional write scopes (e.g. merchant updates) are on the roadmap. Contact your account manager to discuss early access.
Rotating your key
If your key is compromised, contact help@getmodulate.dev immediately to revoke the old key and issue a new one.