devdraft 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +160 -191
- data/Rakefile +2 -0
- data/devdraft-1.0.0.gem +0 -0
- data/{devdraft_ai_sdk.gemspec → devdraft.gemspec} +15 -11
- data/docs/APIHealthApi.md +82 -30
- data/docs/AggregatedBalanceResponse.md +19 -6
- data/docs/AllBalancesResponse.md +19 -6
- data/docs/AppBalancesApi.md +125 -65
- data/docs/BridgeFiatPaymentRail.md +15 -0
- data/docs/BridgePaymentRail.md +12 -3
- data/docs/CreateBankPaymentIntentDto.md +49 -21
- data/docs/CreateCustomerDto.md +25 -9
- data/docs/CreateDirectBankTransferDto.md +29 -11
- data/docs/CreateDirectWalletTransferDto.md +21 -7
- data/docs/CreateExternalBankTransferDto.md +40 -0
- data/docs/CreateExternalStablecoinTransferDto.md +28 -0
- data/docs/CreateInvoiceDto.md +45 -19
- data/docs/CreateLiquidationAddressDto.md +43 -18
- data/docs/CreatePaymentLinkDto.md +53 -28
- data/docs/CreateStablePaymentIntentDto.md +43 -18
- data/docs/CreateStablecoinConversionDto.md +23 -8
- data/docs/CreateTaxDto.md +26 -0
- data/docs/CreateWebhookDto.md +23 -8
- data/docs/CustomerStatus.md +12 -3
- data/docs/CustomerType.md +15 -0
- data/docs/CustomersApi.md +187 -114
- data/docs/DestinationCurrency.md +12 -3
- data/docs/ExchangeRateResponseDto.md +25 -9
- data/docs/ExchangeRatesApi.md +130 -72
- data/docs/FiatCurrency.md +12 -3
- data/docs/HealthResponseDto.md +25 -9
- data/docs/InvoiceProductDto.md +17 -5
- data/docs/InvoicesApi.md +177 -104
- data/docs/LiquidationAddressResponseDto.md +41 -17
- data/docs/LiquidationAddressesApi.md +115 -61
- data/docs/PaymentIntentsApi.md +93 -57
- data/docs/PaymentLinkProductDto.md +17 -5
- data/docs/PaymentLinksApi.md +175 -102
- data/docs/PaymentRequestDto.md +21 -7
- data/docs/PaymentResponseDto.md +23 -8
- data/docs/ProductsApi.md +307 -194
- data/docs/PublicHealthResponseDto.md +19 -6
- data/docs/RefundResponseDto.md +23 -8
- data/docs/StableCoinCurrency.md +12 -3
- data/docs/TaxControllerCreate201Response.md +30 -0
- data/docs/TaxControllerDeleteWithoutId400Response.md +22 -0
- data/docs/TaxControllerUpdateWithoutId400Response.md +22 -0
- data/docs/TaxesApi.md +374 -122
- data/docs/TestPaymentsApi.md +150 -60
- data/docs/TransfersApi.md +274 -72
- data/docs/UpdateCustomerDto.md +25 -9
- data/docs/UpdateTaxDto.md +26 -0
- data/docs/UpdateWebhookDto.md +23 -8
- data/docs/WalletsApi.md +44 -24
- data/docs/WebhookResponseDto.md +29 -11
- data/docs/WebhooksApi.md +225 -134
- data/git_push.sh +41 -28
- data/lib/devdraft/api/api_health_api.rb +32 -16
- data/lib/devdraft/api/app_balances_api.rb +45 -22
- data/lib/devdraft/api/customers_api.rb +124 -71
- data/lib/devdraft/api/exchange_rates_api.rb +49 -26
- data/lib/devdraft/api/invoices_api.rb +89 -53
- data/lib/devdraft/api/liquidation_addresses_api.rb +70 -44
- data/lib/devdraft/api/payment_intents_api.rb +62 -40
- data/lib/devdraft/api/payment_links_api.rb +85 -49
- data/lib/devdraft/api/products_api.rb +214 -216
- data/lib/devdraft/api/taxes_api.rb +257 -66
- data/lib/devdraft/api/test_payments_api.rb +70 -44
- data/lib/devdraft/api/transfers_api.rb +206 -46
- data/lib/devdraft/api/wallets_api.rb +18 -9
- data/lib/devdraft/api/webhooks_api.rb +109 -66
- data/lib/devdraft/api_client.rb +76 -71
- data/lib/devdraft/api_error.rb +5 -4
- data/lib/devdraft/api_model_base.rb +88 -0
- data/lib/devdraft/configuration.rb +121 -18
- data/lib/devdraft/models/aggregated_balance_response.rb +68 -101
- data/lib/devdraft/models/all_balances_response.rb +76 -99
- data/lib/devdraft/models/bridge_fiat_payment_rail.rb +45 -0
- data/lib/devdraft/models/bridge_payment_rail.rb +36 -24
- data/lib/devdraft/models/create_bank_payment_intent_dto.rb +191 -114
- data/lib/devdraft/models/create_customer_dto.rb +123 -113
- data/lib/devdraft/models/create_direct_bank_transfer_dto.rb +105 -104
- data/lib/devdraft/models/create_direct_wallet_transfer_dto.rb +89 -100
- data/lib/devdraft/models/create_external_bank_transfer_dto.rb +505 -0
- data/lib/devdraft/models/create_external_stablecoin_transfer_dto.rb +266 -0
- data/lib/devdraft/models/create_invoice_dto.rb +151 -121
- data/lib/devdraft/models/create_liquidation_address_dto.rb +195 -115
- data/lib/devdraft/models/create_payment_link_dto.rb +192 -214
- data/lib/devdraft/models/create_stable_payment_intent_dto.rb +324 -111
- data/lib/devdraft/models/create_stablecoin_conversion_dto.rb +102 -101
- data/lib/devdraft/models/create_tax_dto.rb +281 -0
- data/lib/devdraft/models/create_webhook_dto.rb +104 -101
- data/lib/devdraft/models/customer_status.rb +23 -10
- data/lib/devdraft/models/customer_type.rb +45 -0
- data/lib/devdraft/models/destination_currency.rb +27 -15
- data/lib/devdraft/models/exchange_rate_response_dto.rb +103 -102
- data/lib/devdraft/models/fiat_currency.rb +22 -10
- data/lib/devdraft/models/health_response_dto.rb +99 -106
- data/lib/devdraft/models/invoice_product_dto.rb +63 -98
- data/lib/devdraft/models/liquidation_address_response_dto.rb +147 -110
- data/lib/devdraft/models/payment_link_product_dto.rb +70 -98
- data/lib/devdraft/models/payment_request_dto.rb +77 -100
- data/lib/devdraft/models/payment_response_dto.rb +102 -101
- data/lib/devdraft/models/public_health_response_dto.rb +68 -101
- data/lib/devdraft/models/refund_response_dto.rb +102 -101
- data/lib/devdraft/models/stable_coin_currency.rb +21 -9
- data/lib/devdraft/models/tax_controller_create201_response.rb +201 -0
- data/lib/devdraft/models/tax_controller_delete_without_id400_response.rb +165 -0
- data/lib/devdraft/models/tax_controller_update_without_id400_response.rb +165 -0
- data/lib/devdraft/models/update_customer_dto.rb +117 -113
- data/lib/devdraft/models/update_tax_dto.rb +256 -0
- data/lib/devdraft/models/update_webhook_dto.rb +70 -101
- data/lib/devdraft/models/webhook_response_dto.rb +140 -103
- data/lib/devdraft/version.rb +6 -5
- data/lib/devdraft.rb +18 -27
- data/spec/api/api_health_api_spec.rb +10 -9
- data/spec/api/app_balances_api_spec.rb +11 -10
- data/spec/api/customers_api_spec.rb +25 -24
- data/spec/api/exchange_rates_api_spec.rb +11 -10
- data/spec/api/invoices_api_spec.rb +16 -15
- data/spec/api/liquidation_addresses_api_spec.rb +13 -12
- data/spec/api/payment_intents_api_spec.rb +12 -11
- data/spec/api/payment_links_api_spec.rb +14 -13
- data/spec/api/products_api_spec.rb +41 -40
- data/spec/api/taxes_api_spec.rb +51 -21
- data/spec/api/test_payments_api_spec.rb +14 -13
- data/spec/api/transfers_api_spec.rb +36 -13
- data/spec/api/wallets_api_spec.rb +9 -8
- data/spec/api/webhooks_api_spec.rb +20 -19
- data/spec/models/aggregated_balance_response_spec.rb +15 -19
- data/spec/models/all_balances_response_spec.rb +14 -18
- data/spec/models/bridge_fiat_payment_rail_spec.rb +30 -0
- data/spec/models/bridge_payment_rail_spec.rb +11 -15
- data/spec/models/create_bank_payment_intent_dto_spec.rb +29 -33
- data/spec/models/create_customer_dto_spec.rb +17 -25
- data/spec/models/create_direct_bank_transfer_dto_spec.rb +19 -23
- data/spec/models/create_direct_wallet_transfer_dto_spec.rb +15 -19
- data/spec/models/create_external_bank_transfer_dto_spec.rb +102 -0
- data/spec/models/create_external_stablecoin_transfer_dto_spec.rb +66 -0
- data/spec/models/create_invoice_dto_spec.rb +31 -35
- data/spec/models/create_liquidation_address_dto_spec.rb +28 -32
- data/spec/models/create_payment_link_dto_spec.rb +34 -76
- data/spec/models/create_stable_payment_intent_dto_spec.rb +26 -30
- data/spec/models/create_stablecoin_conversion_dto_spec.rb +16 -20
- data/spec/models/create_tax_dto_spec.rb +60 -0
- data/spec/models/create_webhook_dto_spec.rb +16 -20
- data/spec/models/customer_status_spec.rb +11 -15
- data/spec/models/customer_type_spec.rb +30 -0
- data/spec/models/destination_currency_spec.rb +11 -15
- data/spec/models/exchange_rate_response_dto_spec.rb +17 -21
- data/spec/models/fiat_currency_spec.rb +11 -15
- data/spec/models/health_response_dto_spec.rb +19 -23
- data/spec/models/invoice_product_dto_spec.rb +13 -17
- data/spec/models/liquidation_address_response_dto_spec.rb +25 -29
- data/spec/models/payment_link_product_dto_spec.rb +13 -17
- data/spec/models/payment_request_dto_spec.rb +15 -19
- data/spec/models/payment_response_dto_spec.rb +16 -20
- data/spec/models/public_health_response_dto_spec.rb +15 -19
- data/spec/models/refund_response_dto_spec.rb +16 -20
- data/spec/models/stable_coin_currency_spec.rb +11 -15
- data/spec/models/tax_controller_create201_response_spec.rb +72 -0
- data/spec/models/tax_controller_delete_without_id400_response_spec.rb +48 -0
- data/spec/models/tax_controller_update_without_id400_response_spec.rb +48 -0
- data/spec/models/update_customer_dto_spec.rb +17 -25
- data/spec/models/update_tax_dto_spec.rb +60 -0
- data/spec/models/update_webhook_dto_spec.rb +16 -20
- data/spec/models/webhook_response_dto_spec.rb +19 -23
- data/spec/spec_helper.rb +5 -4
- metadata +49 -116
- data/docs/AllOfAllBalancesResponseEurc.md +0 -9
- data/docs/AllOfAllBalancesResponseUsdc.md +0 -9
- data/docs/AllOfCreateBankPaymentIntentDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoDestinationNetwork.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoSourceCurrency.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoSourcePaymentRail.md +0 -6
- data/docs/AllOfCreateCustomerDtoStatus.md +0 -6
- data/docs/AllOfCreateLiquidationAddressDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateLiquidationAddressDtoDestinationPaymentRail.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoDestinationNetwork.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoSourceCurrency.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoSourceNetwork.md +0 -6
- data/docs/AllOfUpdateCustomerDtoStatus.md +0 -6
- data/docs/CreateProductDto.md +0 -18
- data/docs/CreateTaxInput.md +0 -6
- data/docs/UpdatePaymentLinkDto.md +0 -6
- data/docs/UpdatePreferenceInput.md +0 -6
- data/docs/UpdateProductDto.md +0 -18
- data/docs/UpdateTaxInput.md +0 -6
- data/example.rb +0 -94
- data/lib/devdraft/models/all_of_all_balances_response_eurc.rb +0 -283
- data/lib/devdraft/models/all_of_all_balances_response_usdc.rb +0 -283
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_network.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_payment_rail.rb +0 -202
- data/lib/devdraft/models/all_of_create_customer_dto_status.rb +0 -202
- data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_payment_rail.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_network.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_network.rb +0 -202
- data/lib/devdraft/models/all_of_update_customer_dto_status.rb +0 -202
- data/lib/devdraft/models/create_product_dto.rb +0 -370
- data/lib/devdraft/models/create_tax_input.rb +0 -197
- data/lib/devdraft/models/update_payment_link_dto.rb +0 -197
- data/lib/devdraft/models/update_preference_input.rb +0 -197
- data/lib/devdraft/models/update_product_dto.rb +0 -355
- data/lib/devdraft/models/update_tax_input.rb +0 -197
- data/spec/api_client_spec.rb +0 -225
- data/spec/base_object_spec.rb +0 -109
- data/spec/configuration_spec.rb +0 -41
- data/spec/models/all_of_all_balances_response_eurc_spec.rb +0 -56
- data/spec/models/all_of_all_balances_response_usdc_spec.rb +0 -56
- data/spec/models/all_of_create_bank_payment_intent_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_destination_network_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_source_currency_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_source_payment_rail_spec.rb +0 -34
- data/spec/models/all_of_create_customer_dto_status_spec.rb +0 -34
- data/spec/models/all_of_create_liquidation_address_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_liquidation_address_dto_destination_payment_rail_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_destination_network_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_source_currency_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_source_network_spec.rb +0 -34
- data/spec/models/all_of_update_customer_dto_status_spec.rb +0 -34
- data/spec/models/create_product_dto_spec.rb +0 -110
- data/spec/models/create_tax_input_spec.rb +0 -34
- data/spec/models/update_payment_link_dto_spec.rb +0 -34
- data/spec/models/update_preference_input_spec.rb +0 -34
- data/spec/models/update_product_dto_spec.rb +0 -110
- data/spec/models/update_tax_input_spec.rb +0 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 286ba4f773316c9e0c6c7382bbb8ad4cf057907300162be8f186df2894664a64
|
|
4
|
+
data.tar.gz: cfd3aca39640ca0eb6e92938a1fdf8f36cbd73ff523c1f0a1e88c55ed92f16b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f98be3f527993886dcbd821703562f26b398c2ad71236db9340ef1433df2d8fecbf4afa34b5a5513df9b2bc8fc3ea85eadda1cad5900848c0b167e5a8137065c
|
|
7
|
+
data.tar.gz: 109e4aced6b6b194135672ccb56679831b440aa7b3173cd4f9776a45cccc556eca18a3d7f8e8f612c0c86ba6e3b2c07afdd83e5e89fc19d359ccbedb0f0e3f28
|
data/README.md
CHANGED
|
@@ -1,118 +1,88 @@
|
|
|
1
|
-
#
|
|
1
|
+
# devdraft
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Devdraft - the Ruby gem for the Devdraft AI Payment & Business Management API
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
10
|
+
|
|
11
|
+
- API version: 1.0.0
|
|
12
|
+
- Package version: 1.0.0
|
|
13
|
+
- Generator version: 7.17.0
|
|
14
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
4
15
|
|
|
5
16
|
## Installation
|
|
6
17
|
|
|
7
|
-
|
|
18
|
+
### Build a gem
|
|
8
19
|
|
|
9
|
-
|
|
10
|
-
gem 'devdraft', '~> 1.0.1'
|
|
11
|
-
```
|
|
20
|
+
To build the Ruby code into a gem:
|
|
12
21
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$ bundle install
|
|
22
|
+
```shell
|
|
23
|
+
gem build devdraft.gemspec
|
|
16
24
|
```
|
|
17
25
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
Then either install the gem locally:
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
gem install ./devdraft-1.0.0.gem
|
|
21
30
|
```
|
|
22
31
|
|
|
23
|
-
|
|
32
|
+
(for development, run `gem install --dev ./devdraft-1.0.0.gem` to install the development dependencies)
|
|
24
33
|
|
|
25
|
-
|
|
34
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
26
35
|
|
|
27
|
-
|
|
28
|
-
require 'devdraft'
|
|
36
|
+
Finally add this to the Gemfile:
|
|
29
37
|
|
|
30
|
-
|
|
31
|
-
Devdraft.configure do |config|
|
|
32
|
-
# Set your API key (required for authenticated endpoints)
|
|
33
|
-
config.api_key['api_key'] = 'YOUR_API_KEY'
|
|
34
|
-
|
|
35
|
-
# Optional: Set a custom base URL if needed
|
|
36
|
-
# config.base_url = 'https://api.devdraft.com'
|
|
37
|
-
|
|
38
|
-
# Optional: Enable debug logging
|
|
39
|
-
config.debugging = true
|
|
40
|
-
end
|
|
41
|
-
```
|
|
38
|
+
gem 'devdraft', '~> 1.0.0'
|
|
42
39
|
|
|
43
|
-
###
|
|
40
|
+
### Install from Git
|
|
44
41
|
|
|
45
|
-
|
|
46
|
-
```ruby
|
|
47
|
-
api_instance = Devdraft::APIHealthApi.new
|
|
42
|
+
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:
|
|
48
43
|
|
|
49
|
-
|
|
50
|
-
result = api_instance.health_controller_public_health_check_v0
|
|
51
|
-
puts result.inspect
|
|
44
|
+
gem 'devdraft', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
|
52
45
|
|
|
53
|
-
|
|
54
|
-
result = api_instance.health_controller_check_v0
|
|
55
|
-
puts result.inspect
|
|
56
|
-
```
|
|
46
|
+
### Include the Ruby code directly
|
|
57
47
|
|
|
58
|
-
|
|
59
|
-
```ruby
|
|
60
|
-
api_instance = Devdraft::CustomersApi.new
|
|
61
|
-
|
|
62
|
-
# List customers with pagination
|
|
63
|
-
result = api_instance.customers_controller_list_v0(
|
|
64
|
-
page: 1,
|
|
65
|
-
limit: 10
|
|
66
|
-
)
|
|
67
|
-
puts result.inspect
|
|
68
|
-
```
|
|
48
|
+
Include the Ruby code directly using `-I` as follows:
|
|
69
49
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
api_instance = Devdraft::PaymentLinksApi.new
|
|
73
|
-
|
|
74
|
-
# Create a payment link
|
|
75
|
-
payment_link = Devdraft::CreatePaymentLinkDto.new(
|
|
76
|
-
amount: 100.00,
|
|
77
|
-
currency: 'USD',
|
|
78
|
-
description: 'Test Payment Link',
|
|
79
|
-
expires_at: (Time.now + 86400).iso8601 # 24 hours from now
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
result = api_instance.payment_links_controller_create_v0(payment_link)
|
|
83
|
-
puts result.inspect
|
|
50
|
+
```shell
|
|
51
|
+
ruby -Ilib script.rb
|
|
84
52
|
```
|
|
85
53
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
The SDK provides access to the following APIs:
|
|
89
|
-
|
|
90
|
-
- `APIHealthApi`: Health check endpoints
|
|
91
|
-
- `AppBalancesApi`: Balance management
|
|
92
|
-
- `CustomersApi`: Customer management
|
|
93
|
-
- `ExchangeRatesApi`: Exchange rate information
|
|
94
|
-
- `InvoicesApi`: Invoice management
|
|
95
|
-
- `LiquidationAddressesApi`: Liquidation address management
|
|
96
|
-
- `PaymentIntentsApi`: Payment intent management
|
|
97
|
-
- `PaymentLinksApi`: Payment link management
|
|
98
|
-
- `ProductsApi`: Product management
|
|
99
|
-
- `TaxesApi`: Tax management
|
|
100
|
-
- `TestPaymentsApi`: Test payment endpoints
|
|
101
|
-
- `TransfersApi`: Transfer management
|
|
102
|
-
- `WalletsApi`: Wallet management
|
|
103
|
-
- `WebhooksApi`: Webhook management
|
|
54
|
+
## Getting Started
|
|
104
55
|
|
|
105
|
-
|
|
56
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
|
106
57
|
|
|
107
|
-
|
|
58
|
+
```ruby
|
|
59
|
+
# Load the gem
|
|
60
|
+
require 'devdraft'
|
|
108
61
|
|
|
109
|
-
|
|
62
|
+
# Setup authorization
|
|
63
|
+
Devdraft.configure do |config|
|
|
64
|
+
# Configure API key authorization: x-client-secret
|
|
65
|
+
config.api_key['x-client-secret'] = 'YOUR API KEY'
|
|
66
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
67
|
+
# config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
68
|
+
|
|
69
|
+
# Configure API key authorization: x-client-key
|
|
70
|
+
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
71
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
72
|
+
# config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
73
|
+
end
|
|
110
74
|
|
|
111
|
-
|
|
75
|
+
api_instance = Devdraft::APIHealthApi.new
|
|
112
76
|
|
|
113
|
-
|
|
77
|
+
begin
|
|
78
|
+
#Authenticated health check endpoint
|
|
79
|
+
result = api_instance.health_controller_check_v0
|
|
80
|
+
p result
|
|
81
|
+
rescue Devdraft::ApiError => e
|
|
82
|
+
puts "Exception when calling APIHealthApi->health_controller_check_v0: #{e}"
|
|
83
|
+
end
|
|
114
84
|
|
|
115
|
-
|
|
85
|
+
```
|
|
116
86
|
|
|
117
87
|
## Documentation for API Endpoints
|
|
118
88
|
|
|
@@ -120,125 +90,124 @@ All URIs are relative to *https://api.devdraft.ai*
|
|
|
120
90
|
|
|
121
91
|
Class | Method | HTTP request | Description
|
|
122
92
|
------------ | ------------- | ------------- | -------------
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
93
|
+
*Devdraft::APIHealthApi* | [**health_controller_check_v0**](docs/APIHealthApi.md#health_controller_check_v0) | **GET** /api/v0/health | Authenticated health check endpoint
|
|
94
|
+
*Devdraft::APIHealthApi* | [**health_controller_public_health_check_v0**](docs/APIHealthApi.md#health_controller_public_health_check_v0) | **GET** /api/v0/health/public | Public health check endpoint
|
|
95
|
+
*Devdraft::AppBalancesApi* | [**balance_controller_get_all_balances**](docs/AppBalancesApi.md#balance_controller_get_all_balances) | **GET** /api/v0/balance | Get all stablecoin balances for an app
|
|
96
|
+
*Devdraft::AppBalancesApi* | [**balance_controller_get_eurc_balance**](docs/AppBalancesApi.md#balance_controller_get_eurc_balance) | **GET** /api/v0/balance/eurc | Get EURC balance for an app
|
|
97
|
+
*Devdraft::AppBalancesApi* | [**balance_controller_get_usdc_balance**](docs/AppBalancesApi.md#balance_controller_get_usdc_balance) | **GET** /api/v0/balance/usdc | Get USDC balance for an app
|
|
98
|
+
*Devdraft::CustomersApi* | [**customer_controller_create**](docs/CustomersApi.md#customer_controller_create) | **POST** /api/v0/customers | Create a new customer
|
|
99
|
+
*Devdraft::CustomersApi* | [**customer_controller_find_all**](docs/CustomersApi.md#customer_controller_find_all) | **GET** /api/v0/customers | Get all customers with filters
|
|
100
|
+
*Devdraft::CustomersApi* | [**customer_controller_find_one**](docs/CustomersApi.md#customer_controller_find_one) | **GET** /api/v0/customers/{id} | Get a customer by ID
|
|
101
|
+
*Devdraft::CustomersApi* | [**customer_controller_update**](docs/CustomersApi.md#customer_controller_update) | **PATCH** /api/v0/customers/{id} | Update a customer
|
|
102
|
+
*Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_eurto_usd_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_eurto_usd_rate) | **GET** /api/v0/exchange-rate/eur-to-usd | Get EUR to USD exchange rate
|
|
103
|
+
*Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_exchange_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_exchange_rate) | **GET** /api/v0/exchange-rate | Get exchange rate between specified currencies
|
|
104
|
+
*Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_usdto_eur_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_usdto_eur_rate) | **GET** /api/v0/exchange-rate/usd-to-eur | Get USD to EUR exchange rate
|
|
105
|
+
*Devdraft::InvoicesApi* | [**invoice_controller_create**](docs/InvoicesApi.md#invoice_controller_create) | **POST** /api/v0/invoices | Create a new invoice
|
|
106
|
+
*Devdraft::InvoicesApi* | [**invoice_controller_find_all**](docs/InvoicesApi.md#invoice_controller_find_all) | **GET** /api/v0/invoices | Get all invoices
|
|
107
|
+
*Devdraft::InvoicesApi* | [**invoice_controller_find_one**](docs/InvoicesApi.md#invoice_controller_find_one) | **GET** /api/v0/invoices/{id} | Get an invoice by ID
|
|
108
|
+
*Devdraft::InvoicesApi* | [**invoice_controller_update**](docs/InvoicesApi.md#invoice_controller_update) | **PUT** /api/v0/invoices/{id} | Update an invoice
|
|
109
|
+
*Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_create_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_create_liquidation_address) | **POST** /api/v0/customers/{customerId}/liquidation_addresses | Create a new liquidation address for a customer
|
|
110
|
+
*Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_address) | **GET** /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId} | Get a specific liquidation address
|
|
111
|
+
*Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_addresses**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_addresses) | **GET** /api/v0/customers/{customerId}/liquidation_addresses | Get all liquidation addresses for a customer
|
|
112
|
+
*Devdraft::PaymentIntentsApi* | [**payment_intent_controller_create_bank_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_bank_payment_intent) | **POST** /api/v0/payment-intents/bank | Create a bank payment intent
|
|
113
|
+
*Devdraft::PaymentIntentsApi* | [**payment_intent_controller_create_stable_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_stable_payment_intent) | **POST** /api/v0/payment-intents/stablecoin | Create a stable payment intent
|
|
114
|
+
*Devdraft::PaymentLinksApi* | [**payment_links_controller_create**](docs/PaymentLinksApi.md#payment_links_controller_create) | **POST** /api/v0/payment-links | Create a new payment link
|
|
115
|
+
*Devdraft::PaymentLinksApi* | [**payment_links_controller_find_all**](docs/PaymentLinksApi.md#payment_links_controller_find_all) | **GET** /api/v0/payment-links | Get all payment links
|
|
116
|
+
*Devdraft::PaymentLinksApi* | [**payment_links_controller_find_one**](docs/PaymentLinksApi.md#payment_links_controller_find_one) | **GET** /api/v0/payment-links/{id} | Get a payment link by ID
|
|
117
|
+
*Devdraft::PaymentLinksApi* | [**payment_links_controller_update**](docs/PaymentLinksApi.md#payment_links_controller_update) | **PUT** /api/v0/payment-links/{id} | Update a payment link
|
|
118
|
+
*Devdraft::ProductsApi* | [**product_controller_create**](docs/ProductsApi.md#product_controller_create) | **POST** /api/v0/products | Create a new product
|
|
119
|
+
*Devdraft::ProductsApi* | [**product_controller_find_all**](docs/ProductsApi.md#product_controller_find_all) | **GET** /api/v0/products | Get all products
|
|
120
|
+
*Devdraft::ProductsApi* | [**product_controller_find_one**](docs/ProductsApi.md#product_controller_find_one) | **GET** /api/v0/products/{id} | Get a product by ID
|
|
121
|
+
*Devdraft::ProductsApi* | [**product_controller_remove**](docs/ProductsApi.md#product_controller_remove) | **DELETE** /api/v0/products/{id} | Delete a product
|
|
122
|
+
*Devdraft::ProductsApi* | [**product_controller_update**](docs/ProductsApi.md#product_controller_update) | **PUT** /api/v0/products/{id} | Update a product
|
|
123
|
+
*Devdraft::ProductsApi* | [**product_controller_upload_image**](docs/ProductsApi.md#product_controller_upload_image) | **POST** /api/v0/products/{id}/images | Upload images for a product
|
|
124
|
+
*Devdraft::TaxesApi* | [**tax_controller_create**](docs/TaxesApi.md#tax_controller_create) | **POST** /api/v0/taxes | Create a new tax
|
|
125
|
+
*Devdraft::TaxesApi* | [**tax_controller_delete_without_id**](docs/TaxesApi.md#tax_controller_delete_without_id) | **DELETE** /api/v0/taxes | Tax ID required for deletion
|
|
126
|
+
*Devdraft::TaxesApi* | [**tax_controller_find_all**](docs/TaxesApi.md#tax_controller_find_all) | **GET** /api/v0/taxes | Get all taxes with filters
|
|
127
|
+
*Devdraft::TaxesApi* | [**tax_controller_find_one**](docs/TaxesApi.md#tax_controller_find_one) | **GET** /api/v0/taxes/{id} | Get a tax by ID
|
|
128
|
+
*Devdraft::TaxesApi* | [**tax_controller_remove**](docs/TaxesApi.md#tax_controller_remove) | **DELETE** /api/v0/taxes/{id} | Delete a tax
|
|
129
|
+
*Devdraft::TaxesApi* | [**tax_controller_update**](docs/TaxesApi.md#tax_controller_update) | **PUT** /api/v0/taxes/{id} | Update a tax
|
|
130
|
+
*Devdraft::TaxesApi* | [**tax_controller_update_without_id**](docs/TaxesApi.md#tax_controller_update_without_id) | **PUT** /api/v0/taxes | Tax ID required for updates
|
|
131
|
+
*Devdraft::TestPaymentsApi* | [**test_payment_controller_create_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_create_payment_v0) | **POST** /api/v0/test-payment | Process a test payment
|
|
132
|
+
*Devdraft::TestPaymentsApi* | [**test_payment_controller_get_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_get_payment_v0) | **GET** /api/v0/test-payment/{id} | Get payment details by ID
|
|
133
|
+
*Devdraft::TestPaymentsApi* | [**test_payment_controller_refund_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_refund_payment_v0) | **POST** /api/v0/test-payment/{id}/refund | Refund a payment
|
|
134
|
+
*Devdraft::TransfersApi* | [**transfer_controller_create_direct_bank_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_bank_transfer) | **POST** /api/v0/transfers/direct-bank | Create a direct bank transfer
|
|
135
|
+
*Devdraft::TransfersApi* | [**transfer_controller_create_direct_wallet_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_wallet_transfer) | **POST** /api/v0/transfers/direct-wallet | Create a direct wallet transfer
|
|
136
|
+
*Devdraft::TransfersApi* | [**transfer_controller_create_external_bank_transfer**](docs/TransfersApi.md#transfer_controller_create_external_bank_transfer) | **POST** /api/v0/transfers/external-bank-transfer | Create an external bank transfer
|
|
137
|
+
*Devdraft::TransfersApi* | [**transfer_controller_create_external_stablecoin_transfer**](docs/TransfersApi.md#transfer_controller_create_external_stablecoin_transfer) | **POST** /api/v0/transfers/external-stablecoin-transfer | Create an external stablecoin transfer
|
|
138
|
+
*Devdraft::TransfersApi* | [**transfer_controller_create_stablecoin_conversion**](docs/TransfersApi.md#transfer_controller_create_stablecoin_conversion) | **POST** /api/v0/transfers/stablecoin-conversion | Create a stablecoin conversion
|
|
139
|
+
*Devdraft::WalletsApi* | [**wallet_controller_get_wallets**](docs/WalletsApi.md#wallet_controller_get_wallets) | **GET** /api/v0/wallets | Get wallets for an app
|
|
140
|
+
*Devdraft::WebhooksApi* | [**webhook_controller_create**](docs/WebhooksApi.md#webhook_controller_create) | **POST** /api/v0/webhooks | Create a new webhook
|
|
141
|
+
*Devdraft::WebhooksApi* | [**webhook_controller_find_all**](docs/WebhooksApi.md#webhook_controller_find_all) | **GET** /api/v0/webhooks | Get all webhooks
|
|
142
|
+
*Devdraft::WebhooksApi* | [**webhook_controller_find_one**](docs/WebhooksApi.md#webhook_controller_find_one) | **GET** /api/v0/webhooks/{id} | Get a webhook by id
|
|
143
|
+
*Devdraft::WebhooksApi* | [**webhook_controller_remove**](docs/WebhooksApi.md#webhook_controller_remove) | **DELETE** /api/v0/webhooks/{id} | Delete a webhook
|
|
144
|
+
*Devdraft::WebhooksApi* | [**webhook_controller_update**](docs/WebhooksApi.md#webhook_controller_update) | **PATCH** /api/v0/webhooks/{id} | Update a webhook
|
|
171
145
|
|
|
172
|
-
## Documentation for Models
|
|
173
146
|
|
|
174
|
-
|
|
175
|
-
- [DevDraftAI::AllBalancesResponse](docs/AllBalancesResponse.md)
|
|
176
|
-
- [DevDraftAI::AllOfAllBalancesResponseEurc](docs/AllOfAllBalancesResponseEurc.md)
|
|
177
|
-
- [DevDraftAI::AllOfAllBalancesResponseUsdc](docs/AllOfAllBalancesResponseUsdc.md)
|
|
178
|
-
- [DevDraftAI::AllOfCreateBankPaymentIntentDtoDestinationCurrency](docs/AllOfCreateBankPaymentIntentDtoDestinationCurrency.md)
|
|
179
|
-
- [DevDraftAI::AllOfCreateBankPaymentIntentDtoDestinationNetwork](docs/AllOfCreateBankPaymentIntentDtoDestinationNetwork.md)
|
|
180
|
-
- [DevDraftAI::AllOfCreateBankPaymentIntentDtoSourceCurrency](docs/AllOfCreateBankPaymentIntentDtoSourceCurrency.md)
|
|
181
|
-
- [DevDraftAI::AllOfCreateBankPaymentIntentDtoSourcePaymentRail](docs/AllOfCreateBankPaymentIntentDtoSourcePaymentRail.md)
|
|
182
|
-
- [DevDraftAI::AllOfCreateCustomerDtoStatus](docs/AllOfCreateCustomerDtoStatus.md)
|
|
183
|
-
- [DevDraftAI::AllOfCreateLiquidationAddressDtoDestinationCurrency](docs/AllOfCreateLiquidationAddressDtoDestinationCurrency.md)
|
|
184
|
-
- [DevDraftAI::AllOfCreateLiquidationAddressDtoDestinationPaymentRail](docs/AllOfCreateLiquidationAddressDtoDestinationPaymentRail.md)
|
|
185
|
-
- [DevDraftAI::AllOfCreateStablePaymentIntentDtoDestinationCurrency](docs/AllOfCreateStablePaymentIntentDtoDestinationCurrency.md)
|
|
186
|
-
- [DevDraftAI::AllOfCreateStablePaymentIntentDtoDestinationNetwork](docs/AllOfCreateStablePaymentIntentDtoDestinationNetwork.md)
|
|
187
|
-
- [DevDraftAI::AllOfCreateStablePaymentIntentDtoSourceCurrency](docs/AllOfCreateStablePaymentIntentDtoSourceCurrency.md)
|
|
188
|
-
- [DevDraftAI::AllOfCreateStablePaymentIntentDtoSourceNetwork](docs/AllOfCreateStablePaymentIntentDtoSourceNetwork.md)
|
|
189
|
-
- [DevDraftAI::AllOfUpdateCustomerDtoStatus](docs/AllOfUpdateCustomerDtoStatus.md)
|
|
190
|
-
- [DevDraftAI::BridgePaymentRail](docs/BridgePaymentRail.md)
|
|
191
|
-
- [DevDraftAI::CreateBankPaymentIntentDto](docs/CreateBankPaymentIntentDto.md)
|
|
192
|
-
- [DevDraftAI::CreateCustomerDto](docs/CreateCustomerDto.md)
|
|
193
|
-
- [DevDraftAI::CreateDirectBankTransferDto](docs/CreateDirectBankTransferDto.md)
|
|
194
|
-
- [DevDraftAI::CreateDirectWalletTransferDto](docs/CreateDirectWalletTransferDto.md)
|
|
195
|
-
- [DevDraftAI::CreateInvoiceDto](docs/CreateInvoiceDto.md)
|
|
196
|
-
- [DevDraftAI::CreateLiquidationAddressDto](docs/CreateLiquidationAddressDto.md)
|
|
197
|
-
- [DevDraftAI::CreatePaymentLinkDto](docs/CreatePaymentLinkDto.md)
|
|
198
|
-
- [DevDraftAI::CreateProductDto](docs/CreateProductDto.md)
|
|
199
|
-
- [DevDraftAI::CreateStablePaymentIntentDto](docs/CreateStablePaymentIntentDto.md)
|
|
200
|
-
- [DevDraftAI::CreateStablecoinConversionDto](docs/CreateStablecoinConversionDto.md)
|
|
201
|
-
- [DevDraftAI::CreateTaxInput](docs/CreateTaxInput.md)
|
|
202
|
-
- [DevDraftAI::CreateWebhookDto](docs/CreateWebhookDto.md)
|
|
203
|
-
- [DevDraftAI::CustomerStatus](docs/CustomerStatus.md)
|
|
204
|
-
- [DevDraftAI::DestinationCurrency](docs/DestinationCurrency.md)
|
|
205
|
-
- [DevDraftAI::ExchangeRateResponseDto](docs/ExchangeRateResponseDto.md)
|
|
206
|
-
- [DevDraftAI::FiatCurrency](docs/FiatCurrency.md)
|
|
207
|
-
- [DevDraftAI::HealthResponseDto](docs/HealthResponseDto.md)
|
|
208
|
-
- [DevDraftAI::InvoiceProductDto](docs/InvoiceProductDto.md)
|
|
209
|
-
- [DevDraftAI::LiquidationAddressResponseDto](docs/LiquidationAddressResponseDto.md)
|
|
210
|
-
- [DevDraftAI::PaymentLinkProductDto](docs/PaymentLinkProductDto.md)
|
|
211
|
-
- [DevDraftAI::PaymentRequestDto](docs/PaymentRequestDto.md)
|
|
212
|
-
- [DevDraftAI::PaymentResponseDto](docs/PaymentResponseDto.md)
|
|
213
|
-
- [DevDraftAI::PublicHealthResponseDto](docs/PublicHealthResponseDto.md)
|
|
214
|
-
- [DevDraftAI::RefundResponseDto](docs/RefundResponseDto.md)
|
|
215
|
-
- [DevDraftAI::StableCoinCurrency](docs/StableCoinCurrency.md)
|
|
216
|
-
- [DevDraftAI::UpdateCustomerDto](docs/UpdateCustomerDto.md)
|
|
217
|
-
- [DevDraftAI::UpdatePaymentLinkDto](docs/UpdatePaymentLinkDto.md)
|
|
218
|
-
- [DevDraftAI::UpdatePreferenceInput](docs/UpdatePreferenceInput.md)
|
|
219
|
-
- [DevDraftAI::UpdateProductDto](docs/UpdateProductDto.md)
|
|
220
|
-
- [DevDraftAI::UpdateTaxInput](docs/UpdateTaxInput.md)
|
|
221
|
-
- [DevDraftAI::UpdateWebhookDto](docs/UpdateWebhookDto.md)
|
|
222
|
-
- [DevDraftAI::WebhookResponseDto](docs/WebhookResponseDto.md)
|
|
147
|
+
## Documentation for Models
|
|
223
148
|
|
|
224
|
-
|
|
149
|
+
- [Devdraft::AggregatedBalanceResponse](docs/AggregatedBalanceResponse.md)
|
|
150
|
+
- [Devdraft::AllBalancesResponse](docs/AllBalancesResponse.md)
|
|
151
|
+
- [Devdraft::BridgeFiatPaymentRail](docs/BridgeFiatPaymentRail.md)
|
|
152
|
+
- [Devdraft::BridgePaymentRail](docs/BridgePaymentRail.md)
|
|
153
|
+
- [Devdraft::CreateBankPaymentIntentDto](docs/CreateBankPaymentIntentDto.md)
|
|
154
|
+
- [Devdraft::CreateCustomerDto](docs/CreateCustomerDto.md)
|
|
155
|
+
- [Devdraft::CreateDirectBankTransferDto](docs/CreateDirectBankTransferDto.md)
|
|
156
|
+
- [Devdraft::CreateDirectWalletTransferDto](docs/CreateDirectWalletTransferDto.md)
|
|
157
|
+
- [Devdraft::CreateExternalBankTransferDto](docs/CreateExternalBankTransferDto.md)
|
|
158
|
+
- [Devdraft::CreateExternalStablecoinTransferDto](docs/CreateExternalStablecoinTransferDto.md)
|
|
159
|
+
- [Devdraft::CreateInvoiceDto](docs/CreateInvoiceDto.md)
|
|
160
|
+
- [Devdraft::CreateLiquidationAddressDto](docs/CreateLiquidationAddressDto.md)
|
|
161
|
+
- [Devdraft::CreatePaymentLinkDto](docs/CreatePaymentLinkDto.md)
|
|
162
|
+
- [Devdraft::CreateStablePaymentIntentDto](docs/CreateStablePaymentIntentDto.md)
|
|
163
|
+
- [Devdraft::CreateStablecoinConversionDto](docs/CreateStablecoinConversionDto.md)
|
|
164
|
+
- [Devdraft::CreateTaxDto](docs/CreateTaxDto.md)
|
|
165
|
+
- [Devdraft::CreateWebhookDto](docs/CreateWebhookDto.md)
|
|
166
|
+
- [Devdraft::CustomerStatus](docs/CustomerStatus.md)
|
|
167
|
+
- [Devdraft::CustomerType](docs/CustomerType.md)
|
|
168
|
+
- [Devdraft::DestinationCurrency](docs/DestinationCurrency.md)
|
|
169
|
+
- [Devdraft::ExchangeRateResponseDto](docs/ExchangeRateResponseDto.md)
|
|
170
|
+
- [Devdraft::FiatCurrency](docs/FiatCurrency.md)
|
|
171
|
+
- [Devdraft::HealthResponseDto](docs/HealthResponseDto.md)
|
|
172
|
+
- [Devdraft::InvoiceProductDto](docs/InvoiceProductDto.md)
|
|
173
|
+
- [Devdraft::LiquidationAddressResponseDto](docs/LiquidationAddressResponseDto.md)
|
|
174
|
+
- [Devdraft::PaymentLinkProductDto](docs/PaymentLinkProductDto.md)
|
|
175
|
+
- [Devdraft::PaymentRequestDto](docs/PaymentRequestDto.md)
|
|
176
|
+
- [Devdraft::PaymentResponseDto](docs/PaymentResponseDto.md)
|
|
177
|
+
- [Devdraft::PublicHealthResponseDto](docs/PublicHealthResponseDto.md)
|
|
178
|
+
- [Devdraft::RefundResponseDto](docs/RefundResponseDto.md)
|
|
179
|
+
- [Devdraft::StableCoinCurrency](docs/StableCoinCurrency.md)
|
|
180
|
+
- [Devdraft::TaxControllerCreate201Response](docs/TaxControllerCreate201Response.md)
|
|
181
|
+
- [Devdraft::TaxControllerDeleteWithoutId400Response](docs/TaxControllerDeleteWithoutId400Response.md)
|
|
182
|
+
- [Devdraft::TaxControllerUpdateWithoutId400Response](docs/TaxControllerUpdateWithoutId400Response.md)
|
|
183
|
+
- [Devdraft::UpdateCustomerDto](docs/UpdateCustomerDto.md)
|
|
184
|
+
- [Devdraft::UpdateTaxDto](docs/UpdateTaxDto.md)
|
|
185
|
+
- [Devdraft::UpdateWebhookDto](docs/UpdateWebhookDto.md)
|
|
186
|
+
- [Devdraft::WebhookResponseDto](docs/WebhookResponseDto.md)
|
|
225
187
|
|
|
226
188
|
|
|
227
|
-
|
|
189
|
+
## Documentation for Authorization
|
|
228
190
|
|
|
229
|
-
- **Type**: API key
|
|
230
|
-
- **API key parameter name**: idempotency-key
|
|
231
|
-
- **Location**: HTTP header
|
|
232
191
|
|
|
192
|
+
Authentication schemes defined for the API:
|
|
233
193
|
### x-client-key
|
|
234
194
|
|
|
195
|
+
|
|
235
196
|
- **Type**: API key
|
|
236
197
|
- **API key parameter name**: x-client-key
|
|
237
198
|
- **Location**: HTTP header
|
|
238
199
|
|
|
239
200
|
### x-client-secret
|
|
240
201
|
|
|
202
|
+
|
|
241
203
|
- **Type**: API key
|
|
242
204
|
- **API key parameter name**: x-client-secret
|
|
243
205
|
- **Location**: HTTP header
|
|
244
206
|
|
|
207
|
+
### idempotency-key
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
- **Type**: API key
|
|
211
|
+
- **API key parameter name**: idempotency-key
|
|
212
|
+
- **Location**: HTTP header
|
|
213
|
+
|
data/Rakefile
CHANGED
data/devdraft-1.0.0.gem
ADDED
|
Binary file
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
=begin
|
|
4
|
-
#Devdraft Payment & Business Management API
|
|
4
|
+
#Devdraft AI Payment & Business Management API
|
|
5
5
|
|
|
6
6
|
# A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
|
|
7
7
|
|
|
8
|
-
OpenAPI
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
Generator version: 7.17.0
|
|
9
12
|
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
Swagger Codegen version: 3.0.65
|
|
12
13
|
=end
|
|
13
14
|
|
|
14
15
|
$:.push File.expand_path("../lib", __FILE__)
|
|
@@ -18,20 +19,23 @@ Gem::Specification.new do |s|
|
|
|
18
19
|
s.name = "devdraft"
|
|
19
20
|
s.version = Devdraft::VERSION
|
|
20
21
|
s.platform = Gem::Platform::RUBY
|
|
21
|
-
s.authors = ["
|
|
22
|
-
s.email = [""]
|
|
23
|
-
s.homepage = "https://github.com/
|
|
24
|
-
s.summary = "Devdraft Payment & Business Management API Ruby Gem"
|
|
22
|
+
s.authors = ["Devdraft"]
|
|
23
|
+
s.email = ["support@devdraft.com"]
|
|
24
|
+
s.homepage = "https://github.com/devdraftengineer/ruby"
|
|
25
|
+
s.summary = "Devdraft AI Payment & Business Management API Ruby Gem"
|
|
25
26
|
s.description = " A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods. "
|
|
26
27
|
s.license = "Unlicense"
|
|
27
|
-
s.required_ruby_version = ">=
|
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
|
29
|
+
s.metadata = {
|
|
30
|
+
"source_code_uri" => "https://github.com/devdraftengineer/ruby",
|
|
31
|
+
"homepage_uri" => "https://github.com/devdraftengineer/ruby"
|
|
32
|
+
}
|
|
28
33
|
|
|
29
34
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
30
|
-
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
31
35
|
|
|
32
36
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
33
37
|
|
|
34
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty?
|
|
38
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
35
39
|
s.test_files = `find spec/*`.split("\n")
|
|
36
40
|
s.executables = []
|
|
37
41
|
s.require_paths = ["lib"]
|