Before you begin
Identify your program type and management model, since they shape which guides and API references apply to your build.1
Accept your Dashboard invite
Your access depends on the environment:
- Sandbox: Rain creates a sandbox account for you and sends an email invite from the implementation team. Accept it to reach your Sandbox Developer Dashboard.
- Production: When you’re ready to go live, Rain sets up your production account and sends you an invite, the same way as sandbox. Accept it to reach your Production Developer Dashboard.
2
Get your API keys
Open the Config page in the Dashboard to retrieve your API key and
secret:You use these keys to authenticate every API request. A new key defaults to
the
admin role, which has full access. To create keys with narrower
access, rotate keys, or restrict a key to specific IP addresses, see
Authenticating with the API.3
Choose the SDK or REST
Decide how you want to call the API:
- SDK: The Rain SDK is available for TypeScript and Python and gives you type safety, IDE autocomplete, and a consistent interface. See the SDK overview to install it and make your first call. Some newer endpoints aren’t in the SDK yet. For those, call the REST API directly.
- REST: The SDK is optional. You can make the same calls directly to the Rain REST API using any HTTP client.
4
Authenticate your requests
Include your API key in the With the SDK, pass your API key when you initialize the client and choose
your environment:
Api-Key header on every request:What’s next
Connect webhooks
Set your webhook URL and verify signatures so you catch events from your
first call.
Onboard a cardholder
Submit a KYC or KYB application and confirm approval.
Authenticating with the API
See API key roles, rotation, and IP restrictions in full.