- For a quick start, see the Quickstart guide.
- For OpenAPI playground, see the interactive API explorer below (if available).
Base URL
Authentication
All API requests require authentication using an API key. Include your API key in the request header:Getting Your API Key
- Register at app.paycrest.io
- Complete KYC verification (required for compliance)
- Access your API key in your dashboard
Your API key should be kept secure and never shared publicly. It’s used to authenticate all API requests and identify your account.
API Endpoints
The Paycrest API is organized into three main categories:Sender Endpoints
For entities that create payment orders:POST /sender/orders
- Create a new payment orderGET /sender/orders
- List payment orders with filteringGET /sender/orders/{id}
- Get specific payment order detailsGET /sender/stats
- Get sender statistics
Provider Endpoints
For liquidity providers that fulfill orders:GET /provider/orders
- List available orders for fulfillmentGET /provider/rates/{token}/{fiat}
- Get market ratesGET /provider/stats
- Get provider statisticsGET /provider/node-info
- Get node information
General Endpoints
For protocol information and utilities:GET /currencies
- List supported fiat currenciesGET /institutions/{currency_code}
- List supported institutionsGET /tokens
- List supported tokensGET /rates/{token}/{amount}/{fiat}
- Get token ratesGET /pubkey
- Get aggregator public keyPOST /verify-account
- Verify bank account detailsGET /orders/{chain_id}/{id}
- Get lock payment order statusGET /reindex/{network}/{tx_hash}
- Reindex transactions
Request Format
All requests should include the following headers:Example Request
- cURL
- JavaScript
- Python
- Go
Response Format
All API responses follow a consistent format:Error Responses
Error responses include detailed information:Rate Limiting
API requests are rate-limited to ensure fair usage:- Unauthenticated requests: 20 requests per second
- Authenticated requests: 500 requests per second
Pagination
List endpoints support pagination with the following parameters:page
- Page number (default: 1)pageSize
- Items per page (default: 20, max: 100)
Example
- cURL
- JavaScript
- Python
- Go
Webhooks
Set up webhooks to receive real-time updates:Webhook Events
order.initiated
- Order initiated via API (before Gateway creation)order.pending
- Order awaiting provider assignmentorder.validated
- Order validated and ready for settlementorder.settled
- Order settled on blockchainorder.refunded
- Order refunded to senderorder.expired
- Order expired because no transfer was made to the receive address within the time limit
Webhook Payload
For detailed webhook implementation guide including signature verification, retry logic, and best practices, see the Sender API Integration Guide.
Testing
Paycrest supports very low minimum orders (as little as $0.50) and uses cost-effective EVM L2s, making it perfect for testing with real transactions. Start small and scale up as you gain confidence.There is no sandbox environment at the moment. All testing should be done on production using small amounts.
Support
Need help with the API?- Documentation: Browse our comprehensive guides
- Telegram: Join our developer community at t.me/+Stx-wLOdj49iNDM0
- GitHub: Report issues at github.com/paycrest
- Email: Contact support at [email protected]