Performs a full refund of an invoice. The refunded amount is deducted from your integrator account and refunded to the payment method(s) originally charged.
NOTE: For invoices that contain user_to_user
line items, funds are deducted from your integrator account, NOT the recipient user's wallet.
Successful completion triggers these notifications |
---|
Invoice complete |
Refund completed |
For more information about event notifications, visit Webhooks.
Refund resource
Successfully created full refund request
Invalid input
Unauthorized access.
The transaction was rejected
Invoice not found.
Service unavailable or server error.
{- "invoice_id": "inv_2V2XDLW6zogChdShdFh8WKOhHii",
- "reason": "billing",
- "sub_reason": "Charged twice",
- "note": "string"
}
{- "status": "Success",
- "message": null,
- "codes": null
}