API Reference
Get a refund
/v2/pix/{e2eId}/devolucao/{id}https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brGets 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
End-to-end id (endToEndId) of the received Pix.
Refund id chosen by you (^[a-zA-Z0-9]{1,35}$).
Responses
200Refund.
Identifier.
"D001"Refund id in the SPI (32 characters, starts with D).
"D09089356202610212340HpsrIQO2Rcf"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"1.00"Payment date and time.
Show child attributes
Request date and time.
"2026-10-21T23:40:17.898Z"Settlement date and time.
"2026-10-21T23:40:21.498Z"Refund status: EM_PROCESSAMENTO, DEVOLVIDO or NAO_REALIZADO (with motivo).
EM_PROCESSAMENTODEVOLVIDONAO_REALIZADO"DEVOLVIDO"Reason the refund was not made.
"Devolução de R$ 0,01 rejeitada (regra de homologação)"400devolucao_nao_encontrada or pix_nao_encontrado.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of the violation.
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"403The token lacks the required scope (insufficient_scope).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"