All URIs are relative to https://checkout-api.reepay.com
Method | HTTP request | Description |
---|---|---|
create_configuration | POST /v1/configuration | Create configuration |
delete_configuration | DELETE /v1/configuration/{handle} | Delete configuration |
get_configuration | GET /v1/configuration/{handle} | Get configuration |
get_configurations | GET /v1/configuration | Get configurations |
update_configuration | PUT /v1/configuration/{handle} | Update configuration |
Configuration create_configuration(body=body)
Create configuration
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.ConfigurationApi(swagger_client.ApiClient(configuration))
body = swagger_client.CreateConfiguration() # CreateConfiguration | (optional)
try:
# Create configuration
api_response = api_instance.create_configuration(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigurationApi->create_configuration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | CreateConfiguration | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_configuration(handle)
Delete configuration
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.ConfigurationApi(swagger_client.ApiClient(configuration))
handle = 'handle_example' # str | Configuration handle
try:
# Delete configuration
api_instance.delete_configuration(handle)
except ApiException as e:
print("Exception when calling ConfigurationApi->delete_configuration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
handle | str | Configuration handle |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Configuration get_configuration(handle)
Get configuration
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.ConfigurationApi(swagger_client.ApiClient(configuration))
handle = 'handle_example' # str | Configuration handle
try:
# Get configuration
api_response = api_instance.get_configuration(handle)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigurationApi->get_configuration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
handle | str | Configuration handle |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[Configuration] get_configurations()
Get configurations
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.ConfigurationApi(swagger_client.ApiClient(configuration))
try:
# Get configurations
api_response = api_instance.get_configurations()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigurationApi->get_configurations: %s\n" % e)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Configuration update_configuration(handle, body=body)
Update configuration
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.ConfigurationApi(swagger_client.ApiClient(configuration))
handle = 'handle_example' # str | Configuration handle
body = swagger_client.UpdateConfiguration() # UpdateConfiguration | (optional)
try:
# Update configuration
api_response = api_instance.update_configuration(handle, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigurationApi->update_configuration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
handle | str | Configuration handle | |
body | UpdateConfiguration | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]