eWAY Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
eWAY
Services that work with Spreedly:
  • eWAY
Supported operations:
Purchase, Refund
Unsupported operations:
Authorize, Capture, Void
Regions:
Asia Pacific

Authentication and Security

Specific names for credentials:
Customer ID, XML Refund Password

Onboarding Merchants in:

If you’d like the ability to do refunds (credits), you’ll need to give eWAY your XML refund password since eWay requires it. For example:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>eway</gateway_type>
        <customer_id>YourCustomerID</customer_id>
        <refund_password>YourXMLRefundPassword</refund_password>
      </gateway>'

<gateway>
  <token>S3OX4lizK8kMf0fWsAESa0ogtem</token>
  <gateway_type>eway</gateway_type>
  <name>eWAY</name>
  <description nil="true"/>
  <customer_id>YourCustomerID</customer_id>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">false</supports_authorize>
    <supports_capture type="boolean">false</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">false</supports_void>
    <supports_verify type="boolean">false</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>customer_id</name>
      <value>YourCustomerID</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2016-08-11T17:14:37Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:14:38Z</updated_at>
</gateway>

Without Refund Ability

If you don’t need to do refunds, you don’t need to give eWAY your XML refund password:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>eway</gateway_type>
        <customer_id>YourCustomerID</customer_id>
      </gateway>'

<gateway>
  <token>qYEbQg293wicro7uhkrRqNpvPw</token>
  <gateway_type>eway</gateway_type>
  <name>eWAY</name>
  <description nil="true"/>
  <customer_id>YourCustomerID</customer_id>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">false</supports_authorize>
    <supports_capture type="boolean">false</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">false</supports_void>
    <supports_verify type="boolean">false</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>customer_id</name>
      <value>YourCustomerID</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2016-08-11T17:14:37Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:14:37Z</updated_at>
</gateway>