Cecabank Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Cecabank, SA
Services that work with Spreedly:
  • Cecabank
Supported operations:
Purchase, Refund
Unsupported operations:
Authorize, Capture, Void
Regions:
Europe

Authentication and Security

Specific names for credentials:
Acquirer Bin, Merchant ID, Terminal ID, Cypher Key

Onboarding Merchants in:

Additional Notes

Cecabank offers an offsite hosted payment page and a direct API integration option. Spreedly only supports a direct API integration model. To add Cecabank to your Spreedly account you must ensure that your Cecabank account is set up to support a direct API model. If you’re not sure please check with your Cecabank account manager first.

To add a Cecabank gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>cecabank</gateway_type>
        <merchant_id>YourMerchantID</merchant_id>
        <acquirer_bin>YourAcquirerBin</acquirer_bin>
        <terminal_id>YourTerminalID</terminal_id>
        <cypher_key>YourCypherKey</cypher_key>
      </gateway>'

<gateway>
  <token>XLdM3U6I7bbCAFNBmHAE4OuZWiC</token>
  <gateway_type>cecabank</gateway_type>
  <name>Cecabank</name>
  <description nil="true"/>
  <merchant_id>YourMerchantID</merchant_id>
  <acquirer_bin>YourAcquirerBin</acquirer_bin>
  <terminal_id>YourTerminalID</terminal_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>merchant_id</name>
      <value>YourMerchantID</value>
    </credential>
    <credential>
      <name>acquirer_bin</name>
      <value>YourAcquirerBin</value>
    </credential>
    <credential>
      <name>terminal_id</name>
      <value>YourTerminalID</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:19Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:14:19Z</updated_at>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:cecabank, merchant_id: 'YourMerchantId', acquirer_bin: 'YourAcquirerBin',
                terminal_id: 'YourTerminalId', cypher_key: 'YourCypherKey')


#<Spreedly::Gateway:0x007fcaf1acdf78
 @created_at="2016-08-11T17:14:20Z",
 @credentials=
  {"merchant_id"=>"YourMerchantId",
   "acquirer_bin"=>"YourAcquirerBin",
   "terminal_id"=>"YourTerminalId"},
 @gateway_type="cecabank",
 @name="Cecabank",
 @state="retained",
 @token="O3GNX4GNsDbNLP3xijhIwYPkdaR",
 @updated_at="2016-08-11T17:14:20Z">