Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.43 KB

CheckoutApi.md

File metadata and controls

61 lines (41 loc) · 1.43 KB

SwaggerClient::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

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.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 = SwaggerClient::CheckoutApi.new
body = SwaggerClient::CheckoutBody.new # CheckoutBody | 


begin
  #Create Checkout
  result = api_instance.create_checkout(body)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling CheckoutApi->create_checkout: #{e}"
end

Parameters

Name Type Description Notes
body CheckoutBody

Return type

InlineResponse201

Authorization

ApiKeyAuth

HTTP request headers

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