curl --request POST \
--url https://api.owem.com.br/v4/i/pix/in/refund/{endToEndId} \
--header 'Authorization: <authorization>'{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"data": {
"idempotencyKey": "debit:pix_in:refunded_processing:D123456789202512240000000000001",
"type": "debit",
"reason": "pix_in:refunded_processing",
"status": "processing",
"grossAmount": 100.0,
"feeAmount": 0,
"netAmount": 100.0,
"endToEndId": "D123456789202512240000000000001",
"parentEndToEndId": "E123456789202512230000000000001",
"entryId": null,
"accountId": "123456789012",
"userId": "usr_abc123def",
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"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": "person",
"cpfCnpj": "XXX123456XX",
"name": "JOAO DA SILVA",
"agency": "0001",
"accountType": "CACC",
"accountNumber": "00000000000012345678"
}
}
}
Cria um estorno de um PIX já recebido.
curl --request POST \
--url https://api.owem.com.br/v4/i/pix/in/refund/{endToEndId} \
--header 'Authorization: <authorization>'{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"data": {
"idempotencyKey": "debit:pix_in:refunded_processing:D123456789202512240000000000001",
"type": "debit",
"reason": "pix_in:refunded_processing",
"status": "processing",
"grossAmount": 100.0,
"feeAmount": 0,
"netAmount": 100.0,
"endToEndId": "D123456789202512240000000000001",
"parentEndToEndId": "E123456789202512230000000000001",
"entryId": null,
"accountId": "123456789012",
"userId": "usr_abc123def",
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"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": "person",
"cpfCnpj": "XXX123456XX",
"name": "JOAO DA SILVA",
"agency": "0001",
"accountType": "CACC",
"accountNumber": "00000000000012345678"
}
}
}
Basic {Base64(API_KEY:API_SECRET)}Mostrar data
debit para estornopix_in:refunded_processing na criaçãoprocessing, succeeded ou failednull nesta operação{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"data": {
"idempotencyKey": "debit:pix_in:refunded_processing:D123456789202512240000000000001",
"type": "debit",
"reason": "pix_in:refunded_processing",
"status": "processing",
"grossAmount": 100.0,
"feeAmount": 0,
"netAmount": 100.0,
"endToEndId": "D123456789202512240000000000001",
"parentEndToEndId": "E123456789202512230000000000001",
"entryId": null,
"accountId": "123456789012",
"userId": "usr_abc123def",
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"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": "person",
"cpfCnpj": "XXX123456XX",
"name": "JOAO DA SILVA",
"agency": "0001",
"accountType": "CACC",
"accountNumber": "00000000000012345678"
}
}
}
| HTTP | Descrição |
|---|---|
| 200 | Estorno aceito/registrado |
| 400 | endToEndId malformado |
| 401 | Credenciais inválidas |
| 403 | IP não allowlisted |
| 404 | PIX original não localizado |
| 409 | Estorno já solicitado ou conflito |
| 422 | Não estornável (regras do arranjo/banco) |
| 429 | Rate limit excedido |
| 500 | Erro interno |
| Status | Descrição |
|---|---|
processing | Estorno registrado, em liquidação |
succeeded | Estorno confirmado |
failed | Estorno não concluído |
GET /v4/i/ledger/end-to-end/:endToEndId
(usando o E2E do estorno).parentEndToEndId referencia o PIX IN original que está sendo estornado.Esta página foi útil?