curl -X POST https://api.owem.com.br/v4/i/bank-accounts/572471114780/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"amount": 150.00,
"receiverBankAccount": "790339033930",
"obs": "Pagamento de serviço",
"externalId": "pedido_12345"
}'
{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Transferência interna iniciada",
"data": {
"id": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"idempotencyKey": "debit:internal:transfer_out:I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"externalId": "pedido_12345",
"metadata": {},
"type": "debit",
"reason": "internal:transfer_out",
"status": "succeeded",
"grossAmount": 150.0,
"feeAmount": 0,
"netAmount": 150.0,
"endToEndId": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"parentEndToEndId": null,
"entryId": null,
"requestId": null,
"pixKey": null,
"userId": "usr_abc123",
"accountId": "572471114780",
"createdAt": 1736337600000,
"createdDate": "2025-01-08",
"updatedAt": 1736337600000,
"updatedDate": "2025-01-08",
"payer": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "12345678000199",
"name": "EMPRESA ORIGEM LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "572471114780"
},
"receiver": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "98765432000111",
"name": "EMPRESA DESTINO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "790339033930"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"split": null,
"af": null,
"sameDocument": null,
"obs": "Pagamento de serviço"
}
}
Transfere valores entre contas internas da Owem de forma instantânea e sem custo.
curl -X POST https://api.owem.com.br/v4/i/bank-accounts/572471114780/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"amount": 150.00,
"receiverBankAccount": "790339033930",
"obs": "Pagamento de serviço",
"externalId": "pedido_12345"
}'
{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Transferência interna iniciada",
"data": {
"id": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"idempotencyKey": "debit:internal:transfer_out:I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"externalId": "pedido_12345",
"metadata": {},
"type": "debit",
"reason": "internal:transfer_out",
"status": "succeeded",
"grossAmount": 150.0,
"feeAmount": 0,
"netAmount": 150.0,
"endToEndId": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"parentEndToEndId": null,
"entryId": null,
"requestId": null,
"pixKey": null,
"userId": "usr_abc123",
"accountId": "572471114780",
"createdAt": 1736337600000,
"createdDate": "2025-01-08",
"updatedAt": 1736337600000,
"updatedDate": "2025-01-08",
"payer": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "12345678000199",
"name": "EMPRESA ORIGEM LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "572471114780"
},
"receiver": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "98765432000111",
"name": "EMPRESA DESTINO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "790339033930"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"split": null,
"af": null,
"sameDocument": null,
"obs": "Pagamento de serviço"
}
}
curl -X POST https://api.owem.com.br/v4/i/bank-accounts/572471114780/transfer/internal \
-H "Authorization: Basic $(echo -n 'SUA_API_KEY:SEU_SECRET' | base64)" \
-H "Content-Type: application/json" \
-d '{
"amount": 150.00,
"receiverBankAccount": "790339033930",
"obs": "Pagamento de serviço",
"externalId": "pedido_12345"
}'
Authorization: Basic {Base64(API_KEY:API_SECRET)}
| Header | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| Authorization | string | ✅ | Bearer Token ou Basic Auth |
| Content-Type | string | ✅ | application/json |
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| accountId | string | ✅ | Número da conta de origem |
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| amount | number | ✅ | Valor em reais (ex: 100.50) |
| receiverBankAccount | string | ✅ | Número da conta de destino (interna) |
| obs | string | ❌ | Observação/descrição da transferência |
| externalId | string | ❌ | ID externo para conciliação |
{
"amount": 150.0,
"receiverBankAccount": "790339033930",
"obs": "Pagamento de serviço",
"externalId": "pedido_12345"
}
| Campo | Tipo | Descrição |
|---|---|---|
| id | string | ID único da transferência |
| idempotencyKey | string | Chave de idempotência |
| externalId | string | ID externo informado na requisição |
| type | string | Tipo: debit |
| reason | string | Motivo: internal:transfer_out |
| status | string | Status: succeeded, pending, failed |
| grossAmount | number | Valor bruto transferido |
| feeAmount | number | Taxa (sempre 0 para internas) |
| netAmount | number | Valor líquido |
| endToEndId | string | ID único da transação |
| accountId | string | Conta de origem |
| payer | object | Dados do pagador |
| receiver | object | Dados do recebedor |
| obs | string | Observação da transferência |
| createdAt | number | Timestamp de criação (ms) |
| createdDate | string | Data de criação (YYYY-MM-DD) |
| Código | Descrição |
|---|---|
| 400 | Dados inválidos ou incompletos |
| 400 | Valor deve ser maior que zero |
| 400 | Conta de destino não encontrada |
| 400 | Conta de destino não é interna |
| 403 | Sem permissão para esta conta |
| 404 | Conta de origem não encontrada |
| 422 | Saldo insuficiente |
| Característica | Transferência Interna | PIX Externo |
|---|---|---|
| Destino | Conta Owem | Qualquer banco |
| Taxa | Conforme contrato | Conforme contrato |
| Processamento | Instantâneo | Até 10 segundos |
| Horário | 24/7 | 24/7 |
| Identificação | receiverBankAccount | pixKey ou dados bancários |
{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Transferência interna iniciada",
"data": {
"id": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"idempotencyKey": "debit:internal:transfer_out:I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"externalId": "pedido_12345",
"metadata": {},
"type": "debit",
"reason": "internal:transfer_out",
"status": "succeeded",
"grossAmount": 150.0,
"feeAmount": 0,
"netAmount": 150.0,
"endToEndId": "I202501081200AbCdEfGhIjKlMnOpQr_OUT",
"parentEndToEndId": null,
"entryId": null,
"requestId": null,
"pixKey": null,
"userId": "usr_abc123",
"accountId": "572471114780",
"createdAt": 1736337600000,
"createdDate": "2025-01-08",
"updatedAt": 1736337600000,
"updatedDate": "2025-01-08",
"payer": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "12345678000199",
"name": "EMPRESA ORIGEM LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "572471114780"
},
"receiver": {
"ispb": "37839059",
"personType": "company",
"cpfCnpj": "98765432000111",
"name": "EMPRESA DESTINO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "790339033930"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"split": null,
"af": null,
"sameDocument": null,
"obs": "Pagamento de serviço"
}
}
Was this page helpful?