Skip to main content

Splitit.OnBoarding.Api.V2

Project description

splitit-onboarding-python-sdk

Splitit's Onboarding API

  • API version: 1.0.0
  • Package version: 3.0.0

Requirements.

Python >=3.7

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install splitit-onboarding-python-sdk==3.0.0

(you may need to run pip with root permission: sudo pip install splitit-onboarding-python-sdk==3.0.0)

Then import the package:

import splitit_client

Getting Started

Please follow the installation procedure and then run the following:

from pprint import pprint
from splitit_client import Splitit

splitit = Splitit(
    # Defining the host is optional and defaults to https://onboarding-v2.sandbox.splitit.com
    # See configuration.py for a list of all supported configuration parameters.
    host = "https://onboarding-v2.sandbox.splitit.com",

    # Configure OAuth2 access token for authorization: oauth2
    access_token = 'YOUR_ACCESS_TOKEN'
)

get_countries_response = splitit.data.get_countries()
try:
    pprint(get_countries_response.body["countries"])
    pprint(get_countries_response.headers)
    pprint(get_countries_response.status)
except ApiException as e:
    print("Exception when calling CountriesResponse.get_countries: %s\n" % e)
    pprint(e.body)
    pprint(e.headers)
    pprint(e.status)
    pprint(e.reason)

Documentation for API Endpoints

All URIs are relative to https://onboarding-v2.sandbox.splitit.com

Class Method HTTP request Description
DataApi get_countries get /api/data/get-countries
DataApi get_currencies get /api/data/get-currencies
DataApi get_processors get /api/data/get-processors
DataApi get_verticals get /api/data/get-verticals
DataApi status_legend get /api/data/status-legend
MerchantsApi create post /api/merchants/create
MerchantsApi create_developer post /api/merchants/create/developer
MerchantsApi get get /api/merchants/get
MerchantsApi get_details get /api/merchants/get-details

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth2

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • onboarding.api.v2: onboarding.api.v2

Author

This Python package is automatically generated by Konfig

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splitit-onboarding-python-sdk-3.0.0.tar.gz (58.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page