MIT Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Mercadotecnica, Ideas y Tecnología S.A. de C.V.
Services that work with Spreedly:
  • MIT
Supported operations:
Purchase, Authorize, Capture, Refund
Unsupported operations:
Void
Supported payment types:
Credit Card
Spreedly 3DS2 Global Supported
No
Gateway Specific 3DS1 Supported
No
Gateway Specific 3D2 Supported
No
Regions:
North America
API endpoint URL:
https://wpy.mitec.com.mx/ModuloUtilWS/activeCDP.htm

Authentication and Security

Specific names for credentials:
Commerce, User, Api Key, Key Session

Onboarding Merchants in:

Adding a MIT gateway

To add a MIT gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>mit</gateway_type>
        <commerce_id>Your commerce id</commerce_id>
        <user>Your user</user>
        <api_key>Your api key</api_key>
        <key_session>Your key session</key_session>
      </gateway>'

<gateway>
  <token>TJ0xIhJ9VVPAmAWpOuaKJ8O05c</token>
  <gateway_type>mit</gateway_type>
  <name>MIT</name>
  <description nil="true"/>
  <merchant_profile_key nil="true"/>
  <commerce_id>Your commerce id</commerce_id>
  <user>Your user</user>
  <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">false</supports_void>
    <supports_adjust type="boolean">false</supports_adjust>
    <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_3dsecure_2_mpi_purchase type="boolean">false</supports_3dsecure_2_mpi_purchase>
    <supports_3dsecure_2_mpi_authorize type="boolean">false</supports_3dsecure_2_mpi_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_network_tokenization type="boolean">false</supports_network_tokenization>
    <supports_populate_mit_fields type="boolean">false</supports_populate_mit_fields>
  </characteristics>
  <credentials>
    <credential>
      <name>commerce_id</name>
      <value>Your commerce id</value>
    </credential>
    <credential>
      <name>user</name>
      <value>Your user</value>
    </credential>
  </credentials>
  <gateway_settings>
  </gateway_settings>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <sandbox type="boolean">false</sandbox>
  <created_at type="dateTime">2021-10-07T19:02:00Z</created_at>
  <updated_at type="dateTime">2021-10-07T19:02:00Z</updated_at>
</gateway>


env = Spreedly::Environment.new('C7cRfNJGODKh4Iu5Ox3PToKjniY', '4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ', base_url: 'https://core.spreedly.com')
env.add_gateway(:mit, commerce_id: "Your commerce id", user: "Your user", api_key: "Your api key", key_session: "Your key session")


#<Spreedly::Gateway:0x00007fb761b13b98
@token="TPXNhq4jl2sJYMbFVYStNjc77h8",
@created_at="2021-10-07T19:02:00Z",
@updated_at="2021-10-07T19:02:00Z",
@gateway_type="mit",
@state="retained",
@name="MIT",
@credentials={"commerce_id"=>"Your commerce id", "user"=>"Your user"}>