Refund
Refund a collecting document
Path parameters
idstring · uuidRequired
Unique identifier
Body
Refund creation body params
amountintegerRequired
Amount in cents
descriptionstringRequired
Description of refund
Responses
200
Document
application/json
401
Unprocessable Entity
application/json
500
Unprocessable Entity
application/json
post
/banking/cashin/documents/{id}/refundPOST /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"
}{
  "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"
  }
}Last updated
Was this helpful?

