Cash Out Receipt
Retrieves the receipt for a PIX transaction in structured format, with data formatted for display to end users.
Endpoint
GET /api/external/transactions/:id/receiptHeaders
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | String | Yes | ApiKey {client_id}:{client_secret} |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | String | Yes | Transaction ID (transaction_id) |
Availability
The receipt is only available for transactions with status completed. Transactions in processing or failed state return error 422.
Example
bash
curl -X GET https://api.owem.com.br/api/external/transactions/PIXOUT20260309a1b2c3d4e5f6/receipt \
-H "Authorization: ApiKey $CLIENT_ID:$CLIENT_SECRET"Success Response -- 200
json
{
"worked": true,
"receipt": {
"transaction_id": "PIXOUT20260309a1b2c3d4e5f6",
"end_to_end_id": "E37839059202603091530abcdef01",
"external_id": "order-9876",
"type": "pix",
"direction": "outbound",
"status": "completed",
"amount": 300000,
"amount_formatted": "R$ 30,00",
"fee_amount": 350,
"fee_formatted": "R$ 0,035",
"net_amount": 300350,
"description": "Supplier payment",
"counterparty_name": "Joao Silva",
"recipient_key": "12345678901",
"created_at": "2026-03-09T15:30:00Z",
"completed_at": "2026-03-09T15:30:02Z",
"institution": {
"name": "Owem Pay",
"cnpj": "37.839.059/0001-88",
"ispb": "37839059"
}
}
}Receipt Fields
| Field | Type | Description |
|---|---|---|
receipt.transaction_id | String | Unique transaction identifier |
receipt.end_to_end_id | String | End-to-End identifier in SPI/BACEN |
receipt.external_id | String | Your system identifier. null if not provided |
receipt.type | String | Transaction type (pix) |
receipt.direction | String | outbound (cash-out) or inbound (cash-in) |
receipt.status | String | Status: completed |
receipt.amount | Integer | Value in base units (/ 10,000 for BRL). 300000 = R$ 30.00 |
receipt.amount_formatted | String | Formatted amount in BRL (R$ 30,00) |
receipt.fee_amount | Integer | Fee in base units |
receipt.fee_formatted | String | Formatted fee in BRL |
receipt.net_amount | Integer | Net value in base units |
receipt.description | String | Transfer description |
receipt.counterparty_name | String | Counterparty name |
receipt.recipient_key | String | Recipient PIX key (outbound only) |
receipt.created_at | String | Creation date (ISO 8601) |
receipt.completed_at | String | Completion date (ISO 8601) |
receipt.institution | Object | Issuing institution data |
receipt.institution.name | String | Institution name |
receipt.institution.cnpj | String | Formatted CNPJ |
receipt.institution.ispb | String | BACEN ISPB code |
Formatted fields
The receipt includes _formatted fields with values already converted to BRL (e.g., R$ 30,00). Use these for display. Use the numeric fields (amount, fee_amount, net_amount) for calculations.
Error Response -- 404
json
{
"worked": false,
"detail": "Transacao nao encontrada"
}Error Response -- 422
json
{
"worked": false,
"detail": "Comprovante disponivel apenas para transacoes concluidas"
}