Optimal Payments Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Optimal Payments
Services that work with Spreedly:
  • Optimal Payments
Supported operations:
Purchase, Authorize, Capture, Refund, Void
Regions:
Europe, North America

Authentication and Security

Specific names for credentials:
Account Number, Store, Password

Onboarding Merchants in:

To add a Optimal Payments gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>optimal_payments</gateway_type>
        <account_number>12345678</account_number>
        <store_id>test</store_id>
        <password>Your password</password>
      </gateway>'

<gateway>
  <token>3ejG4nr4kJPHGcMMlA8w2JC1N0N</token>
  <gateway_type>optimal_payments</gateway_type>
  <name>Optimal Payments</name>
  <description nil="true"/>
  <account_number>12345678</account_number>
  <store_id>test</store_id>
  <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">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>account_number</name>
      <value>12345678</value>
    </credential>
    <credential>
      <name>store_id</name>
      <value>test</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:15:25Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:15:25Z</updated_at>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:optimal_payments, account_number: "12345678", store_id: "test", password: "Your password")


#<Spreedly::Gateway:0x007fbc9aaee418
 @created_at="2016-08-11T17:15:26Z",
 @credentials={"account_number"=>"12345678", "store_id"=>"test"},
 @gateway_type="optimal_payments",
 @name="Optimal Payments",
 @state="retained",
 @token="KmGk6zNIEIsDZ5w3vYftTgM0MR",
 @updated_at="2016-08-11T17:15:26Z">