cURL
curl --request POST \ --url https://api.pagou.ai/pix/v1/payment/refund/{id} \ --header 'Content-Type: application/json' \ --header 'apiKey: <api-key>' \ --data ' { "value": 1, "description": "<string>" } '
{ "refundId": "rfd_2ec3f2e53b53470dbaf0fcb1afac58b8", "transactionId": "trn_2d02fb2dbfa5479bbd8ec8ad5d629b9e", "status": "REFUND_IN", "value": 1200, "createdAt": "2026-02-07T13:20:03.000Z" }
Create a new refund
1
x > 0
Success