Refunds service wrapping Clover's Ecommerce refunds (/v1/refunds).
/v1/refunds
/v1/refunds refunds charges created with /v1/charges. Partial refunds are not supported for charges that include taxes/tips or more than one line item.
/v1/charges
const refund = await clover.refunds.create({ chargeId: 'CHG_123' }); Copy
const refund = await clover.refunds.create({ chargeId: 'CHG_123' });
Create a refund for a charge.
When chargeId is missing or amount is non-positive
chargeId
amount
Retrieve a refund by ID.
Refunds service wrapping Clover's Ecommerce refunds (
/v1/refunds).Remarks
/v1/refundsrefunds charges created with/v1/charges. Partial refunds are not supported for charges that include taxes/tips or more than one line item.Example