Sha256: 0d98a33f20ac37c8fbd608fb9e61f53ec1301582d5698ca97a999056508a730c
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
# Billabear::CheckoutApi All URIs are relative to *https://{customerId}.billabear.cloud/api/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_checkout**](CheckoutApi.md#create_checkout) | **POST** /checkout | Create Checkout # **create_checkout** > InlineResponse201 create_checkout(body) Create Checkout Create checkout<br><br><strong>Since 2024.01</strong> ### Example ```ruby # load the gem require 'billabear' # setup authorization Billabear.configure do |config| # Configure API key authorization: ApiKeyAuth config.api_key['X-API-Key'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) #config.api_key_prefix['X-API-Key'] = 'Bearer' end api_instance = Billabear::CheckoutApi.new body = Billabear::CheckoutBody.new # CheckoutBody | begin #Create Checkout result = api_instance.create_checkout(body) p result rescue Billabear::ApiError => e puts "Exception when calling CheckoutApi->create_checkout: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**CheckoutBody**](CheckoutBody.md)| | ### Return type [**InlineResponse201**](InlineResponse201.md) ### Authorization [ApiKeyAuth](../README.md#ApiKeyAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
billabear-1.1.0 | docs/CheckoutApi.md |