Skip to main content

Environments

The Owem API currently operates only in production environment.
EnvironmentBase URLStatus
Productionhttps://api.owem.com.br✅ Available
Sandbox-🚧 Coming soon
There is currently no separate sandbox environment. For testing, use the test: true parameter on supported endpoints.

Test Mode

Some endpoints support the test: true parameter to simulate operations without real effect.

Endpoints with Test Support

EndpointSupports test
POST /v4/i/pix/in/dynamic-qrcode
POST /v4/i/bank-accounts/{id}/transfer/external

Usage Example

{
  "amount": 100.0,
  "pixKey": "[email protected]",
  "description": "Integration test",
  "test": true
}
Transactions with test: true do not move real balance and do not appear in the production Ledger.

Environment Variables

We recommend configuring the following variables in your environment:

Required Variables

VariableDescription
OWEM_API_KEYYour credential’s API Key
OWEM_API_SECRETAPI Secret (never expose)
OWEM_ACCOUNT_IDYour Owem bank account ID

Optional Variables

VariableDescriptionDefault
OWEM_BASE_URLAPI base URLhttps://api.owem.com.br
OWEM_TIMEOUTTimeout in ms30000
OWEM_WEBHOOK_SECRETSecret for webhook validation-

Configuration Examples

# Owem Credentials
OWEM_API_KEY=01ade144-6970-47d0-989d-3d90beed0ed3
OWEM_API_SECRET=7a0bf60a025796674df3b81852ec2e96...
OWEM_ACCOUNT_ID=572471114780

# Settings

OWEM_BASE_URL=https://api.owem.com.br
OWEM_TIMEOUT=30000


Request Headers

Required Headers

HeaderValueDescription
AuthorizationBasic {token}Base64 authentication token
Content-Typeapplication/jsonContent type

Optional Headers

HeaderValueDescription
X-Idempotency-KeyUUIDIdempotency key
X-Request-IdUUIDCustom tracking ID

Response Headers

The API returns useful headers for monitoring:
HeaderDescription
X-RateLimit-LimitRequest limit per period
X-RateLimit-RemainingRemaining requests
X-RateLimit-ResetReset timestamp (epoch)
X-Request-IdUnique request ID
Use the X-Request-Id when opening support tickets to speed up investigation.

OperationSuggested Timeout
Ping / Health check5s
Queries (GET)15s
QR Code generation30s
PIX transfers60s
Webhooks (response)3s
Webhooks that don’t respond within 3 seconds are considered failed and enter retry.