Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bckbn_pay

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bckbn_pay

  • 0.5.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

bckbn_pay

BckbnPay - the Ruby gem for the Bckbn Pay API

API for Bckbn Pay services

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 0.5.1
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build bckbn_pay.gemspec

Then either install the gem locally:

gem install ./bckbn_pay-0.5.1.gem

(for development, run gem install --dev ./bckbn_pay-0.5.1.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'bckbn_pay', '~> 0.5.1'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'bckbn_pay', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'bckbn_pay'

# Setup authorization
BckbnPay.configure do |config|
  # Configure API key authorization: ApiKeyAuth
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
end

api_instance = BckbnPay::AccessKeysApi.new
x_api_version = 'x_api_version_example' # String | 
id = 'id_example' # String | 

begin
  #Delete an access key by ID
  api_instance.delete_access_key(x_api_version, id)
rescue BckbnPay::ApiError => e
  puts "Exception when calling AccessKeysApi->delete_access_key: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://pay-sandbox.bckbn.com

ClassMethodHTTP requestDescription
BckbnPay::AccessKeysApidelete_access_keyDELETE /access_keys/{id}Delete an access key by ID
BckbnPay::AccessKeysApilist_access_keysGET /access_keysList all access keys
BckbnPay::AccessKeysApiroll_access_keyPOST /access_keys/{id}/rollRoll an access key by ID
BckbnPay::BalanceTransactionsApilist_balance_transactionsGET /balance_transactionsList all balance transactions
BckbnPay::ChargesApiget_chargeGET /charges/{id}Retrieve a charge
BckbnPay::ChargesApilist_chargesGET /chargesList all charges
BckbnPay::CustomersApicreate_customerPOST /customersCreate a new customer
BckbnPay::CustomersApiget_customerGET /customers/{id}Retrieve a customer by ID
BckbnPay::CustomersApilist_customersGET /customersList all customers
BckbnPay::EventsApiget_eventGET /events/{id}Retrieve a single event by ID
BckbnPay::EventsApilist_eventsGET /eventsList all events
BckbnPay::MerchantConfigurationsApicreate_merchant_configurationsPOST /merchant_configurationsCreate merchant configurations
BckbnPay::MerchantConfigurationsApiget_merchant_configurationsGET /merchant_configurationsRetrieve merchant configurations
BckbnPay::PaymentIntentsApicancel_payment_intentPOST /payment_intents/{id}/cancelCancel a payment intent
BckbnPay::PaymentIntentsApicapture_payment_intentPOST /payment_intents/{id}/captureCapture a payment intent
BckbnPay::PaymentIntentsApiconfirm_payment_intentPOST /payment_intents/{id}/confirmConfirm a payment intent
BckbnPay::PaymentIntentsApicreate_payment_intentPOST /payment_intentsCreate a new payment intent
BckbnPay::PaymentIntentsApiget_payment_intentGET /payment_intents/{id}Retrieve a payment intent by ID
BckbnPay::PaymentIntentsApilist_payment_intentsGET /payment_intentsList payment intents
BckbnPay::PaymentIntentsApiupdate_payment_intentPATCH /payment_intents/{id}Update a payment intent
BckbnPay::PaymentMethodsApicreate_payment_methodPOST /payment_methodsCreate a payment method
BckbnPay::PaymentMethodsApiget_payment_methodGET /payment_methods/{id}Retrieve a payment method
BckbnPay::PaymentMethodsApilist_payment_methodsGET /payment_methodsList all payment methods
BckbnPay::RefundsApicancel_refundPUT /refunds/{id}/cancelCancel a refund
BckbnPay::RefundsApicreate_refundPOST /refundsCreate a refund
BckbnPay::RefundsApiget_refundGET /refunds/{id}Get a refund by ID
BckbnPay::RefundsApilist_refundsGET /refundsList refunds for a Charge
BckbnPay::SubMerchantsApicreate_sub_merchantPOST /sub_merchantsCreate a sub_merchant
BckbnPay::SubMerchantsApiget_sub_merchantGET /sub_merchants/{id}Retrieve a sub_merchant
BckbnPay::SubMerchantsApilist_sub_merchantsGET /sub_merchantsList all sub-merchants
BckbnPay::WebhookEndpointsApicreate_webhook_endpointPOST /webhook_endpointsCreate a webhook endpoint
BckbnPay::WebhookEndpointsApidelete_webhook_endpointDELETE /webhook_endpoints/{id}Delete a webhook endpoint by ID
BckbnPay::WebhookEndpointsApiget_webhook_endpointGET /webhook_endpoints/{id}Retrieve a webhook endpoint by ID
BckbnPay::WebhookEndpointsApilist_webhook_endpointsGET /webhook_endpointsList all webhook endpoints
BckbnPay::WebhookEndpointsApiupdate_webhook_endpointPATCH /webhook_endpoints/{id}Update a webhook endpoint by ID
BckbnPay::WebhookRequestsApilist_webhook_requestsGET /webhook_requestsList all webhook requests

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

FAQs

Package last updated on 19 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc