All URIs are relative to https://checkout-api.reepay.com
Method | HTTP request | Description |
---|---|---|
charge_checkout_session | POST /v1/checkout/{id}/charge | Finish charge using source |
create_applepay_session | POST /v1/checkout/{id}/applepay | Create Apple Pay session |
create_googlepay_session | POST /v1/checkout/{id}/googlepay | Create Google Pay session |
create_mpo_session | POST /v1/checkout/{id}/mpo | Create MobilePay Online session |
create_paypal_session | POST /v1/checkout/{id}/paypal | Create PayPal session |
create_pgw_session | POST /v1/checkout/{id}/pgw | Create pgw session |
create_resurs_session | POST /v1/checkout/{id}/resurs | Create Resurs session |
create_viabill_session | POST /v1/checkout/{id}/viabill | Create ViaBill session |
get_checkout_session | GET /v1/checkout/{id} | Get checkout session data |
get_resurs_payment_method_cost | POST /v1/checkout/{id}/resurs/payment_method_cost | Get HTML with cost of Resurs payment method |
get_resurs_payment_methods | GET /v1/checkout/{id}/resurs/payment_methods | Get Resurs payment methods |
get_terms | GET /v1/checkout/{id}/terms | Get account terms template |
recurring_checkout_session | POST /v1/checkout/{id}/recurring | Save recurring customer payment method |
subscription_checkout_session | POST /v1/checkout/{id}/subscription | Set payment method on subscription |
CheckoutSession charge_checkout_session(id, body=body)
Finish charge using source
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()
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)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | SessionChargeDto | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_applepay_session(id)
Create Apple Pay session
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()
id = 'id_example' # str | Session id
try:
# Create Apple Pay session
api_response = api_instance.create_applepay_session(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_applepay_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_googlepay_session(id)
Create Google Pay session
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()
id = 'id_example' # str | Session id
try:
# Create Google Pay session
api_response = api_instance.create_googlepay_session(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_googlepay_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_mpo_session(id, body=body)
Create MobilePay Online session
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()
id = 'id_example' # str | Session id
body = swagger_client.CreateMpoSession() # CreateMpoSession | (optional)
try:
# Create MobilePay Online session
api_response = api_instance.create_mpo_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_mpo_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | CreateMpoSession | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_paypal_session(id)
Create PayPal session
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()
id = 'id_example' # str | Session id
try:
# Create PayPal session
api_response = api_instance.create_paypal_session(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_paypal_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_pgw_session(id, body=body)
Create pgw session
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()
id = 'id_example' # str | Session id
body = swagger_client.CreatePGWSession() # CreatePGWSession | (optional)
try:
# Create pgw session
api_response = api_instance.create_pgw_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_pgw_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | CreatePGWSession | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_resurs_session(id, body=body)
Create Resurs session
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()
id = 'id_example' # str | Session id
body = swagger_client.CreateResursSession() # CreateResursSession | (optional)
try:
# Create Resurs session
api_response = api_instance.create_resurs_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_resurs_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | CreateResursSession | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession create_viabill_session(id, body=body)
Create ViaBill session
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()
id = 'id_example' # str | Session id
body = swagger_client.CreateViabillSession() # CreateViabillSession | (optional)
try:
# Create ViaBill session
api_response = api_instance.create_viabill_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_viabill_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | CreateViabillSession | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession get_checkout_session(id)
Get checkout session data
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()
id = 'id_example' # str | Session id
try:
# Get checkout session data
api_response = api_instance.get_checkout_session(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->get_checkout_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str get_resurs_payment_method_cost(id, body=body)
Get HTML with cost of Resurs payment method
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()
id = 'id_example' # str | Session id
body = swagger_client.ResursPaymentMethodDto() # ResursPaymentMethodDto | (optional)
try:
# Get HTML with cost of Resurs payment method
api_response = api_instance.get_resurs_payment_method_cost(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->get_resurs_payment_method_cost: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | ResursPaymentMethodDto | [optional] |
str
No authorization required
- Content-Type: Not defined
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[ResursPaymentMethodDto] get_resurs_payment_methods(id)
Get Resurs payment methods
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()
id = 'id_example' # str | Session id
try:
# Get Resurs payment methods
api_response = api_instance.get_resurs_payment_methods(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->get_resurs_payment_methods: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str get_terms(id)
Get account terms template
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()
id = 'id_example' # str | Session id
try:
# Get account terms template
api_response = api_instance.get_terms(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->get_terms: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id |
str
No authorization required
- Content-Type: Not defined
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession recurring_checkout_session(id, body=body)
Save recurring customer payment method
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()
id = 'id_example' # str | Session id
body = swagger_client.SessionRecurring() # SessionRecurring | (optional)
try:
# Save recurring customer payment method
api_response = api_instance.recurring_checkout_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->recurring_checkout_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | SessionRecurring | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CheckoutSession subscription_checkout_session(id, body=body)
Set payment method on subscription
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()
id = 'id_example' # str | Session id
body = swagger_client.SessionRecurring() # SessionRecurring | (optional)
try:
# Set payment method on subscription
api_response = api_instance.subscription_checkout_session(id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->subscription_checkout_session: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | Session id | |
body | SessionRecurring | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]