conekta 6.0.0-beta.1 copy "conekta: ^6.0.0-beta.1" to clipboard
conekta: ^6.0.0-beta.1 copied to clipboard

outdated

Conekta dart Library

conekta (EXPERIMENTAL) #

Conekta sdk

This Dart package is automatically generated by the OpenAPI Generator project:

Requirements #

Installation & Usage #

pub.dev #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  conekta: 6.0.0-beta.1

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  conekta:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  conekta:
    path: /path/to/conekta

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:conekta/conekta.dart';


final api = Conekta().getAntifraudApi();
final CreateRiskRulesData createRiskRulesData = ; // CreateRiskRulesData | requested field for blacklist rule
final String acceptLanguage = es; // String | Use for knowing which language to use

try {
    final response = await api.createRuleBlacklist(createRiskRulesData, acceptLanguage);
    print(response);
} catch on DioError (e) {
    print("Exception when calling AntifraudApi->createRuleBlacklist: $e\n");
}

Documentation for API Endpoints #

All URIs are relative to https://api.conekta.io

Class Method HTTP request Description
AntifraudApi createRuleBlacklist POST /antifraud/blacklists Create blacklisted rule
AntifraudApi createRuleWhitelist POST /antifraud/whitelists Create whitelisted rule
AntifraudApi deleteRuleBlacklist DELETE /antifraud/blacklists/{id} Delete blacklisted rule
AntifraudApi deleteRuleWhitelist DELETE /antifraud/whitelists/{id} Delete whitelisted rule
AntifraudApi getRuleBlacklist GET /antifraud/blacklists Get list of blacklisted rules
AntifraudApi getRuleWhitelist GET /antifraud/whitelists Get a list of whitelisted rules
BalancesApi getBalance GET /balances Get a company's balance
ChargesApi getCharges GET /charges Get A List of Charges
ChargesApi ordersCreateCharge POST /orders/{id}/charges Create charge
CompaniesApi getCompanies GET /companies Get List of Companies
CompaniesApi getCompany GET /companies/{id} Get Company
CustomersApi createCustomer POST /customers Create customer
CustomersApi createCustomerFiscalEntities POST /customers/{id}/fiscal_entities Create Fiscal Entity
CustomersApi deleteCustomerById DELETE /customers/{id} Delete Customer
CustomersApi getCustomerById GET /customers/{id} Get Customer
CustomersApi getCustomers GET /customers Get a list of customers
CustomersApi updateCustomer PUT /customers/{id} Update customer
CustomersApi updateCustomerFiscalEntities PUT /customers/{id}/fiscal_entities/{fiscal_entities_id} Update Fiscal Entity
DiscountsApi ordersCreateDiscountLine POST /orders/{id}/discount_lines Create Discount
DiscountsApi ordersDeleteDiscountLines DELETE /orders/{id}/discount_lines/{discount_lines_id} Delete Discount
DiscountsApi ordersGetDiscountLine GET /orders/{id}/discount_lines/{discount_lines_id} Get Discount
DiscountsApi ordersGetDiscountLines GET /orders/{id}/discount_lines Get a List of Discount
DiscountsApi ordersUpdateDiscountLines PUT /orders/{id}/discount_lines/{discount_lines_id} Update Discount
EventsApi getEvent GET /events/{id} Get Event
EventsApi getEvents GET /events Get list of Events
LogsApi getLogById GET /logs/{id} Get Log
LogsApi getLogs GET /logs Get List Of Logs
OrdersApi cancelOrder POST /orders/{id}/cancel Cancel Order
OrdersApi createOrder POST /orders Create order
OrdersApi getOrderById GET /orders/{id} Get Order
OrdersApi getOrders GET /orders Get a list of Orders
OrdersApi orderCancelRefund DELETE /orders/{id}/refunds/{refund_id} Cancel Refund
OrdersApi orderRefund POST /orders/{id}/refunds Refund Order
OrdersApi ordersCreateCapture POST /orders/{id}/capture Capture Order
OrdersApi updateOrder PUT /orders/{id} Update Order
PaymentLinkApi cancelCheckout PUT /checkouts/{id}/cancel Cancel Payment Link
PaymentLinkApi createCheckout POST /checkouts Create Unique Payment Link
PaymentLinkApi emailCheckout POST /checkouts/{id}/email Send an email
PaymentLinkApi getCheckout GET /checkouts/{id} Get a payment link by ID
PaymentLinkApi getCheckouts GET /checkouts Get a list of payment links
PaymentLinkApi smsCheckout POST /checkouts/{id}/sms Send an sms
PaymentMethodsApi createCustomerPaymentMethods POST /customers/{id}/payment_sources Create Payment Method
PaymentMethodsApi deleteCustomerPaymentMethods DELETE /customers/{id}/payment_sources/{payment_method_id} Delete Payment Method
PaymentMethodsApi getCustomerPaymentMethods GET /customers/{id}/payment_sources Get Payment Methods
PaymentMethodsApi updateCustomerPaymentMethods PUT /customers/{id}/payment_sources/{payment_method_id} Update Payment Method
PlansApi createPlan POST /plans Create Plan
PlansApi deletePlan DELETE /plans/{id} Delete Plan
PlansApi getPlan GET /plans/{id} Get Plan
PlansApi getPlans GET /plans Get A List of Plans
PlansApi updatePlan PUT /plans/{id} Update Plan
ProductsApi ordersCreateProduct POST /orders/{id}/line_items Create Product
ProductsApi ordersDeleteProduct DELETE /orders/{id}/line_items/{line_item_id} Delete Product
ProductsApi ordersUpdateProduct PUT /orders/{id}/line_items/{line_item_id} Update Product
ShippingContactsApi createCustomerShippingContacts POST /customers/{id}/shipping_contacts Create a shipping contacts
ShippingContactsApi deleteCustomerShippingContacts DELETE /customers/{id}/shipping_contacts/{shipping_contacts_id} Delete shipping contacts
ShippingContactsApi updateCustomerShippingContacts PUT /customers/{id}/shipping_contacts/{shipping_contacts_id} Update shipping contacts
ShippingsApi ordersCreateShipping POST /orders/{id}/shipping_lines Create Shipping
ShippingsApi ordersDeleteShipping DELETE /orders/{id}/shipping_lines/{shipping_id} Delete Shipping
ShippingsApi ordersUpdateShipping PUT /orders/{id}/shipping_lines/{shipping_id} Update Shipping
SubscriptionsApi cancelSubscription POST /customers/{id}/subscription/cancel Cancel Subscription
SubscriptionsApi createSubscription POST /customers/{id}/subscription Create Subscription
SubscriptionsApi getAllEventsFromSubscription GET /customers/{id}/subscription/events Get Events By Subscription
SubscriptionsApi getSubscription GET /customers/{id}/subscription Get Subscription
SubscriptionsApi pauseSubscription POST /customers/{id}/subscription/pause Pause Subscription
SubscriptionsApi resumeSubscription POST /customers/{id}/subscription/resume Resume Subscription
SubscriptionsApi updateSubscription PUT /customers/{id}/subscription Update Subscription
TaxesApi ordersCreateTaxes POST /orders/{id}/tax_lines Create Tax
TaxesApi ordersDeleteTaxes DELETE /orders/{id}/tax_lines/{tax_id} Delete Tax
TaxesApi ordersUpdateTaxes PUT /orders/{id}/tax_lines/{tax_id} Update Tax
TokensApi createToken POST /tokens Create Token
TransactionsApi getTransaction GET /transactions/{id} Get transaction
TransactionsApi getTransactions GET /transactions Get List transactions
TransfersApi getTransfer GET /transfers/{id} Get Transfer
TransfersApi getTransfers GET /transfers Get a list of transfers
WebhookKeysApi createWebhookKey POST /webhook_keys Create Webhook Key
WebhookKeysApi deleteWebhookKey DELETE /webhook_keys/{id} Delete Webhook key
WebhookKeysApi getWebhookKey GET /webhook_keys/{id} Get Webhook Key
WebhookKeysApi getWebhookKeys GET /webhook_keys Get List of Webhook Keys
WebhookKeysApi updateWebhookKey PUT /webhook_keys/{id} Update Webhook Key
WebhooksApi createWebhook POST /webhooks Create Webhook
WebhooksApi deleteWebhook DELETE /webhooks/{id} Delete Webhook
WebhooksApi getWebhook GET /webhooks/{id} Get Webhook
WebhooksApi getWebhooks GET /webhooks Get List of Webhooks
WebhooksApi updateWebhook PUT /webhooks/{id} Update Webhook

