All URIs are relative to https://{customerId}.billabear.cloud/api/v1
| Method | HTTP request | Description |
|---|---|---|
| create_checkout | POST /checkout | Create Checkout |
InlineResponse201 create_checkout(body)
Create Checkout
Create checkout
Since 2024.01
from __future__ import print_function
import time
import billabear
from billabear.rest import ApiException
from pprint import pprint
# Configure API key authorization: ApiKeyAuth
configuration = billabear.Configuration()
configuration.api_key['X-API-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-Key'] = 'Bearer'
# create an instance of the API class
api_instance = billabear.CheckoutApi(billabear.ApiClient(configuration))
body = billabear.CheckoutBody() # CheckoutBody |
try:
# Create Checkout
api_response = api_instance.create_checkout(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutApi->create_checkout: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | CheckoutBody |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]