Skip to main content
POST
/
pix
/
v1
/
payment
/
refund
/
{id}
Reembolsar Pagamento
curl --request POST \
  --url https://api.pagou.ai/pix/v1/payment/refund/{id} \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "value": 50.2,
  "description": "Sua descrição"
}'
{
  "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc"
}

Authorizations

apiKey
string
header
required

Path Parameters

id
string<uuid>
required

Transaction ID of the payment to be refunded

Example:

"cd722e93-032f-45e1-b638-87a2490dcea7"

Body

application/json
value
number
required

Refund amount in BRL (Brazilian Reais)

Example:

50.2

description
string
required

Description or reason for the refund

Example:

"Sua descrição"

Response

Refund processed successfully

transactionId
string<uuid>

Unique identifier for the refund transaction

Example:

"75906707-8c31-479c-b354-aa805c4cefbc"

I