USA ePay Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
USA ePay
Services that work with Spreedly:
  • USAePay CGI Transaction Gateway API
Services that do not work with Spreedly:
  • USAePay Soap API
Supported operations:
Purchase, Authorize, Capture, Refund, Void, Verify
Regions:
North America

Authentication and Security

Specific names for credentials:
Source Key

Onboarding Merchants in:

To add a USA ePay gateway:


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

<gateway>
  <token>7XfZ3RGIjnth3MixCFanlcnUGJ5</token>
  <gateway_type>usa_epay</gateway_type>
  <name>USA ePay</name>
  <description nil="true"/>
  <source_key>source_key</source_key>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">true</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>source_key</name>
      <value>source_key</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:16:20Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:16:20Z</updated_at>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:usa_epay, source_key: "Your source_key")


#<Spreedly::Gateway:0x007fd4b2a8eda8
 @created_at="2016-08-11T17:16:21Z",
 @credentials={"source_key"=>"Your source_key"},
 @gateway_type="usa_epay",
 @name="USA ePay",
 @state="retained",
 @token="96JmQzpG619xs7zYwMlyawUK0rb",
 @updated_at="2016-08-11T17:16:21Z">