Refunds Endpoint
This is the recommended to perform a refund.HTTP Request
POST https://api.vindicia.com/refunds
Route (URL) Parameters
None.Query Parameters
None.Accepts
JSON - A full Refund object. Note:- Transaction details are required as part of the Refund object.
- A refund amount is required. If an amount is not provided or provided as 0, the full transaction amount will be refunded.
- If tax calculation for a refund is desired, use the
refund_distribution_strategy,SpecifiedItemsorRemainingBalanceoptions. Ifrefund_distribution_strategyis defaulted or set to “None”, tax calculation is not performed.
Returns
JSON - A full Refund object.Example Request
Transactions Endpoint
This is supported for existing Subscribe Customers. The Refunds endpoint above is the preferred and should be used for new implementations.HTTP Request
POST https://api.vindicia.com/transactions/:transaction/refunds
Note: This endpoint allows you to create a refund associated with a transaction.

