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

Beagle Lite

Beagle Lite uses GEO-IP rules to block or flag potential fraudulent transactions. Rules are selected within MYeWAY and notifications can be sent via e-mail for any transactions that do not pass the Anti-Fraud rules.

Beagle Lite protection is built into all of eWAY's payment APIs and is available for free with all merchant accounts. In order for a transaction to be processed by Beagle Lite , the following details are required:

  • The customer's billing address
  • The customer's IP

API Reference:

Beagle Lite Response Codes


Simple Direct Connection JSON REST example with Beagle Lite fields

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

	{
	"Customer": {
		"Title": "Mr.",
		"FirstName": "John",
		"LastName": "Smith",
		"Street1": "Level 5",
		"Street2": "369 Queen Street",
		"City": "Sydney",
		"State": "NSW",
		"PostalCode": "2000",
		"Country": "au",
		"CardDetails": {
				"Name": "Card Holder Name",
				"Number": "4444333322221111",
				"ExpiryMonth": "12",
				"ExpiryYear": "16",
				"CVN": "123"
		}
	},
	"CustomerIP": "93.184.216.34",
	"Payment": {
		"TotalAmount": 100
	},
	"TransactionType": "Purchase",
	"Method": "ProcessPayment"
	}
		

If a transaction is flagged as potentially fraudulent, the "ResponseMessage" will contain the a fraud response message code in addition to the transaction response. This provides the details so that an order can be flagged as potentially fraudulent to the merchant.

Example response message excerpt:

			
	"ResponseMessage": "D4405, F7002",