Documentation For Models #

  • BalanceCommonField
  • BalanceResponse
  • BlacklistRuleResponse
  • ChargeDataPaymentMethodBankTransferResponse
  • ChargeDataPaymentMethodCardResponse
  • ChargeDataPaymentMethodCashResponse
  • ChargeOrderResponse
  • ChargeOrderResponsePaymentMethod
  • ChargeRequest
  • ChargeRequestPaymentMethod
  • ChargeResponse
  • ChargeResponseChannel
  • ChargeResponsePaymentMethod
  • ChargeResponseRefunds
  • ChargeResponseRefundsAllOf
  • ChargeResponseRefundsData
  • ChargesDataResponse
  • Checkout
  • CheckoutOrderTemplate
  • CheckoutOrderTemplateCustomerInfo
  • CheckoutRequest
  • CheckoutResponse
  • CheckoutsResponse
  • CheckoutsResponseAllOf
  • CompanyFiscalInfoAddressResponse
  • CompanyFiscalInfoResponse
  • CompanyPayoutDestinationResponse
  • CompanyResponse
  • CreateCustomerFiscalEntitiesResponse
  • CreateCustomerFiscalEntitiesResponseAllOf
  • CreateCustomerPaymentMethodsRequest
  • CreateCustomerPaymentMethodsResponse
  • CreateRiskRulesData
  • Customer
  • CustomerAddress
  • CustomerAntifraudInfo
  • CustomerAntifraudInfoResponse
  • CustomerFiscalEntitiesDataResponse
  • CustomerFiscalEntitiesRequest
  • CustomerFiscalEntitiesRequestAddress
  • CustomerFiscalEntitiesResponse
  • CustomerFiscalEntitiesResponseAllOf
  • CustomerInfo
  • CustomerInfoJustCustomerId
  • CustomerInfoJustCustomerIdResponse
  • CustomerInfoResponse
  • CustomerPaymentMethodRequest
  • CustomerPaymentMethods
  • CustomerPaymentMethodsData
  • CustomerPaymentMethodsRequest
  • CustomerPaymentMethodsResponse
  • CustomerResponse
  • CustomerResponseShippingContacts
  • CustomerResponseShippingContactsAllOf
  • CustomerShippingContacts
  • CustomerShippingContactsAddress
  • CustomerShippingContactsDataResponse
  • CustomerShippingContactsDataResponseAllOf
  • CustomerShippingContactsResponse
  • CustomerShippingContactsResponseAddress
  • CustomerUpdateFiscalEntitiesRequest
  • CustomerUpdateShippingContacts
  • CustomersResponse
  • CustomersResponseAllOf
  • DeletedBlacklistRuleResponse
  • DeletedWhitelistRuleResponse
  • Details
  • DetailsError
  • DiscountLinesDataResponse
  • DiscountLinesResponse
  • DiscountLinesResponseAllOf
  • EmailCheckoutRequest
  • Error
  • ErrorAllOf
  • EventResponse
  • GetChargesResponse
  • GetChargesResponseAllOf
  • GetCompaniesResponse
  • GetCompaniesResponseAllOf
  • GetCustomerPaymentMethodDataResponse
  • GetEventsResponse
  • GetEventsResponseAllOf
  • GetOrderDiscountLinesResponse
  • GetOrderDiscountLinesResponseAllOf
  • GetOrdersResponse
  • GetPaymentMethodResponse
  • GetPaymentMethodResponseAllOf
  • GetPlansResponse
  • GetPlansResponseAllOf
  • GetTransactionsResponse
  • GetTransactionsResponseAllOf
  • GetTransfersResponse
  • GetTransfersResponseAllOf
  • GetWebhookKeysResponse
  • GetWebhookKeysResponseAllOf
  • GetWebhooksResponse
  • GetWebhooksResponseAllOf
  • LogResponse
  • LogsResponse
  • LogsResponseData
  • OrderCaptureRequest
  • OrderDiscountLinesRequest
  • OrderRefundRequest
  • OrderRequest
  • OrderRequestCustomerInfo
  • OrderResponse
  • OrderResponseCharges
  • OrderResponseChargesAllOf
  • OrderResponseCheckout
  • OrderResponseCustomerInfo
  • OrderResponseCustomerInfoAllOf
  • OrderResponseDiscountLines
  • OrderResponseDiscountLinesAllOf
  • OrderResponseFiscalEntity
  • OrderResponseFiscalEntityAddress
  • OrderResponseFiscalEntityAddressAllOf
  • OrderResponseProducts
  • OrderResponseProductsAllOf
  • OrderResponseShippingContact
  • OrderResponseShippingContactAllOf
  • OrderTaxRequest
  • OrderUpdateRequest
  • OrderUpdateRequestCustomerInfo
  • OrdersResponse
  • Page
  • Pagination
  • PaymentMethod
  • PaymentMethodBankTransfer
  • PaymentMethodCard
  • PaymentMethodCardRequest
  • PaymentMethodCardRequestAllOf
  • PaymentMethodCardResponse
  • PaymentMethodCardResponseAllOf
  • PaymentMethodCash
  • PaymentMethodCashRequest
  • PaymentMethodCashRequestAllOf
  • PaymentMethodCashResponse
  • PaymentMethodCashResponseAllOf
  • PaymentMethodResponse
  • PaymentMethodSpeiRecurrent
  • PaymentMethodSpeiRecurrentAllOf
  • PaymentMethodSpeiRequest
  • PlanRequest
  • PlanResponse
  • PlanUpdateRequest
  • Product
  • ProductDataResponse
  • ProductDataResponseAllOf
  • ProductOrderResponse
  • ProductOrderResponseAllOf
  • RiskRules
  • RiskRulesData
  • RiskRulesList
  • ShippingOrderResponse
  • ShippingRequest
  • SmsCheckoutRequest
  • SubscriptionEventsResponse
  • SubscriptionRequest
  • SubscriptionResponse
  • SubscriptionUpdateRequest
  • Token
  • TokenCard
  • TokenCheckout
  • TokenResponse
  • TokenResponseCheckout
  • TransactionResponse
  • TransferDestinationResponse
  • TransferMethodResponse
  • TransferResponse
  • TransfersResponse
  • UpdateCustomer
  • UpdateCustomerAntifraudInfo
  • UpdateCustomerFiscalEntitiesResponse
  • UpdateCustomerFiscalEntitiesResponseAllOf
  • UpdateCustomerPaymentMethodsResponse
  • UpdateOrderDiscountLinesRequest
  • UpdateOrderTaxRequest
  • UpdateOrderTaxResponse
  • UpdateOrderTaxResponseAllOf
  • UpdatePaymentMethods
  • UpdateProduct
  • WebhookKeyCreateResponse
  • WebhookKeyDeleteResponse
  • WebhookKeyRequest
  • WebhookKeyResponse
  • WebhookKeyUpdateRequest
  • WebhookLog
  • WebhookRequest
  • WebhookResponse
  • WebhookUpdateRequest
  • WhitelistlistRuleResponse

Documentation For Authorization #

Authentication schemes defined for the API:

bearerAuth #

  • Type: HTTP basic authentication

Author #

[email protected]

4
likes
0
points
178
downloads

Publisher

verified publisherconekta.com

Weekly Downloads

Conekta dart Library

Repository

License

unknown (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on conekta