All Projects → Adyen → Adyen Ruby Api Library

Adyen / Adyen Ruby Api Library

Licence: mit
Adyen API Library for Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Adyen Ruby Api Library

Adyen Php Api Library
Adyen API Library for PHP
Stars: ✭ 93 (+165.71%)
Mutual labels:  api-client, payment, payments, payment-gateway
adyen-dotnet-api-library
Adyen API Library for .NET
Stars: ✭ 69 (+97.14%)
Mutual labels:  payment, api-client, payments, payment-gateway
adyen-python-api-library
Adyen API Library for Python
Stars: ✭ 41 (+17.14%)
Mutual labels:  payment, api-client, payments, payment-gateway
cybersource-android-sdk
The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their Android applications.
Stars: ✭ 25 (-28.57%)
Mutual labels:  payment, payments, payment-gateway
paymentgateway
Dokumentace ČSOB platební brány a jejího eAPI pro platby platebními kartami, Apple Pay, mallpay a platebními tlačítky ČSOB.
Stars: ✭ 104 (+197.14%)
Mutual labels:  payment, payments, payment-gateway
Sdk Dotnet
.Net SDK for Authorize.Net API
Stars: ✭ 124 (+254.29%)
Mutual labels:  payment, payments, payment-gateway
Openfintech
Opensource FinTech standards & payment provider data
Stars: ✭ 87 (+148.57%)
Mutual labels:  payment, payments, payment-gateway
cybersource-sdk-java
Java SDK for CyberSource Simple Order API
Stars: ✭ 44 (+25.71%)
Mutual labels:  payment, payments, payment-gateway
Laravel Paddle
Paddle.com API integration for Laravel with support for webhooks/events
Stars: ✭ 132 (+277.14%)
Mutual labels:  payment, payments, payment-gateway
midtrans-python-client
Official Midtrans Payment API Client for Python | https://midtrans.com
Stars: ✭ 24 (-31.43%)
Mutual labels:  payment, api-client, payment-gateway
Checkout Sdk Node
Checkout.com SDK for Node.js. Documentation here:
Stars: ✭ 28 (-20%)
Mutual labels:  api-client, payments, payment-gateway
sep-pay
Pay.ir Payment Package for Laravel 5.3+
Stars: ✭ 17 (-51.43%)
Mutual labels:  payment, payments, payment-gateway
Gringotts
A complete payment library for Elixir and Phoenix Framework
Stars: ✭ 396 (+1031.43%)
Mutual labels:  payment, payments, payment-gateway
python-daraja
Python Wrapper for interacting with the MPESA Daraja API. More Features to be implemented
Stars: ✭ 20 (-42.86%)
Mutual labels:  payment, payments, payment-gateway
adyen-salesforce-commerce-cloud
Salesforce Commerce Cloud (formerly Demandware)
Stars: ✭ 63 (+80%)
Mutual labels:  payment, payments, payment-gateway
Sdk Php
PHP SDK for Authorize.Net API
Stars: ✭ 343 (+880%)
Mutual labels:  payment, payments, payment-gateway
youzan-pay
基于有赞云和有赞微小店实现个人收款解决方案。
Stars: ✭ 69 (+97.14%)
Mutual labels:  payment, payment-gateway
nagadApi
This is Bangladeshi nagad payment gateway api development library. This library can be used in any php application.
Stars: ✭ 20 (-42.86%)
Mutual labels:  payment, payment-gateway
awesome-payment
A curated list of payment services
Stars: ✭ 22 (-37.14%)
Mutual labels:  payment, payment-gateway
flutter paystack
💳 A robust Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS
Stars: ✭ 146 (+317.14%)
Mutual labels:  payment, payment-gateway

Adyen API Library for Ruby

The Adyen API Library for Ruby lets you easily work with Adyen's API.

Integration

