Last updated 4 months ago
Was this helpful?
Refund a collecting document
Unique identifier
Refund creation body params
Amount in cents
Description of refund
Refund within a collecting document
{"data":{"amount":{"amount":10,"currency":"BRL"},"description":"Refund description","end_to_end_id":"E44444444202405211946Dwg1pjxgehP","id":"018f9cb0-8d37-031e-8b99-bac2919a5033","receipt_url":"https://receipts.trio.com.br/document_receipts/018f9cb0-8d11-72dd-bb14-f82554e80999/refund/018f9cb0-8d37-031e-8b99-bac2919a5033","reconciliation_id":"018f9cb0-8d37-031e-8b99-bac2919a5033","status":"settled","timestamp":"2024-05-21T19:46:07.285344Z","transaction_date":"2024-05-21T19:46:07.285344Z"}}
POST /banking/cashin/documents/{id}/refund HTTP/1.1 Host: api.sandbox.trio.com.br Content-Type: application/json Accept: */* Content-Length: 48 { "amount": 10, "description": "Refund description" }
Document
{ "data": { "amount": { "amount": 10, "currency": "BRL" }, "description": "Refund description", "end_to_end_id": "E44444444202405211946Dwg1pjxgehP", "id": "018f9cb0-8d37-031e-8b99-bac2919a5033", "receipt_url": "https://receipts.trio.com.br/document_receipts/018f9cb0-8d11-72dd-bb14-f82554e80999/refund/018f9cb0-8d37-031e-8b99-bac2919a5033", "reconciliation_id": "018f9cb0-8d37-031e-8b99-bac2919a5033", "status": "settled", "timestamp": "2024-05-21T19:46:07.285344Z", "transaction_date": "2024-05-21T19:46:07.285344Z" } }