Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.73 KB

File metadata and controls

62 lines (43 loc) · 1.73 KB

billabear.CheckoutApi

All URIs are relative to https://{customerId}.billabear.cloud/api/v1

Method HTTP request Description
create_checkout POST /checkout Create Checkout

create_checkout

InlineResponse201 create_checkout(body)

Create Checkout

Create checkout

Since 2024.01

Example

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)

Parameters

Name Type Description Notes
body CheckoutBody

Return type

InlineResponse201

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]