splitit-web-api-v3
Project description
splitit-web-python-sdk
Splitit's Web API
- API version: 1.0.0
- Package version: 2.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-web-python-sdk==2.0.0
(you may need to run pip
with root permission: sudo pip install splitit-web-python-sdk==2.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://web-api-v3.sandbox.splitit.com
# See configuration.py for a list of all supported configuration parameters.
host = "https://web-api-v3.sandbox.splitit.com",
# Configure OAuth2 access token for authorization: oauth
access_token = 'YOUR_ACCESS_TOKEN'
)
cancel_response = splitit.installment_plan.cancel(
path_params = {
'installmentPlanNumber': "installmentPlanNumber_example",
},
header_params = {
'X-Splitit-IdempotencyKey': "X-Splitit-IdempotencyKey_example",
},
)
try:
pprint(cancel_response.body["installment_plan_number"])
pprint(cancel_response.headers)
pprint(cancel_response.status)
except ApiException as e:
print("Exception when calling InstallmentPlanCancelResponse.cancel: %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://web-api-v3.sandbox.splitit.com
Class | Method | HTTP request | Description |
---|---|---|---|
InstallmentPlanApi | cancel | post /api/installmentplans/{installmentPlanNumber}/cancel | |
InstallmentPlanApi | check_eligibility | post /api/installmentplans/check-eligibility | |
InstallmentPlanApi | get | get /api/installmentplans/{installmentPlanNumber} | |
InstallmentPlanApi | post | post /api/installmentplans/initiate | |
InstallmentPlanApi | post2 | post /api/installmentplans | |
InstallmentPlanApi | refund | post /api/installmentplans/{installmentPlanNumber}/refund | |
InstallmentPlanApi | search | get /api/installmentplans/search | |
InstallmentPlanApi | update_order | put /api/installmentplans/{installmentPlanNumber}/updateorder | |
InstallmentPlanApi | update_order2 | put /api/installmentplans/updateorder | |
InstallmentPlanApi | verify_authorization | get /api/installmentplans/{installmentPlanNumber}/verifyauthorization |
Documentation For Models
- AddressData
- AddressDataModel
- AuthorizationModel
- CardBrand
- CardData
- CardType
- CheckInstallmentsEligibilityRequest
- Error
- ErrorExtended
- FailedResponse
- GwAuthorizationStatus
- IdentifierContract
- InitiatePlanResponse
- InitiateRedirectionEndpointsModel
- Installment
- InstallmentPlanCancelResponse
- InstallmentPlanCreateRequest
- InstallmentPlanCreateResponse
- InstallmentPlanGetResponse
- InstallmentPlanInitiateRequest
- InstallmentPlanRefundRequest
- InstallmentPlanRefundResponse
- InstallmentPlanSearchResponse
- InstallmentPlanUpdateRequest
- InstallmentPlanUpdateRequestByIdentifier
- InstallmentPlanUpdateResponse
- InstallmentStatus
- InstallmentsEligibilityResponse
- LinksData
- LinksModel
- PaymentMethodModel
- PaymentMethodType
- PaymentPlanOptionModel
- PlanData
- PlanDataModel
- PlanErrorResponse
- PlanStatus
- PurchaseMethod
- RedirectionEndpointsModel
- RefundModel
- RefundStatus
- RefundStrategy
- RefundSummary
- SearchInstallmentPlanResponseItem
- ShippingStatus
- ShippingStatus2
- ShopperData
- TestModes
- ThreeDsRedirectDataV3
- UpdateOrderRequest
- VerifyAuthorizationResponse
Documentation For Authorization
Authentication schemes defined for the API:
oauth
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes:
- api.v3:
Author
This Python package is automatically generated by Konfig
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for splitit-web-python-sdk-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcbf2d6292276c2cc34bfe3fba7c082b2c98dabc0173240d2ada530e089d9dc1 |
|
MD5 | 292c709000eeebd6d7ad05a6cda8cce6 |
|
BLAKE2b-256 | 11e47ae3c07fca2ba57cebdb352011f5929220e28fd539f14c12211f332990f0 |
Close
Hashes for splitit_web_python_sdk-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c60528f849514b677f89edbf362adf096eafccae79ffa86df46ca9eb9aaaf5 |
|
MD5 | 824b7294b0c98fcd3b944f4ba2329ed9 |
|
BLAKE2b-256 | 6e1d0c883f18e8bb7ac530c9c403ed8ed638bba49eda137ca3db78d86e791ea0 |