Payment Refund History

Payment Refund History

GET {{Environment_URL}}/v1/payments/refund/:paymentId/total

This endpoint allows you to retrieve the total refunded amount for a specific pay-in. Authentication is required, as well as the ID of the pay-in you want to check.

Headers

Name
Value

Authorization

Bearer <token>

Path Variables

Name
Description

paymentId

637

Response

{
  "total": {
    "amount": 0,
    "currency": "BRL",
    "precision": 0
  },
  "remaining": {
    "amount": 507780,
    "currency": "BRL",
    "precision": 2
  },
  "history": []
}