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
- CountriesResponse
- CountryResponse
- CreateDeveloperRequest
- CreateMerchantRequest
- CreateMerchantResponse
- CurrenciesResponse
- CurrencyResponse
- EnumDTO
- Error
- GetMerchantDetailsResponse
- GetMerchantResponse
- GetMerchantsResponse
- MerchantVerticalResponse
- MerchantVerticalsResponse
- ProcessorAuthenticationParametersRequest
- ProcessorResponse
- ProcessorsResponse
- RequestHeaderSlim
- ResponseHeader
- SelfOnBoardingErrorResponse
- StatusLegendResponse
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
Built Distribution
File details
Details for the file splitit-onboarding-python-sdk-3.0.0.tar.gz
.
File metadata
- Download URL: splitit-onboarding-python-sdk-3.0.0.tar.gz
- Upload date:
- Size: 58.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f635f65759a0432785a3dacb3559bc0d2d27ef7995c7872e80167a493025da |
|
MD5 | ab94f2b6d2ade227f607dcc31395aa7e |
|
BLAKE2b-256 | 89bcbbdc0a5bb4336fdbdc11b52f7098ce065bc55b33d84780cf954012e95610 |
File details
Details for the file splitit_onboarding_python_sdk-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: splitit_onboarding_python_sdk-3.0.0-py3-none-any.whl
- Upload date:
- Size: 98.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7224ae4db38bad44f2eb675f2fd2a159a37d639edf899dcb903cefd4205339a3 |
|
MD5 | 1c7d57a9b56b96bfa37995464a416d5f |
|
BLAKE2b-256 | 05fd55f3c69b4e00de5fd409d40c84ff8e78d2a24a5a8c29f97c5bb755eb6dbb |