Base URL
Supported Currencies
Bousol supports multiple currencies and digital assets on the Stellar blockchain:Fiat-Pegged Assets
| Asset Code | Name | Description |
|---|---|---|
| HTG | Haitian Gourde | Default currency for Haiti. Tokenized HTG on Stellar. |
| USD | US Dollar | USD-denominated transactions |
Stablecoins
| Asset Code | Name | Description |
|---|---|---|
| USDC | USD Coin | Circle’s USD stablecoin |
| USDT | Tether | Tether USD stablecoin |
| EURC | Euro Coin | Circle’s EUR stablecoin |
Native Assets
| Asset Code | Name | Description |
|---|---|---|
| XLM | Stellar Lumens | Native Stellar network asset |
Default Currency
- Invoices: Default to
HTG(can be overridden per invoice) - Payouts: Specify asset code when creating payout
- Organization: Each organization can set a default currency in Settings
Currency in API Requests
Specify the currency using theassetCode parameter:
Authentication
The API uses API keys for authentication. Include your API key in theAuthorization header:
Request Format
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token with API key |
Content-Type | Yes (for POST/PUT) | application/json |
Request Body
Send JSON in the request body for POST and PUT requests:Response Format
All responses return JSON:Success Response
List Response
Error Response
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request — Invalid parameters |
401 | Unauthorized — Invalid or missing API key |
403 | Forbidden — Insufficient permissions |
404 | Not Found — Resource doesn’t exist |
429 | Too Many Requests — Rate limit exceeded |
500 | Internal Server Error |
Pagination
List endpoints support pagination:| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number |
limit | number | 20 | Items per page (max: 100) |
Filtering
Many list endpoints support filtering:Rate Limits
| Tier | Requests per minute |
|---|---|
| Standard | 60 |
| Enterprise | 300 |
API Endpoints
Invoices
| Method | Endpoint | Description |
|---|---|---|
GET | /invoices | List invoices |
GET | /invoices/:id | Get invoice |
POST | /invoices | Create invoice |
PUT | /invoices/:id | Update invoice |
POST | /invoices/:id/send | Send invoice |
POST | /invoices/:id/void | Void invoice |
Payment Links
| Method | Endpoint | Description |
|---|---|---|
GET | /payment-links | List payment links |
GET | /payment-links/:id | Get payment link |
POST | /payment-links | Create payment link |
DELETE | /payment-links/:id | Delete payment link |
Clients
| Method | Endpoint | Description |
|---|---|---|
GET | /clients | List clients |
GET | /clients/:id | Get client |
POST | /clients | Create client |
PUT | /clients/:id | Update client |
DELETE | /clients/:id | Delete client |
Payouts
| Method | Endpoint | Description |
|---|---|---|
GET | /payouts | List payouts |
GET | /payouts/:id | Get payout |
POST | /payouts | Create payout |
Disbursements
| Method | Endpoint | Description |
|---|---|---|
GET | /disbursements | List disbursements |
GET | /disbursements/:id | Get disbursement |
GET | /disbursements/:id/items | Get disbursement items |
POST | /disbursements/:id/submit | Submit for approval |
Webhooks
| Method | Endpoint | Description |
|---|---|---|
GET | /webhook-endpoints | List webhook endpoints |
POST | /webhook-endpoints | Create webhook endpoint |
PUT | /webhook-endpoints/:id | Update webhook endpoint |
DELETE | /webhook-endpoints/:id | Delete webhook endpoint |
SDKs
Official SDKs are planned for:- Node.js / TypeScript
- Python
- PHP
Testing
Sandbox Environment
Use the sandbox environment for testing:sk_test_.
Test Data
In sandbox mode:- No real funds are moved
- Use test wallet addresses
- Transactions simulate blockchain behavior
Support
- Documentation issues: Report at [email protected]
- API questions: Contact your account manager
- Integration help: Schedule a call with our team
Next Steps
- Authentication — Get your API keys
- Webhooks — Receive event notifications
- Invoices API — Create and manage invoices