The Library supports all APIs under the following services:

  • checkout
  • payments
  • modifications
  • payouts
  • recurring
  • marketpay
  • postfmapi
  • data_protection
  • dispute
  • bin_lookup

Requirements

Built for Ruby >= 2.1

Installation

The sole dependency is faraday for http communication - run bundle install to install faraday if you don't already have it

To validate functionality of client, use bundle install --with development and rspec to run mock API tests.

Documentation

Follow the rest of our guides from the documentation on how to use this library.

Usage

Create a client to connect to the Adyen API

require 'adyen-ruby-api-library'

adyen = Adyen::Client.new

# for API-key based implementations
adyen.api_key = 'AF5XXXXXXXXXXXXXXXXXXXX'

# for basic-auth based implementations
adyen.ws_user = '[email protected]'
adyen.ws_password = 'super_secure_password123'

Make a Payment

response = adyen.checkout.payments({
  :amount => {
    :currency => "EUR",
    :value => 1000
  },
  :reference => "Your order number",
  :paymentMethod => {
    :type => "scheme",
    :encryptedCardNumber => "adyenjs_0_1_18$MT6ppy0FAMVMLH...",
    :encryptedExpiryMonth => "adyenjs_0_1_18$MT6ppy0FAMVMLH...",
    :encryptedExpiryYear => "adyenjs_0_1_18$MT6ppy0FAMVMLH...",
    :encryptedSecurityCode => "adyenjs_0_1_18$MT6ppy0FAMVMLH..."
  },
  :returnUrl => "https://your-company.com/checkout/",
  :merchantAccount => "YourMerchantAccount"
})

Change API Version

adyen.checkout.version = 65

List of supported methods

checkout:

  • payment_session
  • payments.result
  • payment_methods
  • payment_methods.balance
  • payments
  • payments.details
  • payment_links
  • payment_links.get
  • payment_links.update
  • origin_keys
  • orders
  • orders.cancel

payments:

  • authorise
  • authorise3d
  • authorise3ds2
  • get_authentication_result
  • retrieve_3ds2_result

modifications:

  • capture
  • cancel
  • refund
  • cancel_or_refund
  • technical_cancel
  • adjust_authorisation
  • donate
  • void_pending_refund

payouts:

  • confirm_third_party
  • decline_third_party
  • store_detail
  • submit_third_party
  • store_detail_and_submit_third_party
  • payout

recurring:

  • list_recurring_details
  • disable
  • store_token
  • schedule_account_updater

marketpay.account:

  • create_account_holder
  • get_account_holder
  • update_account_holder
  • update_account_holder_state
  • suspend_account_holder
  • un_suspend_account_holder
  • close_account_holder
  • create_account
  • update_account
  • close_account
  • upload_document
  • get_uploaded_documents
  • delete_bank_accounts
  • delete_payout_methods
  • delete_shareholders
  • check_account_holder

marketpay.fund:

  • account_holder_balance
  • account_holder_transaction_list
  • payout_account_holder
  • transfer_funds
  • setup_beneficiary
  • refund_not_paid_out_transfers

marketpay.notification:

  • create_notification_configuration
  • get_notification_configuration
  • get_notification_configuration_list
  • test_notification_configuration
  • update_notification_configuration
  • delete_notification_configurations

marketpay.hop:

  • get_onboarding_url

postfmapi:

  • assign_terminals
  • find_terminal
  • get_terminals_under_account

data_protection:

  • request_subject_erasure

dispute:

  • retrieve_applicable_defense_reasons
  • supply_defense_document
  • delete_dispute_defense_document
  • defend_dispute

bin_lookup:

  • get_3ds_availability
  • get_cost_estimate

Support

If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our support team.

Contributing

We strongly encourage you to join us in contributing to this repository so everyone can benefit from:

  • New features and functionality
  • Resolved bug fixes and issues
  • Any general improvements

Read our contribution guidelines to find out how.

Licence

MIT license. For more information, see the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].