Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

devdraft

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devdraft

bundlerRubyGems.org
Version
1.0.0
Version published
Maintainers
1
Created
Source

devdraft_ai_sdk

DevDraftAI - the Ruby gem for the Devdraft AI Payment & Business Management API

A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build devdraft_ai_sdk.gemspec

Then either install the gem locally:

gem install ./devdraft_ai_sdk-1.0.0.gem

(for development, run gem install --dev ./devdraft_ai_sdk-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'devdraft_ai_sdk', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'devdraft_ai_sdk', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'devdraft_ai_sdk'

api_instance = DevDraftAI::APIHealthApi.new

begin
  #Authenticated health check endpoint
  result = api_instance.health_controller_check_v0
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling APIHealthApi->health_controller_check_v0: #{e}"
end

api_instance = DevDraftAI::APIHealthApi.new

begin
  #Public health check endpoint
  result = api_instance.health_controller_public_health_check_v0
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling APIHealthApi->health_controller_public_health_check_v0: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::AppBalancesApi.new

begin
  #Get all stablecoin balances for an app
  result = api_instance.balance_controller_get_all_balances
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling AppBalancesApi->balance_controller_get_all_balances: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::AppBalancesApi.new

begin
  #Get EURC balance for an app
  result = api_instance.balance_controller_get_eurc_balance
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling AppBalancesApi->balance_controller_get_eurc_balance: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::AppBalancesApi.new

begin
  #Get USDC balance for an app
  result = api_instance.balance_controller_get_usdc_balance
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling AppBalancesApi->balance_controller_get_usdc_balance: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::CustomersApi.new
body = DevDraftAI::CreateCustomerDto.new # CreateCustomerDto | Customer creation data


begin
  #Create a new customer
  api_instance.customer_controller_create(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling CustomersApi->customer_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::CustomersApi.new
opts = { 
  status: 'status_example', # String | Filter by customer status
  name: 'name_example', # String | Filter by customer name
  email: 'email_example', # String | Filter by customer email
  take: DevDraftAI::BigDecimal.new, # BigDecimal | Number of records to take
  skip: DevDraftAI::BigDecimal.new # BigDecimal | Number of records to skip
}

begin
  #Get all customers with filters
  api_instance.customer_controller_find_all(opts)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling CustomersApi->customer_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::CustomersApi.new
id = 'id_example' # String | 


begin
  #Get a customer by ID
  api_instance.customer_controller_find_one(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling CustomersApi->customer_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::CustomersApi.new
body = DevDraftAI::UpdateCustomerDto.new # UpdateCustomerDto | Customer update data
id = 'id_example' # String | 


begin
  #Update a customer
  api_instance.customer_controller_update(body, id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling CustomersApi->customer_controller_update: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ExchangeRatesApi.new

begin
  #Get EUR to USD exchange rate
  result = api_instance.exchange_rate_controller_get_eurto_usd_rate
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ExchangeRatesApi->exchange_rate_controller_get_eurto_usd_rate: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ExchangeRatesApi.new
from = 'from_example' # String | Source currency code (e.g., usd)
to = 'to_example' # String | Target currency code (e.g., eur)


begin
  #Get exchange rate between specified currencies
  result = api_instance.exchange_rate_controller_get_exchange_rate(from, to)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ExchangeRatesApi->exchange_rate_controller_get_exchange_rate: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ExchangeRatesApi.new

begin
  #Get USD to EUR exchange rate
  result = api_instance.exchange_rate_controller_get_usdto_eur_rate
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ExchangeRatesApi->exchange_rate_controller_get_usdto_eur_rate: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::InvoicesApi.new
body = DevDraftAI::CreateInvoiceDto.new # CreateInvoiceDto | 


begin
  #Create a new invoice
  api_instance.invoice_controller_create(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling InvoicesApi->invoice_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::InvoicesApi.new
opts = { 
  skip: DevDraftAI::BigDecimal.new, # BigDecimal | Number of records to skip
  take: DevDraftAI::BigDecimal.new # BigDecimal | Number of records to take
}

begin
  #Get all invoices
  api_instance.invoice_controller_find_all(opts)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling InvoicesApi->invoice_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::InvoicesApi.new
id = 'id_example' # String | Invoice ID


begin
  #Get an invoice by ID
  api_instance.invoice_controller_find_one(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling InvoicesApi->invoice_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::InvoicesApi.new
body = DevDraftAI::CreateInvoiceDto.new # CreateInvoiceDto | 
id = 'id_example' # String | Invoice ID


begin
  #Update an invoice
  api_instance.invoice_controller_update(body, id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling InvoicesApi->invoice_controller_update: #{e}"
end

api_instance = DevDraftAI::LiquidationAddressesApi.new
body = DevDraftAI::CreateLiquidationAddressDto.new # CreateLiquidationAddressDto | 
customer_id = 'customer_id_example' # String | Unique identifier for the customer


begin
  #Create a new liquidation address for a customer
  result = api_instance.liquidation_address_controller_create_liquidation_address(body, customer_id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling LiquidationAddressesApi->liquidation_address_controller_create_liquidation_address: #{e}"
end

api_instance = DevDraftAI::LiquidationAddressesApi.new
customer_id = 'customer_id_example' # String | Unique identifier for the customer
liquidation_address_id = 'liquidation_address_id_example' # String | Unique identifier for the liquidation address


begin
  #Get a specific liquidation address
  result = api_instance.liquidation_address_controller_get_liquidation_address(customer_id, liquidation_address_id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling LiquidationAddressesApi->liquidation_address_controller_get_liquidation_address: #{e}"
end

api_instance = DevDraftAI::LiquidationAddressesApi.new
customer_id = 'customer_id_example' # String | Unique identifier for the customer


begin
  #Get all liquidation addresses for a customer
  result = api_instance.liquidation_address_controller_get_liquidation_addresses(customer_id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling LiquidationAddressesApi->liquidation_address_controller_get_liquidation_addresses: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentIntentsApi.new
body = DevDraftAI::CreateBankPaymentIntentDto.new # CreateBankPaymentIntentDto | Bank payment intent creation data
idempotency_key = 'idempotency_key_example' # String | Unique UUID v4 for idempotent requests. Prevents duplicate payments.


begin
  #Create a bank payment intent
  api_instance.payment_intent_controller_create_bank_payment_intent(body, idempotency_key)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentIntentsApi->payment_intent_controller_create_bank_payment_intent: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentIntentsApi.new
body = DevDraftAI::CreateStablePaymentIntentDto.new # CreateStablePaymentIntentDto | Stable payment intent creation data
idempotency_key = 'idempotency_key_example' # String | Unique UUID v4 for idempotent requests. Prevents duplicate payments.


begin
  #Create a stable payment intent
  api_instance.payment_intent_controller_create_stable_payment_intent(body, idempotency_key)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentIntentsApi->payment_intent_controller_create_stable_payment_intent: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentLinksApi.new
body = DevDraftAI::CreatePaymentLinkDto.new # CreatePaymentLinkDto | Payment link creation data


begin
  #Create a new payment link
  api_instance.payment_links_controller_create(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentLinksApi->payment_links_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentLinksApi.new
opts = { 
  skip: 'skip_example', # String | Number of records to skip (must be non-negative)
  take: 'take_example' # String | Number of records to take (must be positive)
}

begin
  #Get all payment links
  api_instance.payment_links_controller_find_all(opts)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentLinksApi->payment_links_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentLinksApi.new
id = 'id_example' # String | Payment Link ID


begin
  #Get a payment link by ID
  api_instance.payment_links_controller_find_one(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentLinksApi->payment_links_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::PaymentLinksApi.new
body = DevDraftAI::UpdatePaymentLinkDto.new # UpdatePaymentLinkDto | 
id = 'id_example' # String | Payment Link ID


begin
  #Update a payment link
  api_instance.payment_links_controller_update(body, id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling PaymentLinksApi->payment_links_controller_update: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
name = 'name_example' # String | 
description = 'description_example' # String | 
price = DevDraftAI::BigDecimal.new # BigDecimal | 
currency = 'currency_example' # String | 
type = 'type_example' # String | 
weight = DevDraftAI::BigDecimal.new # BigDecimal | 
unit = 'unit_example' # String | 
quantity = DevDraftAI::BigDecimal.new # BigDecimal | 
stock_count = DevDraftAI::BigDecimal.new # BigDecimal | 
status = 'status_example' # String | 
product_type = 'product_type_example' # String | 
images = ['images_example'] # Array<String> | 


begin
  #Create a new product
  api_instance.product_controller_create(name, description, price, currency, type, weight, unit, quantity, stock_count, status, product_type, images)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
opts = { 
  skip: DevDraftAI::BigDecimal.new, # BigDecimal | Number of records to skip
  take: DevDraftAI::BigDecimal.new # BigDecimal | Number of records to take
}

begin
  #Get all products
  api_instance.product_controller_find_all(opts)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
id = 'id_example' # String | Product ID


begin
  #Get a product by ID
  api_instance.product_controller_find_one(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
id = 'id_example' # String | Product ID


begin
  #Delete a product
  api_instance.product_controller_remove(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_remove: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
name = 'name_example' # String | 
description = 'description_example' # String | 
price = DevDraftAI::BigDecimal.new # BigDecimal | 
currency = 'currency_example' # String | 
type = 'type_example' # String | 
weight = DevDraftAI::BigDecimal.new # BigDecimal | 
unit = 'unit_example' # String | 
quantity = DevDraftAI::BigDecimal.new # BigDecimal | 
stock_count = DevDraftAI::BigDecimal.new # BigDecimal | 
status = 'status_example' # String | 
product_type = 'product_type_example' # String | 
images = ['images_example'] # Array<String> | 
id = 'id_example' # String | Product ID


begin
  #Update a product
  api_instance.product_controller_update(name, description, price, currency, type, weight, unit, quantity, stock_count, status, product_type, images, id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_update: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::ProductsApi.new
id = 'id_example' # String | Product ID


begin
  #Upload images for a product
  api_instance.product_controller_upload_image(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling ProductsApi->product_controller_upload_image: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TaxesApi.new
body = DevDraftAI::CreateTaxInput.new # CreateTaxInput | 


begin
  #Create a new tax
  api_instance.tax_controller_create(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TaxesApi->tax_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TaxesApi.new
opts = { 
  skip: 'skip_example', # String | Number of records to skip
  take: 'take_example' # String | Number of records to take
}

begin
  #Get all taxes
  api_instance.tax_controller_find_all(opts)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TaxesApi->tax_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TaxesApi.new
id = 'id_example' # String | Tax ID


begin
  #Get a tax by ID
  api_instance.tax_controller_find_one(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TaxesApi->tax_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TaxesApi.new
id = 'id_example' # String | Tax ID


begin
  #Delete a tax
  api_instance.tax_controller_remove(id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TaxesApi->tax_controller_remove: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TaxesApi.new
body = DevDraftAI::UpdateTaxInput.new # UpdateTaxInput | 
id = 'id_example' # String | Tax ID


begin
  #Update a tax
  api_instance.tax_controller_update(body, id)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TaxesApi->tax_controller_update: #{e}"
end

api_instance = DevDraftAI::TestPaymentsApi.new
body = DevDraftAI::PaymentRequestDto.new # PaymentRequestDto | 
idempotency_key = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Unique key to ensure the request is idempotent. If a request with the same key is sent multiple times, only the first will be processed, and subsequent requests will return the same response.


begin
  #Process a test payment
  result = api_instance.test_payment_controller_create_payment_v0(body, idempotency_key)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TestPaymentsApi->test_payment_controller_create_payment_v0: #{e}"
end

api_instance = DevDraftAI::TestPaymentsApi.new
id = 'id_example' # String | Payment ID


begin
  #Get payment details by ID
  result = api_instance.test_payment_controller_get_payment_v0(id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TestPaymentsApi->test_payment_controller_get_payment_v0: #{e}"
end

api_instance = DevDraftAI::TestPaymentsApi.new
id = 'id_example' # String | Payment ID to refund
idempotency_key = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Unique key to ensure the refund request is idempotent. If a request with the same key is sent multiple times, only the first will be processed, and subsequent requests will return the same response.


begin
  #Refund a payment
  result = api_instance.test_payment_controller_refund_payment_v0(id, idempotency_key)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TestPaymentsApi->test_payment_controller_refund_payment_v0: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TransfersApi.new
body = DevDraftAI::CreateDirectBankTransferDto.new # CreateDirectBankTransferDto | 


begin
  #Create a direct bank transfer
  api_instance.transfer_controller_create_direct_bank_transfer(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TransfersApi->transfer_controller_create_direct_bank_transfer: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TransfersApi.new
body = DevDraftAI::CreateDirectWalletTransferDto.new # CreateDirectWalletTransferDto | 


begin
  #Create a direct wallet transfer
  api_instance.transfer_controller_create_direct_wallet_transfer(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TransfersApi->transfer_controller_create_direct_wallet_transfer: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::TransfersApi.new
body = DevDraftAI::CreateStablecoinConversionDto.new # CreateStablecoinConversionDto | 


begin
  #Create a stablecoin conversion
  api_instance.transfer_controller_create_stablecoin_conversion(body)
rescue DevDraftAI::ApiError => e
  puts "Exception when calling TransfersApi->transfer_controller_create_stablecoin_conversion: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WalletsApi.new

begin
  #Get wallets for an app
  api_instance.wallet_controller_get_wallets
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WalletsApi->wallet_controller_get_wallets: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WebhooksApi.new
body = DevDraftAI::CreateWebhookDto.new # CreateWebhookDto | Webhook configuration details


begin
  #Create a new webhook
  result = api_instance.webhook_controller_create(body)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WebhooksApi->webhook_controller_create: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WebhooksApi.new
opts = { 
  skip: DevDraftAI::BigDecimal.new, # BigDecimal | Number of records to skip (default: 0)
  take: DevDraftAI::BigDecimal.new # BigDecimal | Number of records to return (default: 10)
}

begin
  #Get all webhooks
  result = api_instance.webhook_controller_find_all(opts)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WebhooksApi->webhook_controller_find_all: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WebhooksApi.new
id = 'id_example' # String | Webhook ID


begin
  #Get a webhook by id
  result = api_instance.webhook_controller_find_one(id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WebhooksApi->webhook_controller_find_one: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WebhooksApi.new
id = 'id_example' # String | Webhook ID


begin
  #Delete a webhook
  result = api_instance.webhook_controller_remove(id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WebhooksApi->webhook_controller_remove: #{e}"
end
# Setup authorization
DevDraftAI.configure do |config|
  # Configure API key authorization: x-client-key
  config.api_key['x-client-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-client-key'] = 'Bearer'

  # Configure API key authorization: x-client-secret
  config.api_key['x-client-secret'] = '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-client-secret'] = 'Bearer'
end

api_instance = DevDraftAI::WebhooksApi.new
body = DevDraftAI::UpdateWebhookDto.new # UpdateWebhookDto | Webhook update details
id = 'id_example' # String | Webhook ID


begin
  #Update a webhook
  result = api_instance.webhook_controller_update(body, id)
  p result
rescue DevDraftAI::ApiError => e
  puts "Exception when calling WebhooksApi->webhook_controller_update: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.devdraft.ai

ClassMethodHTTP requestDescription
DevDraftAI::APIHealthApihealth_controller_check_v0GET /api/v0/healthAuthenticated health check endpoint
DevDraftAI::APIHealthApihealth_controller_public_health_check_v0GET /api/v0/health/publicPublic health check endpoint
DevDraftAI::AppBalancesApibalance_controller_get_all_balancesGET /api/v0/balanceGet all stablecoin balances for an app
DevDraftAI::AppBalancesApibalance_controller_get_eurc_balanceGET /api/v0/balance/eurcGet EURC balance for an app
DevDraftAI::AppBalancesApibalance_controller_get_usdc_balanceGET /api/v0/balance/usdcGet USDC balance for an app
DevDraftAI::CustomersApicustomer_controller_createPOST /api/v0/customersCreate a new customer
DevDraftAI::CustomersApicustomer_controller_find_allGET /api/v0/customersGet all customers with filters
DevDraftAI::CustomersApicustomer_controller_find_oneGET /api/v0/customers/{id}Get a customer by ID
DevDraftAI::CustomersApicustomer_controller_updatePATCH /api/v0/customers/{id}Update a customer
DevDraftAI::ExchangeRatesApiexchange_rate_controller_get_eurto_usd_rateGET /api/v0/exchange-rate/eur-to-usdGet EUR to USD exchange rate
DevDraftAI::ExchangeRatesApiexchange_rate_controller_get_exchange_rateGET /api/v0/exchange-rateGet exchange rate between specified currencies
DevDraftAI::ExchangeRatesApiexchange_rate_controller_get_usdto_eur_rateGET /api/v0/exchange-rate/usd-to-eurGet USD to EUR exchange rate
DevDraftAI::InvoicesApiinvoice_controller_createPOST /api/v0/invoicesCreate a new invoice
DevDraftAI::InvoicesApiinvoice_controller_find_allGET /api/v0/invoicesGet all invoices
DevDraftAI::InvoicesApiinvoice_controller_find_oneGET /api/v0/invoices/{id}Get an invoice by ID
DevDraftAI::InvoicesApiinvoice_controller_updatePUT /api/v0/invoices/{id}Update an invoice
DevDraftAI::LiquidationAddressesApiliquidation_address_controller_create_liquidation_addressPOST /api/v0/customers/{customerId}/liquidation_addressesCreate a new liquidation address for a customer
DevDraftAI::LiquidationAddressesApiliquidation_address_controller_get_liquidation_addressGET /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId}Get a specific liquidation address
DevDraftAI::LiquidationAddressesApiliquidation_address_controller_get_liquidation_addressesGET /api/v0/customers/{customerId}/liquidation_addressesGet all liquidation addresses for a customer
DevDraftAI::PaymentIntentsApipayment_intent_controller_create_bank_payment_intentPOST /api/v0/payment-intents/bankCreate a bank payment intent
DevDraftAI::PaymentIntentsApipayment_intent_controller_create_stable_payment_intentPOST /api/v0/payment-intents/stablecoinCreate a stable payment intent
DevDraftAI::PaymentLinksApipayment_links_controller_createPOST /api/v0/payment-linksCreate a new payment link
DevDraftAI::PaymentLinksApipayment_links_controller_find_allGET /api/v0/payment-linksGet all payment links
DevDraftAI::PaymentLinksApipayment_links_controller_find_oneGET /api/v0/payment-links/{id}Get a payment link by ID
DevDraftAI::PaymentLinksApipayment_links_controller_updatePUT /api/v0/payment-links/{id}Update a payment link
DevDraftAI::ProductsApiproduct_controller_createPOST /api/v0/productsCreate a new product
DevDraftAI::ProductsApiproduct_controller_find_allGET /api/v0/productsGet all products
DevDraftAI::ProductsApiproduct_controller_find_oneGET /api/v0/products/{id}Get a product by ID
DevDraftAI::ProductsApiproduct_controller_removeDELETE /api/v0/products/{id}Delete a product
DevDraftAI::ProductsApiproduct_controller_updatePUT /api/v0/products/{id}Update a product
DevDraftAI::ProductsApiproduct_controller_upload_imagePOST /api/v0/products/{id}/imagesUpload images for a product
DevDraftAI::TaxesApitax_controller_createPOST /api/v0/taxesCreate a new tax
DevDraftAI::TaxesApitax_controller_find_allGET /api/v0/taxesGet all taxes
DevDraftAI::TaxesApitax_controller_find_oneGET /api/v0/taxes/{id}Get a tax by ID
DevDraftAI::TaxesApitax_controller_removeDELETE /api/v0/taxes/{id}Delete a tax
DevDraftAI::TaxesApitax_controller_updatePUT /api/v0/taxes/{id}Update a tax
DevDraftAI::TestPaymentsApitest_payment_controller_create_payment_v0POST /api/v0/test-paymentProcess a test payment
DevDraftAI::TestPaymentsApitest_payment_controller_get_payment_v0GET /api/v0/test-payment/{id}Get payment details by ID
DevDraftAI::TestPaymentsApitest_payment_controller_refund_payment_v0POST /api/v0/test-payment/{id}/refundRefund a payment
DevDraftAI::TransfersApitransfer_controller_create_direct_bank_transferPOST /api/v0/transfers/direct-bankCreate a direct bank transfer
DevDraftAI::TransfersApitransfer_controller_create_direct_wallet_transferPOST /api/v0/transfers/direct-walletCreate a direct wallet transfer
DevDraftAI::TransfersApitransfer_controller_create_stablecoin_conversionPOST /api/v0/transfers/stablecoin-conversionCreate a stablecoin conversion
DevDraftAI::WalletsApiwallet_controller_get_walletsGET /api/v0/walletsGet wallets for an app
DevDraftAI::WebhooksApiwebhook_controller_createPOST /api/v0/webhooksCreate a new webhook
DevDraftAI::WebhooksApiwebhook_controller_find_allGET /api/v0/webhooksGet all webhooks
DevDraftAI::WebhooksApiwebhook_controller_find_oneGET /api/v0/webhooks/{id}Get a webhook by id
DevDraftAI::WebhooksApiwebhook_controller_removeDELETE /api/v0/webhooks/{id}Delete a webhook
DevDraftAI::WebhooksApiwebhook_controller_updatePATCH /api/v0/webhooks/{id}Update a webhook

Documentation for Models

Documentation for Authorization

idempotency-key

  • Type: API key
  • API key parameter name: idempotency-key
  • Location: HTTP header

x-client-key

  • Type: API key
  • API key parameter name: x-client-key
  • Location: HTTP header

x-client-secret

  • Type: API key
  • API key parameter name: x-client-secret
  • Location: HTTP header

FAQs

Package last updated on 16 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts