Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

python library for the reepay checkout API, generated by swagger-codegen

Notifications You must be signed in to change notification settings

reepay/reepay-checkout-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger-client

Reepay Checkout REST API

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

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

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

Then import the package:

import swagger_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:

import swagger_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CheckoutApi(swagger_client.ApiClient(configuration))
id = 'id_example' # str | Session id
body = swagger_client.SessionChargeDto() # SessionChargeDto |  (optional)

try:
    # Finish charge using source
    api_response = api_instance.charge_checkout_session(id, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CheckoutApi->charge_checkout_session: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://checkout-api.reepay.com

Class Method HTTP request Description
CheckoutApi charge_checkout_session POST /v1/checkout/{id}/charge Finish charge using source
CheckoutApi create_applepay_session POST /v1/checkout/{id}/applepay Create Apple Pay session
CheckoutApi create_googlepay_session POST /v1/checkout/{id}/googlepay Create Google Pay session
CheckoutApi create_mpo_session POST /v1/checkout/{id}/mpo Create MobilePay Online session
CheckoutApi create_paypal_session POST /v1/checkout/{id}/paypal Create PayPal session
CheckoutApi create_pgw_session POST /v1/checkout/{id}/pgw Create pgw session
CheckoutApi create_resurs_session POST /v1/checkout/{id}/resurs Create Resurs session
CheckoutApi create_viabill_session POST /v1/checkout/{id}/viabill Create ViaBill session
CheckoutApi get_checkout_session GET /v1/checkout/{id} Get checkout session data
CheckoutApi get_resurs_payment_method_cost POST /v1/checkout/{id}/resurs/payment_method_cost Get HTML with cost of Resurs payment method
CheckoutApi get_resurs_payment_methods GET /v1/checkout/{id}/resurs/payment_methods Get Resurs payment methods
CheckoutApi get_terms GET /v1/checkout/{id}/terms Get account terms template
CheckoutApi recurring_checkout_session POST /v1/checkout/{id}/recurring Save recurring customer payment method
CheckoutApi subscription_checkout_session POST /v1/checkout/{id}/subscription Set payment method on subscription
ConfigurationApi create_configuration POST /v1/configuration Create configuration
ConfigurationApi delete_configuration DELETE /v1/configuration/{handle} Delete configuration
ConfigurationApi get_configuration GET /v1/configuration/{handle} Get configuration
ConfigurationApi get_configurations GET /v1/configuration Get configurations
ConfigurationApi update_configuration PUT /v1/configuration/{handle} Update configuration
SessionApi create_charge_session POST /v1/session/charge Create charge session
SessionApi create_recurring_session POST /v1/session/recurring Create recurring session
SessionApi create_subscription_session POST /v1/session/subscription Create subscription session
SessionApi delete_session DELETE /v1/session/{id} Delete session
SessionInfoApi get_session GET /v1/session_info/{id} Get session info
SessionInfoApi get_sessions GET /v1/session_info/{relation_type}/{handle} Get sessions by relation type and handle
SignupApi create_signup_page POST /v1/signup_page Create signup page
SignupApi delete_signup_page DELETE /v1/signup_page/{id} Delete signup page
SignupApi get_signup_page GET /v1/signup_page/{id} Get signup page
SignupApi get_signup_page_signup GET /v1/signup_page/{id}/signup Get signup page signup data
SignupApi get_signup_pages GET /v1/signup_page Get signup pages
SignupApi update_signup_page PUT /v1/signup_page/{id} Update signup page

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Author

About

python library for the reepay checkout API, generated by swagger-codegen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published