Skip to main content
Creates a new Refund against an existing transaction. There are two supported methods for an API call: Note: Existing merchants can continue using Transactions endpoint. New merchants are encouraged to use Refunds endpoint.

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, SpecifiedItems or RemainingBalance options. If refund_distribution_strategy is 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.

Route (URL) Parameters

Query Parameters

None.

Accepts

JSON - A full Refund object. Note: A refund amount is required. If an amount is not provided or provided as 0, the full transaction amount will be refunded.

Returns

JSON - A full Refund object.

Example Request

Parent topic:Refunds