Javascript
import Ivy from '@getivy/node-sdk'; const client = new Ivy({ apiKey: 'My API Key', }); const refund = await client.refunds.retrieve({ id: 'id' }); console.log(refund.id);
{ "id": "<string>", "amount": 1, "currency": "EUR", "status": "initiated", "orderId": "<string>", "transactionId": "<string>" }
Returns refund details and Id of refunded order.
API key for authentication
Returns the refund details.
The response is of type object.
object
Was this page helpful?