Skip to content

Repository files navigation

openapi-client

Rvvup Public API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 2024-03-01
  • Package version: 1.0.0
  • Generator version: 7.7.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://rvvup.com

Requirements.

Python 3.7+

Installation & Usage

pip install

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

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

importopenapi_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

importopenapi_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

importopenapi_clientfromopenapi_client.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to http://localhost# See configuration.py for a list of all supported configuration parameters.configuration=openapi_client.Configuration(
host="http://localhost"
)
# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure Bearer authorization (JWT): apiKeyconfiguration=openapi_client.Configuration(
access_token=os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API clientwithopenapi_client.ApiClient(configuration) asapi_client:
# Create an instance of the API classapi_instance=openapi_client.CheckoutTemplatesApi(api_client)
merchant_id='merchant_id_example'# str | merchant idcheckout_template_create_input=openapi_client.CheckoutTemplateCreateInput() # CheckoutTemplateCreateInput | The checkout template to createtry:
# Create new checkout templateapi_response=api_instance.create_checkout_template(merchant_id, checkout_template_create_input)
print("The response of CheckoutTemplatesApi->create_checkout_template:\n")
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling CheckoutTemplatesApi->create_checkout_template: %s\n"%e)

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
CheckoutTemplatesApicreate_checkout_templatePOST /api/2024-03-01/{merchantId}/checkout-templatesCreate new checkout template
CheckoutTemplatesApiget_checkout_templateGET /api/2024-03-01/{merchantId}/checkout-templates/{checkoutTemplateId}Get a checkout template
CheckoutTemplatesApilist_checkout_templatesGET /api/2024-03-01/{merchantId}/checkout-templatesList checkout templates
CheckoutTemplatesApiupdate_checkout_templatePATCH /api/2024-03-01/{merchantId}/checkout-templates/{checkoutTemplateId}Update a checkout template
CheckoutsApicreate_checkoutPOST /api/2024-03-01/{merchantId}/checkoutsCreate new checkout
CheckoutsApiget_checkoutGET /api/2024-03-01/{merchantId}/checkouts/{checkoutId}Get a checkout
CheckoutsApilist_checkout_payment_methodsGET /api/2024-03-01/{merchantId}/checkouts/{checkoutId}/payment-methodsGet payment methods for a checkout
CheckoutsApilist_checkoutsGET /api/2024-03-01/{merchantId}/checkoutsList checkouts
PaymentLinksApicreate_payment_linkPOST /api/2024-03-01/{merchantId}/payment-linksCreate new payment link
PaymentLinksApideactivate_payment_linkDELETE /api/2024-03-01/{merchantId}/payment-links/{paymentLinkId}Deactivate a payment link
PaymentLinksApiget_payment_linkGET /api/2024-03-01/{merchantId}/payment-links/{paymentLinkId}Get a payment link
PaymentLinksApilist_payment_linksGET /api/2024-03-01/{merchantId}/payment-linksList payment links
PaymentSessionsApicreate_payment_sessionPOST /api/2024-03-01/{merchantId}/checkouts/{checkoutId}/payment-sessionsCreate a payment session
PaymentSessionsApiget_payment_sessionGET /api/2024-03-01/{merchantId}/checkouts/{checkoutId}/payment-sessions/{paymentSessionId}Get a payment session
StatementExportsApiexport_statementPOST /api/2024-03-01/{merchantId}/statements/exportExport a statement
WebhooksApicreate_webhookPOST /api/2024-03-01/{merchantId}/webhooksCreate a new webhook
WebhooksApiget_webhookGET /api/2024-03-01/{merchantId}/webhooks/{webhookId}Get a webhook by id
WebhooksApilist_webhooksGET /api/2024-03-01/{merchantId}/webhooksGet all webhook
WebhooksApiupdate_webhookPATCH /api/2024-03-01/{merchantId}/webhooks/{webhookId}Update a webhook

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

apiKey

  • Type: Bearer authentication (JWT)

Author

info@rvvup.com

About

Generated OpenAPI client for the Rvvup API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages