DreamAPI

Payment API for e-commerce and platforms

Integrate DreamPay payments directly into your e-commerce, marketplace, or application. RESTful API with full documentation and SDKs for major languages.

DreamAPI 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 for major languages

SDKs available for Node.js, Python, PHP, .NET, and Java. Reduce integration time and minimize errors 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 DreamAPI

  1. 1

    Get your credentials

    Sign up, receive your sandbox API keys, and start testing immediately. No credit card required.

  2. 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. 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"
}

Ready to integrate?