Skip to content

API Overview

The Owem Pay API allows you to integrate PIX payments into your system. All operations are authenticated via API Key + HMAC-SHA512.

Base URL

EnvironmentURL
Productionhttps://api.owem.com.br

Authentication

All requests require:

  1. Auth Token — JWT obtained via POST /api/v2/external/auth-token
  2. HMAC-SHA512 — Request body signature (required for transactional endpoints)

See Auth Token and HMAC-SHA512 for details.

Format

FieldFormat
Content-Typeapplication/json
Monetary valuesInteger in cents (BRL 100.00 = 10000)
DatesISO 8601 (2026-03-09T15:30:00Z)
IDsUUID v4 or alphanumeric string
E2E IDE{ISPB}{YYYYMMDD}{HHMM}{6-digit-seq}

Response Pattern

Success

json
{
  "worked": true,
  "transaction_id": "PIXOUT20260309abcdef123456",
  "status": "processing"
}

Error

json
{
  "worked": false,
  "detail": "Insufficient balance"
}

HTTP Codes

CodeMeaning
200Success
400Invalid parameters
401Missing or expired token
403Invalid HMAC
404Resource not found
422Validation failed (insufficient balance, invalid key)
429Rate limit exceeded
500Internal error

Rate Limiting

TypeLimit
Per API Key120 requests/minute
Per IP5 requests/minute (unauthenticated)

Response headers:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1709990520

Idempotency

Write requests (POST) accept the Idempotency-Key header to prevent duplicate processing. The result is cached for 24 hours.

Idempotency-Key: unique-request-id-123

Endpoints

MethodEndpointDescription
POST/api/v2/external/auth-tokenGenerate JWT token
POST/api/v2/external/pix/cash-outSend PIX
POST/api/v2/external/pix/cash-out/approveApprove pending cash-out
POST/api/v2/external/pix/cash-inGenerate QR Code for receiving
GET/api/v2/external/transactionsList transactions
GET/api/v2/external/transactions/:idQuery transaction by ID
GET/api/v2/external/transactions/e2e/:e2e_idQuery by E2E ID
GET/api/v2/external/transactions/tag/:tagQuery by tag
GET/api/v2/external/transactions/:id/receiptReceipt
GET/api/v2/external/balanceAccount balance
GET/api/v2/external/statementStatement
GET/api/v2/external/pix/keysList PIX keys
POST/api/v2/external/pix/refundPIX refund
GET/api/v2/external/medList MEDs
GET/api/v2/external/med/:idMED details
POST/api/v2/external/cpf/validateValidate CPF
GET/api/v2/external/webhooksList webhooks
POST/api/v2/external/webhooksRegister webhook
DELETE/api/v2/external/webhooks/:idRemove webhook

Owem Pay Instituição de Pagamento — ISPB 37839059