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

masspay_ruby_sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

masspay_ruby_sdk

  • 2.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

masspay_ruby_sdk

Welcome to our masspay_ruby_sdk. We are committed to providing you with the best SDK services experience possible. Please use our step-by-step instructions to become familiar with how to use our SDK.

  • Current API version: 1.0.0
  • Current package version: 2.0.0

Table of Contents

Requirements

  • Ruby version >= 2.7.
  • MassPay.io API credentials.

Installation

Use this command to install masspay_ruby_sdk in your terminal.

gem install masspay_ruby_sdk

Usage

In case that you successfully installed our masspay_ruby_sdk please execute this code:

require 'masspay_ruby_sdk'

client = MasspayRubySdk.client({ bearer_auth: 'YOUR_BEARER_TOKEN' })
client.account_service.get_account_balance

Features

Kindly note that every URI is relative to https://api.masspay.io/v1.0.0.

The table displays all features categorized based on their specific purposes.

ClassMethodHTTP requestDescription
MasspayRubySdk.account_serviceget_account_balanceGET /payout/account/balanceGet current available balance
MasspayRubySdk.account_serviceget_account_statementGET /payout/account/statementGet certified account statement
MasspayRubySdk.attribute_serviceget_all_attrsGET /payout/attribute/{user_token}Get all stored user attributes
MasspayRubySdk.attribute_servicestore_attrsPOST /payout/attribute/{user_token}/{destination_token}/{currency}Store user attributes
MasspayRubySdk.attribute_serviceget_attrsGET /payout/attribute/{user_token}/{destination_token}/{currency}Get user attributes for destination_token
MasspayRubySdk.card_serviceget_wallet_card_infoGET /payout/wallet/{user_token}/{wallet_token}/cardGet MassPay card information
MasspayRubySdk.card_serviceupdate_wallet_card_infoPUT /payout/wallet/{user_token}/{wallet_token}/cardUpdate MassPay card information
MasspayRubySdk.catalog_serviceget_country_listGET /payout/country/listGets a list of countries where services offered.
MasspayRubySdk.catalog_serviceget_country_servicesGET /payout/country/{country_code}Gets a list of Companies and their service offerings for the given country code.
MasspayRubySdk.catalog_serviceget_cheapest_country_servicesGET /payout/country/{country_code}/cheapestGets a list of Companies and their cheapest service offerings for the given country code.
MasspayRubySdk.catalog_serviceget_destination_token_alternativesGET /payout/service/{destination_token}/alternativesReturns list of alternative service to a provided service
MasspayRubySdk.catalog_serviceget_destination_tokenGET /payout/service/{destination_token}Returns provided service
MasspayRubySdk.catalog_serviceget_user_agreementGET /payout/user-agreementsGet user agreement
MasspayRubySdk.catalog_serviceget_user_agreements_namesOPTIONS /payout/user-agreementsGet available user agreements
MasspayRubySdk.kyc_servicefind_attributes_velocityPOST /payout/attribute/{user_token}/velocityAttributes velocity check
MasspayRubySdk.kyc_serviceget_user_user_token_kyc_au_10_tixGET /payout/user/{user_token}/kyc/au10tixGet an Au10tix session link
MasspayRubySdk.kyc_serviceupload_id_photosPOST /payout/user/{user_token}/kyc/idUpload ID photos
MasspayRubySdk.kyc_serviceget_user_user_token_kyc_attemptsGET /payout/user/{user_token}/kyc/idGet all KYC sessions
MasspayRubySdk.kyc_serviceget_user_user_token_kyc_veriffGET /payout/user/{user_token}/kyc/veriffGet a Veriff session link
MasspayRubySdk.load_serviceresend_balance_notificationPUT /payout/wallet/{user_token}Resend balance notification
MasspayRubySdk.load_serviceload_userPOST /payout/load/{user_token}Initiate a load transaction
MasspayRubySdk.load_serviceget_user_loads_by_tokenGET /payout/load/{user_token}Get history of loads by user token
MasspayRubySdk.load_serviceresend_load_notificationPUT /payout/load/{user_token}Resend load notification
MasspayRubySdk.load_servicecancel_user_loadDELETE /payout/load/{user_token}Reverse a user load
MasspayRubySdk.payout_serviceinitiate_payoutPOST /payout/{user_token}Initiate a payout transaction
MasspayRubySdk.payout_serviceget_user_payouts_by_tokenGET /payout/{user_token}Get history of payouts by user token
MasspayRubySdk.payout_servicecommit_payout_txnPUT /payout/{user_token}/{payout_token}Commit payout transaction
MasspayRubySdk.payout_serviceget_payout_statusGET /payout/{user_token}/{payout_token}Get status of a payout by payout token
MasspayRubySdk.payout_serviceget_transaction_confirmation_detailsPATCH /payout/{user_token}/{payout_token}Get transaction confirmation details
MasspayRubySdk.spend_back_serviceget_user_spendbacks_by_tokenGET /payout/spendback/{user_token}Get history of spend backs by user token
MasspayRubySdk.spend_back_serviceinitiate_spendbackPOST /payout/spendback/{user_token}Initiate a spend back transaction
MasspayRubySdk.subaccount_servicecreate_subaccountPOST /subaccountCreate a subaccount
MasspayRubySdk.subaccount_serviceget_subaccount_subaccount_token_uboPOST /subaccount/{subaccount_token}/uboAdd UBOs to subaccount
MasspayRubySdk.subaccount_serviceupload_subaccount_ubo_idPOST /subaccount/{subaccount_token}/ubo/{ubo_token}/idUpload UBO ID photos
MasspayRubySdk.tax_serviceget_tax_usersGET /payout/taxGet list of users' annual balance
MasspayRubySdk.tax_serviceget_tax_interview_linkGET /payout/{user_token}/taxGet link for tax interview
MasspayRubySdk.user_servicecreate_userPOST /payout/userCreate a user
MasspayRubySdk.user_serviceget_user_by_tokenGET /payout/user/{user_token}Get user by user token
MasspayRubySdk.user_serviceupdate_userPUT /payout/user/{user_token}Updated user
MasspayRubySdk.user_serviceuser_lookupGET /payout/user/lookupLookup an existing user
MasspayRubySdk.user_serviceget_user_historyGET /payout/user/{user_token}/historyTransactions history
MasspayRubySdk.user_serviceget_all_users_historyGET /payout/user/historyAll Users' Transactions history
MasspayRubySdk.wallet_serviceget_walletGET /payout/wallet/{user_token}Retrieve all available wallets for a user
MasspayRubySdk.wallet_serviceget_autopayout_rulesGET /payout/wallet/{user_token}/{wallet_token}/autopayoutGet all AutoPayout rules
MasspayRubySdk.wallet_servicecreate_autopayout_rulePOST /payout/wallet/{user_token}/{wallet_token}/autopayoutAdd AutoPayout rule
MasspayRubySdk.wallet_servicedelete_autopayout_ruleDELETE /payout/wallet/{user_token}/{wallet_token}/autopayoutDelete AutoPayout rule

Contributing

To learn more about the possibility of contributing to the subsequent development of this SDK, please visit our contributing page. Kindly note that contributions are limited by a unique set of rules in order to ensure clarity.

License

Please refer to the license page for more information about the license type and the corresponding terms of use.

Contact

We kindly request that you direct all questions to our support email:

Frequently Asked Questions (FAQ)

Q: Where may I obtain an API key? A: Please visit our registration page if you do not have your unique API key.

FAQs

Package last updated on 19 Jul 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