Path Parameters
Response
PDF document
The response is of type integer[].
Get a refund receipt for a refund.
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
]PDF document
The response is of type integer[].
Was this page helpful?
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
]