imgproductsuk_rapidapi3-1

All-in-One API Integration

Combining all the most popular payment solutions in a single package, eWAY’s Rapid 3.1 API also includes fraud prevention, transparent redirect, and direct connection to help developers create secure, perfectly rendered payment pages on all devices.

API SNIPPETS

Refunds

You can refund transactions without logging into MYeWAY – refunds can be processed within your own application or system. Simply pass the original transaction ID to the refund gateway along with the amount to be refunded.

Simple Refund JSON Example

Endpoint: https://api.sandbox.ewaypayments.com/Transaction/1234567/Refund
Headers:
Authorization: Basic (see Authentication in the API reference)
Content-Type: application/json

	{
	  "Refund": {
		"TotalAmount": 100
	  }
	}
		

For more details, check out the Rapid 3.1 API Refund reference

API Reference:

Refunds