DIBS Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
DIBS Payment Services
Services that work with Spreedly:
  • D2
Supported operations:
Purchase, Authorize, Capture, Refund, Void, Verify, Store
Supported payment types:
Credit Card
Spreedly 3DS2 Global Supported
No
Gateway Specific 3DS2 Supported
No
Populate MIT GSF Support
No
Regions:
Europe, North America
API endpoint URL:
https://api.dibspayment.com/merchant/v1/JSON/Transaction/

Authentication and Security

Specific names for credentials:
Merchant Id, Secret Key
Additional steps needed to activate?
You will need to specifically request a HMAC key from DIBS for use as the secret_key credential.

Onboarding Merchants in:

Additional Notes

DIBS does not support multiple partial captures.

To add a DIBS gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>dibs</gateway_type>
        <merchant_id>Your merchant_id</merchant_id>
        <secret_key>Your secret_key</secret_key>
      </gateway>'

<gateway>
  <token>BZyM8lzAIAtvGbqphkwM5s73KBn</token>
  <gateway_type>dibs</gateway_type>
  <name>DIBS</name>
  <description nil="true"/>
  <merchant_id>Your merchant_id</merchant_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">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">true</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>Your merchant_id</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
    <payment_method>third_party_token</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2018-06-19T17:07:31Z</created_at>
  <updated_at type="dateTime">2018-06-19T17:07:31Z</updated_at>
</gateway>


env = Spreedly::Environment.new('C7cRfNJGODKh4Iu5Ox3PToKjniY', '4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ', base_url: 'https://core.spreedly.com')
env.add_gateway(:dibs, merchant_id: "Your merchant_id", secret_key: "Your secret_key")


#<Spreedly::Gateway:0x007fe332991570
@token="2VBygs2Q2UyMKdqcKKpNMghZ0IR",
@created_at="2017-07-27T17:48:35Z",
@updated_at="2017-07-27T17:48:35Z",
@gateway_type="dibs",
@state="retained",
@name="DIBS",
@credentials={"merchant_id"=>"Your merchant_id"}>