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
Python 2.7 and 3.4+
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
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
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)
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 |
- Account
- AddOn
- AllowedPaymentMethod
- AllowedPaymentMethodParameters
- AppleLineItem
- ApplepayPaymentRequestDto
- Card
- CardOnFile
- CardTransaction
- Charge
- ChargeSource
- CheckoutSession
- Configuration
- CreateChargeSession
- CreateConfiguration
- CreateCustomer
- CreateMpoSession
- CreateOrderLine
- CreatePGWSession
- CreatePreparedSubscription
- CreateRecurringSession
- CreateResursSession
- CreateSignupPage
- CreateSubscription
- CreateSubscriptionAddOn
- CreateSubscriptionAdditionalCost
- CreateSubscriptionDiscount
- CreateSubscriptionSession
- CreateViabillSession
- CreditInvoice
- CreditNoteLine
- Customer
- Discount
- ErrorResponse
- GooglepayPaymentRequestDto
- Invoice
- InvoiceBillingAddress
- InvoiceCreditNote
- InvoiceShippingAddress
- ManualTransaction
- MerchantInfo
- Order
- OrderLine
- PaymentMethods
- PaypalTransaction
- PgwTransaction
- Plan
- PreparedSubscription
- ResursPaymentMethodDto
- ResursTransaction
- Session
- SessionChargeDto
- SessionInfo
- SessionPaymentMethod
- SessionPaymentMethods
- SessionRecurring
- SignupPage
- SignupPageSignup
- StrongAuth
- Subscription
- SubscriptionAddOn
- SubscriptionChange
- SubscriptionDiscount
- SubscriptionLinks
- TokenizationSpecification
- TokenizationSpecificationParameters
- Transaction
- TransactionInfo
- UpdateConfiguration
- ViabillTransaction
- Type: HTTP basic authentication