API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Received Pix and refunds

Get a refund

GET/v2/pix/{e2eId}/devolucao/{id}
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Gets a refund. When DEVOLVIDO, it carries horario.liquidacao; when NAO_REALIZADO, it carries motivo.

Scope: pix.read.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

e2eIdstringrequired

End-to-end id (endToEndId) of the received Pix.

idstringrequired

Refund id chosen by you (^[a-zA-Z0-9]{1,35}$).

Responses

200Refund.
idstring

Identifier.

Example: "D001"
rtrIdstring

Refund id in the SPI (32 characters, starts with D).

Example: "D09089356202610212340HpsrIQO2Rcf"
valorstring

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Example: "1.00"
horarioobject

Payment date and time.

Show child attributes
solicitacaostring

Request date and time.

Example: "2026-10-21T23:40:17.898Z"
liquidacaostring

Settlement date and time.

Example: "2026-10-21T23:40:21.498Z"
statusstring

Refund status: EM_PROCESSAMENTO, DEVOLVIDO or NAO_REALIZADO (with motivo).

EM_PROCESSAMENTODEVOLVIDONAO_REALIZADO
Example: "DEVOLVIDO"
motivostring

Reason the refund was not made.

Example: "Devolução de R$ 0,01 rejeitada (regra de homologação)"
400devolucao_nao_encontrada or pix_nao_encontrado.
nomestringrequired

Error code in snake_case, for example cobranca_nao_encontrada.

Example: "cobranca_nao_encontrada"
mensagemstringrequired

Error message in Portuguese.

Example: "Nenhuma cobrança encontrada para o txid informado"
errosobject[]

Schema validation details (only on json_invalido).

Show child attributes
chavestring

Keyword of the violated rule, for example required, pattern or enum.

Example: "pattern"
caminhostring

Path of the invalid field, for example .body.valor.original.

Example: ".body.valor.original"
mensagemstring

Description of the violation.

401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
403The token lacks the required scope (insufficient_scope).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"