curl --request POST \
  --url https://api.ext.pix.dbs.moneyp.com.br/api/Recurso/Devolver \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --header 'IgnoraHandshake: <ignorahandshake>' \
  --data '{
  "codigoMovimento": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "valor": 123,
  "motivoDevolucaoPix": 0,
  "prioridadePix": 0,
  "informacoesAdicionais": "<string>"
}'
{
  "sucesso": true,
  "mensagem": "<string>",
  "codigoTransacao": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Through this endpoint, partners can return a received Pix payment to the originating account whenever necessary.

The API returns the status of the specific transfer.

Requirement

A movement code found in the Pix receipt callback is required to process the return of the received funds.

Authorizations

Authorization
string
header
required

Copie 'Bearer ' + token

Headers

IdempotencyKey
string
required

Chave única para garantir que uma operação seja executada apenas uma vez.

IgnoraHandshake
boolean
default:true
required

(somente em homologação)

Body

Response

200 - application/json

Success

The response is of type object.