Introduction
Getting started with Sentra API
Overview
Sentra is a seamless payment infrastructure API that enables developers to integrate on-ramp and off-ramp capabilities into their applications. Convert between fiat and crypto currencies with ease, manage user accounts, and process cross-border payments - all through one standardized API.
Sentra works with licensed liquidity providers and financial institutions to offer global currency support with robust compliance tools built in.
Sentra API Core Features
- Create and manage users and recipients with built-in KYC/B support for businesses and individuals globally
- Support for bank accounts in multiple currencies including USD, EUR, GBP, INR, AED, SGD, and PLN with various payment rails (ACH, IMPS, SEPA, and more)
- Get accurate exchange rates with transparent fee structures before committing to transactions
- Lock in exchange rates with time-bound quotes to protect against volatility
- Real-time notifications for payment status updates to keep your application in sync using webhooks
Getting Started
Building with Sentra is straightforward. Follow these steps to get started:
1. Create Your Developer Account
Contact us to create an account. Tell us about your use case and we'll help you through the process. Developer dashboard is coming soon!
2. Set Up Your API Key
We'll provide you with API keys and an organization ID for your preferred environment:
- Sandbox:
https://sandbox-api.sentra.xyz/api/v1 - Production:
https://api.sentra.xyz/api/v1
API keys are prefixed based on environment:
- Development:
sk_dev_ - Production:
sk_live_
3. Authenticate Your Requests
Include your API key in all requests using the X-API-KEY header:
X-API-KEY: sk_dev_your_api_key_here4. Create Your First User
Start by creating a user in the system. Users can be individuals or businesses:
POST /users
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"type": "INDIVIDUAL",
}5. Set Up Payment Methods
Add bank accounts or crypto wallets for your users to enable on-ramp and off-ramp transfers.
6. Start Processing Payments
Get exchange rates, create quotes, and process on-ramp or off-ramp transfers with locked-in rates.
API Environments
| Environment | Base URL | Use Case |
|---|---|---|
| Production | https://api.sentra.xyz/api/v1 | Live transactions |
| Sandbox | https://sandbox-api.sentra.xyz/api/v1 | Pre-production testing |