Global Transport gateway guide

Adding a Global Transport gateway

To add a Global Transport gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>global_transport</gateway_type>
        <global_user_name>Your global user name</global_user_name>
        <global_password>Your global password</global_password>
      </gateway>'
<gateway>
  <token>SJ3ckSU3Ai83ETjkcQp6nENEhWx</token>
  <gateway_type>global_transport</gateway_type>
  <name>Global Transport</name>
  <description nil="true"/>
  <global_user_name>Your global user name</global_user_name>
  <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>global_user_name</name>
      <value>Your global user name</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">2018-06-19T17:07:42Z</created_at>
  <updated_at type="dateTime">2018-06-19T17:07:42Z</updated_at>
</gateway>

Gateway specific response fields

A response from a Global Transport gateway may contain the following gateway specific response fields:

<transaction>
  <token>LgpTNGjsWQs9DwdxcbreUVz0R8p</token>
  <transaction_type>Purchase</transaction_type>
  <gateway_specific_response_fields>
     <global_transport>
       <authcode>VI0500</authcode>
       <message>The Message</message>
       <approved_amount>20.00</approved_amount>
       <balance_due>15.00</balance_due>
     </global_transport>
  </gateway_specific_response_fields>
</transaction>