Payment API for e-commerce and platforms
Integrate Brazilian payments in BRL via PIX and card installments directly into your e-commerce, marketplace, or application. RESTful API, SDKs, and WordPress plugin available.
DreamPay API features
RESTful API
Modern REST API with OAuth 2.0 authentication, JSON responses, and webhooks for real-time notifications. Easy to integrate with any tech stack.
SDKs and WordPress plugin
SDKs for Node.js, Python, PHP, .NET, and Java, plus a ready-to-use WordPress plugin. Reduce integration time with official, tested libraries.
Sandbox for testing
Full sandbox environment to test integration without processing real transactions. Test cards, error scenarios, and installment simulation.
Dedicated developer support
Technical team available to support integration. Detailed documentation, code examples, and a dedicated Discord channel.
How to integrate DreamPay API
- 1
Get your credentials
Sign up, receive your sandbox API keys, and start testing immediately. No credit card required.
- 2
Integrate with SDK or direct API
Use the SDK for your language or call the REST API directly. Documentation includes examples for the most common flows.
- 3
Go live in production
After validation by the DreamPay team, activate production credentials and start processing real payments.
Integration example
POST https://api.dreampay.com.br/v1/payments
Authorization: Bearer {YOUR_API_KEY}
Content-Type: application/json
{
"amount": 29900,
"currency": "BRL",
"installments": 3,
"description": "Tour package - 3 nights",
"customer": {
"name": "João Silva",
"email": "joao@email.com"
},
"callback_url": "https://yourstore.com/webhook"
}