Refunds
After a payment undergoes refunds, the refunds attribute is returned in the object of the payment. An example return looks like this:
"refunds": [
{
"dateCreated": "2022-02-21 10:28:40",
"status": "DONE",
"value": 2.00,
"description": "Overpayment",
"transactionReceiptUrl": "https://www.asaas.com/comprovantes/6677732109104548",
}
]The available status in the return of the refunds field are:
PENDING,CANCELLED, andDONE
Updated about 2 months ago