curl -X POST https://api.owem.com.br/v4/i/baas/pix/123456789012/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"receiverBankAccount": "987654321098",
"amount": 100.00,
"obs": "Pagamento de comissão",
"externalId": "transfer-001"
}'
{
"requestId": "a123b456-c789-d012-e345-f678g901h234",
"success": true,
"size": 1,
"data": {
"success": true,
"status": "succeeded",
"endToEndId": "E5470000120260115123456789012345",
"amount": 100.0,
"externalId": "transfer-001",
"payer": {
"name": "EMPRESA ORIGEM LTDA",
"cpfCnpj": "**.456.789/0001-**"
},
"receiver": {
"name": "EMPRESA DESTINO LTDA",
"cpfCnpj": "**.654.321/0001-**"
},
"createdAt": 1768352400000
}
}
Transferência entre contas do mesmo parceiro BaaS.
curl -X POST https://api.owem.com.br/v4/i/baas/pix/123456789012/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"receiverBankAccount": "987654321098",
"amount": 100.00,
"obs": "Pagamento de comissão",
"externalId": "transfer-001"
}'
{
"requestId": "a123b456-c789-d012-e345-f678g901h234",
"success": true,
"size": 1,
"data": {
"success": true,
"status": "succeeded",
"endToEndId": "E5470000120260115123456789012345",
"amount": 100.0,
"externalId": "transfer-001",
"payer": {
"name": "EMPRESA ORIGEM LTDA",
"cpfCnpj": "**.456.789/0001-**"
},
"receiver": {
"name": "EMPRESA DESTINO LTDA",
"cpfCnpj": "**.654.321/0001-**"
},
"createdAt": 1768352400000
}
}
curl -X POST https://api.owem.com.br/v4/i/baas/pix/123456789012/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"receiverBankAccount": "987654321098",
"amount": 100.00,
"obs": "Pagamento de comissão",
"externalId": "transfer-001"
}'
baas:pix é configurado pela Owem na sua API Key.Authorization: Basic {Base64(API_KEY:API_SECRET)}
| Header | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| Authorization | string | ✅ | Basic Auth (API Key + Secret em Base64) |
| Content-Type | string | ✅ | application/json |
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| accountId | string | ✅ | ID da conta de origem (payer) |
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| receiverBankAccount | string | ✅ | ID da conta de destino |
| amount | number | ✅ | Valor da transferência (> 0) |
| obs | string | ❌ | Observação/descrição |
| externalId | string | ❌ | ID externo para rastreamento |
{
"receiverBankAccount": "987654321098",
"amount": 100.0,
"obs": "Pagamento de comissão",
"externalId": "transfer-001"
}
{
"requestId": "a123b456-c789-d012-e345-f678g901h234",
"success": true,
"size": 1,
"data": {
"success": true,
"status": "succeeded",
"endToEndId": "E5470000120260115123456789012345",
"amount": 100.0,
"externalId": "transfer-001",
"payer": {
"name": "EMPRESA ORIGEM LTDA",
"cpfCnpj": "**.456.789/0001-**"
},
"receiver": {
"name": "EMPRESA DESTINO LTDA",
"cpfCnpj": "**.654.321/0001-**"
},
"createdAt": 1768352400000
}
}
| Campo | Tipo | Descrição |
|---|---|---|
| success | boolean | Se a transferência foi criada com sucesso |
| status | string | Status da transferência (succeeded) |
| endToEndId | string | ID E2E da transferência |
| amount | number | Valor transferido |
| externalId | string | ID externo (se informado) |
| payer | object | Dados do pagador (conta origem) |
| receiver | object | Dados do recebedor (conta destino) |
| createdAt | number | Timestamp de criação (ms) |
| Código | Descrição |
|---|---|
| 400 | Dados inválidos (amount menor ou igual a 0, etc.) |
| 400 | Conta de destino não pode ser igual a conta de origem |
| 403 | Conta não pertence a este parceiro |
| 404 | Conta de origem ou destino não existe |
| 422 | Saldo insuficiente na conta de origem |
externalId para rastrear a transferência no seu sistema. Você
pode consultá-la depois pelo endpoint de consulta de pagamento.{
"requestId": "a123b456-c789-d012-e345-f678g901h234",
"success": true,
"size": 1,
"data": {
"success": true,
"status": "succeeded",
"endToEndId": "E5470000120260115123456789012345",
"amount": 100.0,
"externalId": "transfer-001",
"payer": {
"name": "EMPRESA ORIGEM LTDA",
"cpfCnpj": "**.456.789/0001-**"
},
"receiver": {
"name": "EMPRESA DESTINO LTDA",
"cpfCnpj": "**.654.321/0001-**"
},
"createdAt": 1768352400000
}
}
Was this page helpful?