GET
/
invoices
/
refunds
/
{refund_id}
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: 'My Bearer Token',
});

const response = await client.invoices.payments.retrieveRefund('refund_id');

console.log(response);

const content = await response.blob();
console.log(content);
[
  1
]

Path Parameters

refund_id
string
required

Response

200
application/pdf

PDF document

The response is of type integer[].