Skip to main content
POST
Process a payee-bank-initiated Pix devolução

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Obtain token from /v1/login/oauth/access_token endpoint using client credentials (clientId and clientSecret).

Include token in Authorization header: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Token expires after 3600 seconds (1 hour).

Body

application/json
endToEndIdDevolucao
string
required

Upstream-assigned return id (idempotency + dedup key).

endToEndIdOriginal
string
required

End-to-end id of the original CASH_OUT.

idReqJdPi
string
required

Upstream request id (GUID), echoed on the acknowledgement.

valor
number<double>
required

Return amount in reais (a JSON number).

codigoDevolucao
string

Return reason code (eRefundCode).

infEntreClientes
string

Free-text inter-client info.

motivoDevolucao
string

Free-text return reason.

Response

OK

dtHrCreditoSgct
string

settlement-gateway credit timestamp (ISO-8601).

dtHrValidacao
string

Validation timestamp (ISO-8601).

idCreditoSgct
string

settlement-gateway credit id.

idReqJdPi
string

Echoed upstream request id.

motivo
string

Reason code (on a rejected return).

motivoComplemento
string

Reason complement.

resultado
integer<int64>

Validation result (0=Inválido, 1=Válido).