curl --request POST \
--url https://api.owem.com.br/v4/i/bank-accounts/{accountId}/transfer/external \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"pixKey": "<string>",
"amount": 123,
"description": "<string>",
"externalId": "<string>",
"test": true,
"testStatus": "<string>"
}
'{
"requestId": "a111b222-c333-4d44-8e55-f66677788899",
"success": true,
"size": 1,
"data": {
"metadata": {
"idempotencyKey": "TX-202512241200-ABC123XYZ"
},
"type": "debit",
"reason": "pix_out:processing",
"status": "succeeded",
"grossAmount": 125.75,
"feeAmount": 0.08,
"netAmount": 125.83,
"externalId": "TX-20251224-EXEMPLO-001",
"endToEndId": "E123456789202512240000000000001",
"parentEndToEndId": null,
"entryId": null,
"requestId": "02000000-1111-2222-3333-444444444444",
"userId": "usr_abc123def",
"accountId": "123456789012",
"createdAt": 1766523042000,
"createdDate": "2025-12-24",
"updatedAt": 1766523042000,
"updatedDate": "2025-12-24",
"payer": {
"ispb": "12345678",
"personType": "company",
"cpfCnpj": "XX123456000XXX",
"name": "EMPRESA EXEMPLO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "123456789012"
},
"receiver": {
"ispb": "87654321",
"personType": "company",
"cpfCnpj": "XX654321000XXX",
"name": "DESTINATARIO COMERCIAL LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "765432"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"errorMessage": null,
"id": "E123456789202512240000000000001",
"idempotencyKey": "debit:pix_out:processing:E123456789202512240000000000001"
}
}
Envia valores de uma conta Owem para uma conta bancária externa via PIX.
curl --request POST \
--url https://api.owem.com.br/v4/i/bank-accounts/{accountId}/transfer/external \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"pixKey": "<string>",
"amount": 123,
"description": "<string>",
"externalId": "<string>",
"test": true,
"testStatus": "<string>"
}
'{
"requestId": "a111b222-c333-4d44-8e55-f66677788899",
"success": true,
"size": 1,
"data": {
"metadata": {
"idempotencyKey": "TX-202512241200-ABC123XYZ"
},
"type": "debit",
"reason": "pix_out:processing",
"status": "succeeded",
"grossAmount": 125.75,
"feeAmount": 0.08,
"netAmount": 125.83,
"externalId": "TX-20251224-EXEMPLO-001",
"endToEndId": "E123456789202512240000000000001",
"parentEndToEndId": null,
"entryId": null,
"requestId": "02000000-1111-2222-3333-444444444444",
"userId": "usr_abc123def",
"accountId": "123456789012",
"createdAt": 1766523042000,
"createdDate": "2025-12-24",
"updatedAt": 1766523042000,
"updatedDate": "2025-12-24",
"payer": {
"ispb": "12345678",
"personType": "company",
"cpfCnpj": "XX123456000XXX",
"name": "EMPRESA EXEMPLO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "123456789012"
},
"receiver": {
"ispb": "87654321",
"personType": "company",
"cpfCnpj": "XX654321000XXX",
"name": "DESTINATARIO COMERCIAL LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "765432"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"errorMessage": null,
"id": "E123456789202512240000000000001",
"idempotencyKey": "debit:pix_out:processing:E123456789202512240000000000001"
}
}
status inicial. Em caso de processing, a liquidação é assíncrona.
Basic {Base64(API_KEY:API_SECRET)}test: true. Valores: processing, succeeded,
failedMostrar data
debit para PIX OUTpix_out:processingprocessing, succeeded ou failed{
"requestId": "a111b222-c333-4d44-8e55-f66677788899",
"success": true,
"size": 1,
"data": {
"metadata": {
"idempotencyKey": "TX-202512241200-ABC123XYZ"
},
"type": "debit",
"reason": "pix_out:processing",
"status": "succeeded",
"grossAmount": 125.75,
"feeAmount": 0.08,
"netAmount": 125.83,
"externalId": "TX-20251224-EXEMPLO-001",
"endToEndId": "E123456789202512240000000000001",
"parentEndToEndId": null,
"entryId": null,
"requestId": "02000000-1111-2222-3333-444444444444",
"userId": "usr_abc123def",
"accountId": "123456789012",
"createdAt": 1766523042000,
"createdDate": "2025-12-24",
"updatedAt": 1766523042000,
"updatedDate": "2025-12-24",
"payer": {
"ispb": "12345678",
"personType": "company",
"cpfCnpj": "XX123456000XXX",
"name": "EMPRESA EXEMPLO LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "123456789012"
},
"receiver": {
"ispb": "87654321",
"personType": "company",
"cpfCnpj": "XX654321000XXX",
"name": "DESTINATARIO COMERCIAL LTDA",
"agency": "0001",
"accountType": "checking",
"accountNumber": "765432"
},
"medId": null,
"medCreatedAt": null,
"medCreatedDate": null,
"refundedEndToEndId": null,
"errorMessage": null,
"id": "E123456789202512240000000000001",
"idempotencyKey": "debit:pix_out:processing:E123456789202512240000000000001"
}
}
| HTTP | Descrição |
|---|---|
| 200 | Transferência registrada |
| 400 | Parâmetro inválido (pixKey, amount, etc.) |
| 401 | Credenciais inválidas |
| 403 | IP não allowlisted |
| 404 | accountId não encontrado |
| 422 | Saldo insuficiente ou limite excedido |
| 429 | Rate limit excedido |
| 500 | Erro interno |
| Status | Descrição |
|---|---|
processing | Registrada, aguardando confirmação bancária |
succeeded | Transferência confirmada |
failed | Falha (chave inválida, rejeição bancária) |
{
"pixKey": "[email protected]",
"amount": 125.75,
"description": "Pagamento Fornecedor #123",
"externalId": "TX-20251224-EXEMPLO-001"
}
externalId para garantir idempotência e rastreabilidade das
operações.test: true não afetam o saldo, não geram movimentação no
Ledger e não disparam integração PIX real.Esta página foi útil?