1. Get your API credentials
Request access
Fill out the onboarding form. The Partna team will reach out to schedule a brief onboarding call and set up your merchant account.
Create your API keys
Once your merchant account is set up, log in to the Partna dashboard, set up 2fa and generate your API keys. You will get separate keys for staging and production:
- Staging dashboard: staging-dashboard.getpartna.com
- Production dashboard: dashboard.getpartna.com
x-api-key and x-api-user headers in every authenticated request.Use staging first
Build and test against the staging environment before deploying to production. Staging supports mock deposits and test transactions at no cost.
2. Make your first request
Fetch your account details. This is the simplest authenticated request to confirm your credentials work and to see your available balances.3. Check the response
A successful response returns your account balances across all supported currencies and their underlying assets and asset IDs (wallet addresses). Once you confirm you can fetch your account details, you are ready to start using other Partna API endpoints.Understanding Asset IDs
Theasset array within each currency object contains an id. For crypto assets, the id is the wallet address for that specific network.
To find the correct Asset ID for a specific currency and network combo, use the indexing data from the Supported Assets response:
4. Set up your webhook endpoint
Before processing real transactions, configure a webhook URL to receive status updates. You can do this via the dashboard or the Update Webhook URL endpoint. Your webhook endpoint should return a200 status code immediately upon receiving the event. Process the event asynchronously.
Next steps
You are now authenticated and can fetch rates. Here is what to build next, depending on your use case:| Use case | Guide |
|---|---|
| Users convert local currency to crypto | Onramp Guide |
| Users convert local currency to crypto with a Partna checkout | Onramp Widget Guide |
| Users convert crypto to local currency | Offramp Guide |
| Users convert crypto to local currency with a Partna payout flow | Offramp Widget Guide |
| Collect payments and settle in USD/stablecoins | Collect and Settle Guide |
| Verify user identity for transactions | Accounts and KYC Guide |
| Test with mock transactions in staging | Testing Guide |