A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
This Dart package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.dart.DartClientCodegen
Dart 1.20.0 or later OR Flutter 0.0.20 or later
If this Dart package is published to Github, please include the following in pubspec.yaml
name: devdraft_ai_sdk
version: 1.0.0
description: Swagger API client
dependencies:
devdraft_ai_sdk:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
version: 'any'
To use the package in your local drive, please include the following in pubspec.yaml
dependencies:
devdraft_ai_sdk:
path: /path/to/devdraft_ai_sdk
TODO
Please follow the installation procedure and then run the following:
import 'package:devdraft_ai_sdk/api.dart';
var api_instance = new APIHealthApi();
try {
var result = api_instance.healthControllerCheckV0();
print(result);
} catch (e) {
print("Exception when calling APIHealthApi->healthControllerCheckV0: $e\n");
}
All URIs are relative to https://api.devdraft.ai
Class | Method | HTTP request | Description |
---|---|---|---|
APIHealthApi | healthControllerCheckV0 | GET /api/v0/health | Authenticated health check endpoint |
APIHealthApi | healthControllerPublicHealthCheckV0 | GET /api/v0/health/public | Public health check endpoint |
AppBalancesApi | balanceControllerGetAllBalances | GET /api/v0/balance | Get all stablecoin balances for an app |
AppBalancesApi | balanceControllerGetEURCBalance | GET /api/v0/balance/eurc | Get EURC balance for an app |
AppBalancesApi | balanceControllerGetUSDCBalance | GET /api/v0/balance/usdc | Get USDC balance for an app |
CustomersApi | customerControllerCreate | POST /api/v0/customers | Create a new customer |
CustomersApi | customerControllerFindAll | GET /api/v0/customers | Get all customers with filters |
CustomersApi | customerControllerFindOne | GET /api/v0/customers/{id} | Get a customer by ID |
CustomersApi | customerControllerUpdate | PATCH /api/v0/customers/{id} | Update a customer |
ExchangeRatesApi | exchangeRateControllerGetEURToUSDRate | GET /api/v0/exchange-rate/eur-to-usd | Get EUR to USD exchange rate |
ExchangeRatesApi | exchangeRateControllerGetExchangeRate | GET /api/v0/exchange-rate | Get exchange rate between specified currencies |
ExchangeRatesApi | exchangeRateControllerGetUSDToEURRate | GET /api/v0/exchange-rate/usd-to-eur | Get USD to EUR exchange rate |
InvoicesApi | invoiceControllerCreate | POST /api/v0/invoices | Create a new invoice |
InvoicesApi | invoiceControllerFindAll | GET /api/v0/invoices | Get all invoices |
InvoicesApi | invoiceControllerFindOne | GET /api/v0/invoices/{id} | Get an invoice by ID |
InvoicesApi | invoiceControllerUpdate | PUT /api/v0/invoices/{id} | Update an invoice |
LiquidationAddressesApi | liquidationAddressControllerCreateLiquidationAddress | POST /api/v0/customers/{customerId}/liquidation_addresses | Create a new liquidation address for a customer |
LiquidationAddressesApi | liquidationAddressControllerGetLiquidationAddress | GET /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId} | Get a specific liquidation address |
LiquidationAddressesApi | liquidationAddressControllerGetLiquidationAddresses | GET /api/v0/customers/{customerId}/liquidation_addresses | Get all liquidation addresses for a customer |
PaymentIntentsApi | paymentIntentControllerCreateBankPaymentIntent | POST /api/v0/payment-intents/bank | Create a bank payment intent |
PaymentIntentsApi | paymentIntentControllerCreateStablePaymentIntent | POST /api/v0/payment-intents/stablecoin | Create a stable payment intent |
PaymentLinksApi | paymentLinksControllerCreate | POST /api/v0/payment-links | Create a new payment link |
PaymentLinksApi | paymentLinksControllerFindAll | GET /api/v0/payment-links | Get all payment links |
PaymentLinksApi | paymentLinksControllerFindOne | GET /api/v0/payment-links/{id} | Get a payment link by ID |
PaymentLinksApi | paymentLinksControllerUpdate | PUT /api/v0/payment-links/{id} | Update a payment link |
ProductsApi | productControllerCreate | POST /api/v0/products | Create a new product |
ProductsApi | productControllerFindAll | GET /api/v0/products | Get all products |
ProductsApi | productControllerFindOne | GET /api/v0/products/{id} | Get a product by ID |
ProductsApi | productControllerRemove | DELETE /api/v0/products/{id} | Delete a product |
ProductsApi | productControllerUpdate | PUT /api/v0/products/{id} | Update a product |
ProductsApi | productControllerUploadImage | POST /api/v0/products/{id}/images | Upload images for a product |
TaxesApi | taxControllerCreate | POST /api/v0/taxes | Create a new tax |
TaxesApi | taxControllerFindAll | GET /api/v0/taxes | Get all taxes |
TaxesApi | taxControllerFindOne | GET /api/v0/taxes/{id} | Get a tax by ID |
TaxesApi | taxControllerRemove | DELETE /api/v0/taxes/{id} | Delete a tax |
TaxesApi | taxControllerUpdate | PUT /api/v0/taxes/{id} | Update a tax |
TestPaymentsApi | testPaymentControllerCreatePaymentV0 | POST /api/v0/test-payment | Process a test payment |
TestPaymentsApi | testPaymentControllerGetPaymentV0 | GET /api/v0/test-payment/{id} | Get payment details by ID |
TestPaymentsApi | testPaymentControllerRefundPaymentV0 | POST /api/v0/test-payment/{id}/refund | Refund a payment |
TransfersApi | transferControllerCreateDirectBankTransfer | POST /api/v0/transfers/direct-bank | Create a direct bank transfer |
TransfersApi | transferControllerCreateDirectWalletTransfer | POST /api/v0/transfers/direct-wallet | Create a direct wallet transfer |
TransfersApi | transferControllerCreateStablecoinConversion | POST /api/v0/transfers/stablecoin-conversion | Create a stablecoin conversion |
WalletsApi | walletControllerGetWallets | GET /api/v0/wallets | Get wallets for an app |
WebhooksApi | webhookControllerCreate | POST /api/v0/webhooks | Create a new webhook |
WebhooksApi | webhookControllerFindAll | GET /api/v0/webhooks | Get all webhooks |
WebhooksApi | webhookControllerFindOne | GET /api/v0/webhooks/{id} | Get a webhook by id |
WebhooksApi | webhookControllerRemove | DELETE /api/v0/webhooks/{id} | Delete a webhook |
WebhooksApi | webhookControllerUpdate | PATCH /api/v0/webhooks/{id} | Update a webhook |
- AggregatedBalanceResponse
- AllBalancesResponse
- AllOfAllBalancesResponseEurc
- AllOfAllBalancesResponseUsdc
- AllOfCreateBankPaymentIntentDtoDestinationCurrency
- AllOfCreateBankPaymentIntentDtoDestinationNetwork
- AllOfCreateBankPaymentIntentDtoSourceCurrency
- AllOfCreateBankPaymentIntentDtoSourcePaymentRail
- AllOfCreateCustomerDtoStatus
- AllOfCreateLiquidationAddressDtoDestinationCurrency
- AllOfCreateLiquidationAddressDtoDestinationPaymentRail
- AllOfCreateStablePaymentIntentDtoDestinationCurrency
- AllOfCreateStablePaymentIntentDtoDestinationNetwork
- AllOfCreateStablePaymentIntentDtoSourceCurrency
- AllOfCreateStablePaymentIntentDtoSourceNetwork
- AllOfUpdateCustomerDtoStatus
- BridgePaymentRail
- CreateBankPaymentIntentDto
- CreateCustomerDto
- CreateDirectBankTransferDto
- CreateDirectWalletTransferDto
- CreateInvoiceDto
- CreateLiquidationAddressDto
- CreatePaymentLinkDto
- CreateProductDto
- CreateStablePaymentIntentDto
- CreateStablecoinConversionDto
- CreateTaxInput
- CreateWebhookDto
- CustomerStatus
- DestinationCurrency
- ExchangeRateResponseDto
- FiatCurrency
- HealthResponseDto
- InvoiceProductDto
- LiquidationAddressResponseDto
- PaymentLinkProductDto
- PaymentRequestDto
- PaymentResponseDto
- PublicHealthResponseDto
- RefundResponseDto
- StableCoinCurrency
- UpdateCustomerDto
- UpdatePaymentLinkDto
- UpdatePreferenceInput
- UpdateProductDto
- UpdateTaxInput
- UpdateWebhookDto
- WebhookResponseDto
- Type: API key
- API key parameter name: idempotency-key
- Location: HTTP header
- Type: API key
- API key parameter name: x-client-key
- Location: HTTP header
- Type: API key
- API key parameter name: x-client-secret
- Location: HTTP header