Module: Conekta

Defined in:
lib/conekta/version.rb,
lib/conekta.rb,
lib/conekta/api_error.rb,
lib/conekta/api_client.rb,
lib/conekta/models/page.rb,
lib/conekta/api/logs_api.rb,
lib/conekta/models/error.rb,
lib/conekta/models/token.rb,
lib/conekta/api/plans_api.rb,
lib/conekta/api/taxes_api.rb,
lib/conekta/configuration.rb,
lib/conekta/models/payout.rb,
lib/conekta/api/events_api.rb,
lib/conekta/api/orders_api.rb,
lib/conekta/api/tokens_api.rb,
lib/conekta/models/details.rb,
lib/conekta/models/product.rb,
lib/conekta/api/charges_api.rb,
lib/conekta/models/checkout.rb,
lib/conekta/models/customer.rb,
lib/conekta/api/api_keys_api.rb,
lib/conekta/api/balances_api.rb,
lib/conekta/api/products_api.rb,
lib/conekta/api/webhooks_api.rb,
lib/conekta/api/antifraud_api.rb,
lib/conekta/api/companies_api.rb,
lib/conekta/api/customers_api.rb,
lib/conekta/api/discounts_api.rb,
lib/conekta/api/shippings_api.rb,
lib/conekta/api/transfers_api.rb,
lib/conekta/models/pagination.rb,
lib/conekta/models/risk_rules.rb,
lib/conekta/models/token_card.rb,
lib/conekta/models/event_types.rb,
lib/conekta/models/webhook_log.rb,
lib/conekta/models/error_all_of.rb,
lib/conekta/models/log_response.rb,
lib/conekta/models/payout_order.rb,
lib/conekta/models/plan_request.rb,
lib/conekta/api/payment_link_api.rb,
lib/conekta/api/transactions_api.rb,
lib/conekta/api/webhook_keys_api.rb,
lib/conekta/models/customer_info.rb,
lib/conekta/models/details_error.rb,
lib/conekta/models/logs_response.rb,
lib/conekta/models/order_request.rb,
lib/conekta/models/payout_method.rb,
lib/conekta/models/plan_response.rb,
lib/conekta/api/payout_orders_api.rb,
lib/conekta/api/subscriptions_api.rb,
lib/conekta/models/charge_request.rb,
lib/conekta/models/event_response.rb,
lib/conekta/models/order_response.rb,
lib/conekta/models/payment_method.rb,
lib/conekta/models/token_checkout.rb,
lib/conekta/models/token_response.rb,
lib/conekta/models/update_product.rb,
lib/conekta/models/api_key_request.rb,
lib/conekta/models/charge_response.rb,
lib/conekta/models/orders_response.rb,
lib/conekta/models/risk_rules_data.rb,
lib/conekta/models/risk_rules_list.rb,
lib/conekta/models/update_customer.rb,
lib/conekta/models/webhook_request.rb,
lib/conekta/api/payment_methods_api.rb,
lib/conekta/models/api_key_response.rb,
lib/conekta/models/balance_response.rb,
lib/conekta/models/checkout_request.rb,
lib/conekta/models/company_response.rb,
lib/conekta/models/customer_address.rb,
lib/conekta/models/shipping_request.rb,
lib/conekta/models/webhook_response.rb,
lib/conekta/models/checkout_response.rb,
lib/conekta/models/customer_response.rb,
lib/conekta/models/order_tax_request.rb,
lib/conekta/models/transfer_response.rb,
lib/conekta/api/shipping_contacts_api.rb,
lib/conekta/models/checkouts_response.rb,
lib/conekta/models/customers_response.rb,
lib/conekta/models/get_plans_response.rb,
lib/conekta/models/logs_response_data.rb,
lib/conekta/models/transfers_response.rb,
lib/conekta/models/get_events_response.rb,
lib/conekta/models/get_orders_response.rb,
lib/conekta/models/payment_method_card.rb,
lib/conekta/models/payment_method_cash.rb,
lib/conekta/models/plan_update_request.rb,
lib/conekta/models/webhook_key_request.rb,
lib/conekta/models/balance_common_field.rb,
lib/conekta/models/get_charges_response.rb,
lib/conekta/models/order_refund_request.rb,
lib/conekta/models/order_update_request.rb,
lib/conekta/models/sms_checkout_request.rb,
lib/conekta/models/subscription_request.rb,
lib/conekta/models/transaction_response.rb,
lib/conekta/models/webhook_key_response.rb,
lib/conekta/models/charge_order_response.rb,
lib/conekta/models/charge_update_request.rb,
lib/conekta/models/charges_data_response.rb,
lib/conekta/models/fiscal_entity_address.rb,
lib/conekta/models/get_api_keys_response.rb,
lib/conekta/models/get_webhooks_response.rb,
lib/conekta/models/order_capture_request.rb,
lib/conekta/models/payout_order_response.rb,
lib/conekta/models/product_data_response.rb,
lib/conekta/models/subscription_response.rb,
lib/conekta/models/api_key_update_request.rb,
lib/conekta/models/create_risk_rules_data.rb,
lib/conekta/models/email_checkout_request.rb,
lib/conekta/models/events_resend_response.rb,
lib/conekta/models/get_companies_response.rb,
lib/conekta/models/get_transfers_response.rb,
lib/conekta/models/order_response_charges.rb,
lib/conekta/models/payout_orders_response.rb,
lib/conekta/models/product_order_response.rb,
lib/conekta/models/update_payment_methods.rb,
lib/conekta/models/webhook_update_request.rb,
lib/conekta/models/api_key_create_response.rb,
lib/conekta/models/blacklist_rule_response.rb,
lib/conekta/models/charge_response_channel.rb,
lib/conekta/models/charge_response_refunds.rb,
lib/conekta/models/checkout_order_template.rb,
lib/conekta/models/customer_antifraud_info.rb,
lib/conekta/models/discount_lines_response.rb,
lib/conekta/models/order_response_checkout.rb,
lib/conekta/models/order_response_products.rb,
lib/conekta/models/payment_method_response.rb,
lib/conekta/models/shipping_order_response.rb,
lib/conekta/models/token_response_checkout.rb,
lib/conekta/models/customer_payment_methods.rb,
lib/conekta/models/delete_api_keys_response.rb,
lib/conekta/models/transfer_method_response.rb,
lib/conekta/models/update_order_tax_request.rb,
lib/conekta/models/checkouts_response_all_of.rb,
lib/conekta/models/customers_response_all_of.rb,
lib/conekta/models/get_plans_response_all_of.rb,
lib/conekta/models/get_transactions_response.rb,
lib/conekta/models/get_webhook_keys_response.rb,
lib/conekta/models/payout_order_payouts_item.rb,
lib/conekta/models/update_order_tax_response.rb,
lib/conekta/models/api_key_response_on_delete.rb,
lib/conekta/models/customer_shipping_contacts.rb,
lib/conekta/models/get_events_response_all_of.rb,
lib/conekta/models/order_next_action_response.rb,
lib/conekta/models/webhook_key_update_request.rb,
lib/conekta/models/get_charges_response_all_of.rb,
lib/conekta/models/get_payment_method_response.rb,
lib/conekta/models/order_fiscal_entity_request.rb,
lib/conekta/models/order_request_customer_info.rb,
lib/conekta/models/payment_method_card_request.rb,
lib/conekta/models/payment_method_cash_request.rb,
lib/conekta/models/payment_method_spei_request.rb,
lib/conekta/models/subscription_update_request.rb,
lib/conekta/models/webhook_key_create_response.rb,
lib/conekta/models/webhook_key_delete_response.rb,
lib/conekta/models/whitelistlist_rule_response.rb,
lib/conekta/models/charge_response_refunds_data.rb,
lib/conekta/models/company_fiscal_info_response.rb,
lib/conekta/models/discount_lines_data_response.rb,
lib/conekta/models/get_api_keys_response_all_of.rb,
lib/conekta/models/get_webhooks_response_all_of.rb,
lib/conekta/models/order_customer_info_response.rb,
lib/conekta/models/order_discount_lines_request.rb,
lib/conekta/models/order_fiscal_entity_response.rb,
lib/conekta/models/order_response_customer_info.rb,
lib/conekta/models/payment_method_bank_transfer.rb,
lib/conekta/models/payment_method_card_response.rb,
lib/conekta/models/payment_method_cash_response.rb,
lib/conekta/models/payment_method_token_request.rb,
lib/conekta/models/product_data_response_all_of.rb,
lib/conekta/models/subscription_events_response.rb,
lib/conekta/models/charge_request_payment_method.rb,
lib/conekta/models/customer_payment_methods_data.rb,
lib/conekta/models/get_companies_response_all_of.rb,
lib/conekta/models/get_transfers_response_all_of.rb,
lib/conekta/models/order_response_charges_all_of.rb,
lib/conekta/models/order_response_discount_lines.rb,
lib/conekta/models/payment_method_spei_recurrent.rb,
lib/conekta/models/product_order_response_all_of.rb,
lib/conekta/models/transfer_destination_response.rb,
lib/conekta/models/api_key_create_response_all_of.rb,
lib/conekta/models/charge_response_payment_method.rb,
lib/conekta/models/charge_response_refunds_all_of.rb,
lib/conekta/models/customer_info_just_customer_id.rb,
lib/conekta/models/discount_lines_response_all_of.rb,
lib/conekta/models/order_response_products_all_of.rb,
lib/conekta/models/payment_method_general_request.rb,
lib/conekta/models/update_customer_antifraud_info.rb,
lib/conekta/models/customer_payment_method_request.rb,
lib/conekta/models/delete_api_keys_response_all_of.rb,
lib/conekta/models/deleted_blacklist_rule_response.rb,
lib/conekta/models/deleted_whitelist_rule_response.rb,
lib/conekta/models/order_response_shipping_contact.rb,
lib/conekta/models/customer_antifraud_info_response.rb,
lib/conekta/models/customer_fiscal_entities_request.rb,
lib/conekta/models/customer_payment_methods_request.rb,
lib/conekta/models/get_transactions_response_all_of.rb,
lib/conekta/models/get_webhook_keys_response_all_of.rb,
lib/conekta/models/update_order_tax_response_all_of.rb,
lib/conekta/models/customer_fiscal_entities_response.rb,
lib/conekta/models/customer_payment_methods_response.rb,
lib/conekta/models/customer_update_shipping_contacts.rb,
lib/conekta/models/get_order_discount_lines_response.rb,
lib/conekta/models/customer_shipping_contacts_address.rb,
lib/conekta/models/get_payment_method_response_all_of.rb,
lib/conekta/models/order_update_fiscal_entity_request.rb,
lib/conekta/models/order_update_request_customer_info.rb,
lib/conekta/models/payment_method_card_request_all_of.rb,
lib/conekta/models/payment_method_cash_request_all_of.rb,
lib/conekta/models/company_payout_destination_response.rb,
lib/conekta/models/customer_response_shipping_contacts.rb,
lib/conekta/models/customer_shipping_contacts_response.rb,
lib/conekta/models/order_response_customer_info_all_of.rb,
lib/conekta/models/payment_method_card_response_all_of.rb,
lib/conekta/models/payment_method_cash_response_all_of.rb,
lib/conekta/models/payout_order_response_customer_info.rb,
lib/conekta/models/update_order_discount_lines_request.rb,
lib/conekta/models/charge_order_response_payment_method.rb,
lib/conekta/models/company_fiscal_info_address_response.rb,
lib/conekta/models/order_fiscal_entity_address_response.rb,
lib/conekta/models/order_response_discount_lines_all_of.rb,
lib/conekta/models/payment_method_spei_recurrent_all_of.rb,
lib/conekta/models/checkout_order_template_customer_info.rb,
lib/conekta/models/customer_fiscal_entities_data_response.rb,
lib/conekta/models/order_response_shipping_contact_all_of.rb,
lib/conekta/models/create_customer_payment_methods_request.rb,
lib/conekta/models/customer_info_just_customer_id_response.rb,
lib/conekta/models/customer_update_fiscal_entities_request.rb,
lib/conekta/models/charge_data_payment_method_card_response.rb,
lib/conekta/models/charge_data_payment_method_cash_response.rb,
lib/conekta/models/create_customer_fiscal_entities_response.rb,
lib/conekta/models/create_customer_payment_methods_response.rb,
lib/conekta/models/customer_fiscal_entities_request_address.rb,
lib/conekta/models/customer_fiscal_entities_response_all_of.rb,
lib/conekta/models/customer_shipping_contacts_data_response.rb,
lib/conekta/models/get_order_discount_lines_response_all_of.rb,
lib/conekta/models/update_customer_fiscal_entities_response.rb,
lib/conekta/models/update_customer_payment_methods_response.rb,
lib/conekta/models/get_customer_payment_method_data_response.rb,
lib/conekta/models/customer_response_shipping_contacts_all_of.rb,
lib/conekta/models/order_next_action_response_redirect_to_url.rb,
lib/conekta/models/customer_shipping_contacts_response_address.rb,
lib/conekta/models/order_fiscal_entity_address_response_all_of.rb,
lib/conekta/models/create_customer_fiscal_entities_response_all_of.rb,
lib/conekta/models/customer_shipping_contacts_data_response_all_of.rb,
lib/conekta/models/update_customer_fiscal_entities_response_all_of.rb,
lib/conekta/models/charge_data_payment_method_bank_transfer_response.rb

Overview

#Conekta API

#Conekta sdk

The version of the OpenAPI document: 2.1.0 Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.5.0

Defined Under Namespace

Modules: ChargeOrderResponsePaymentMethod, ChargeRequestPaymentMethod, ChargeResponsePaymentMethod, CheckoutOrderTemplateCustomerInfo, CreateCustomerPaymentMethodsRequest, CreateCustomerPaymentMethodsResponse, CustomerPaymentMethodsData, CustomerPaymentMethodsRequest, GetCustomerPaymentMethodDataResponse, OrderRequestCustomerInfo, OrderUpdateRequestCustomerInfo, UpdateCustomerPaymentMethodsResponse Classes: AntifraudApi, ApiClient, ApiError, ApiKeyCreateResponse, ApiKeyCreateResponseAllOf, ApiKeyRequest, ApiKeyResponse, ApiKeyResponseOnDelete, ApiKeyUpdateRequest, ApiKeysApi, BalanceCommonField, BalanceResponse, BalancesApi, BlacklistRuleResponse, ChargeDataPaymentMethodBankTransferResponse, ChargeDataPaymentMethodCardResponse, ChargeDataPaymentMethodCashResponse, ChargeOrderResponse, ChargeRequest, ChargeResponse, ChargeResponseChannel, ChargeResponseRefunds, ChargeResponseRefundsAllOf, ChargeResponseRefundsData, ChargeUpdateRequest, ChargesApi, ChargesDataResponse, Checkout, CheckoutOrderTemplate, CheckoutRequest, CheckoutResponse, CheckoutsResponse, CheckoutsResponseAllOf, CompaniesApi, CompanyFiscalInfoAddressResponse, CompanyFiscalInfoResponse, CompanyPayoutDestinationResponse, CompanyResponse, Configuration, CreateCustomerFiscalEntitiesResponse, CreateCustomerFiscalEntitiesResponseAllOf, CreateRiskRulesData, Customer, CustomerAddress, CustomerAntifraudInfo, CustomerAntifraudInfoResponse, CustomerFiscalEntitiesDataResponse, CustomerFiscalEntitiesRequest, CustomerFiscalEntitiesRequestAddress, CustomerFiscalEntitiesResponse, CustomerFiscalEntitiesResponseAllOf, CustomerInfo, CustomerInfoJustCustomerId, CustomerInfoJustCustomerIdResponse, CustomerPaymentMethodRequest, CustomerPaymentMethods, CustomerPaymentMethodsResponse, CustomerResponse, CustomerResponseShippingContacts, CustomerResponseShippingContactsAllOf, CustomerShippingContacts, CustomerShippingContactsAddress, CustomerShippingContactsDataResponse, CustomerShippingContactsDataResponseAllOf, CustomerShippingContactsResponse, CustomerShippingContactsResponseAddress, CustomerUpdateFiscalEntitiesRequest, CustomerUpdateShippingContacts, CustomersApi, CustomersResponse, CustomersResponseAllOf, DeleteApiKeysResponse, DeleteApiKeysResponseAllOf, DeletedBlacklistRuleResponse, DeletedWhitelistRuleResponse, Details, DetailsError, DiscountLinesDataResponse, DiscountLinesResponse, DiscountLinesResponseAllOf, DiscountsApi, EmailCheckoutRequest, Error, ErrorAllOf, EventResponse, EventTypes, EventsApi, EventsResendResponse, FiscalEntityAddress, GetApiKeysResponse, GetApiKeysResponseAllOf, GetChargesResponse, GetChargesResponseAllOf, GetCompaniesResponse, GetCompaniesResponseAllOf, GetEventsResponse, GetEventsResponseAllOf, GetOrderDiscountLinesResponse, GetOrderDiscountLinesResponseAllOf, GetOrdersResponse, GetPaymentMethodResponse, GetPaymentMethodResponseAllOf, GetPlansResponse, GetPlansResponseAllOf, GetTransactionsResponse, GetTransactionsResponseAllOf, GetTransfersResponse, GetTransfersResponseAllOf, GetWebhookKeysResponse, GetWebhookKeysResponseAllOf, GetWebhooksResponse, GetWebhooksResponseAllOf, LogResponse, LogsApi, LogsResponse, LogsResponseData, OrderCaptureRequest, OrderCustomerInfoResponse, OrderDiscountLinesRequest, OrderFiscalEntityAddressResponse, OrderFiscalEntityAddressResponseAllOf, OrderFiscalEntityRequest, OrderFiscalEntityResponse, OrderNextActionResponse, OrderNextActionResponseRedirectToUrl, OrderRefundRequest, OrderRequest, OrderResponse, OrderResponseCharges, OrderResponseChargesAllOf, OrderResponseCheckout, OrderResponseCustomerInfo, OrderResponseCustomerInfoAllOf, OrderResponseDiscountLines, OrderResponseDiscountLinesAllOf, OrderResponseProducts, OrderResponseProductsAllOf, OrderResponseShippingContact, OrderResponseShippingContactAllOf, OrderTaxRequest, OrderUpdateFiscalEntityRequest, OrderUpdateRequest, OrdersApi, OrdersResponse, Page, Pagination, PaymentLinkApi, PaymentMethod, PaymentMethodBankTransfer, PaymentMethodCard, PaymentMethodCardRequest, PaymentMethodCardRequestAllOf, PaymentMethodCardResponse, PaymentMethodCardResponseAllOf, PaymentMethodCash, PaymentMethodCashRequest, PaymentMethodCashRequestAllOf, PaymentMethodCashResponse, PaymentMethodCashResponseAllOf, PaymentMethodGeneralRequest, PaymentMethodResponse, PaymentMethodSpeiRecurrent, PaymentMethodSpeiRecurrentAllOf, PaymentMethodSpeiRequest, PaymentMethodTokenRequest, PaymentMethodsApi, Payout, PayoutMethod, PayoutOrder, PayoutOrderPayoutsItem, PayoutOrderResponse, PayoutOrderResponseCustomerInfo, PayoutOrdersApi, PayoutOrdersResponse, PlanRequest, PlanResponse, PlanUpdateRequest, PlansApi, Product, ProductDataResponse, ProductDataResponseAllOf, ProductOrderResponse, ProductOrderResponseAllOf, ProductsApi, RiskRules, RiskRulesData, RiskRulesList, ShippingContactsApi, ShippingOrderResponse, ShippingRequest, ShippingsApi, SmsCheckoutRequest, SubscriptionEventsResponse, SubscriptionRequest, SubscriptionResponse, SubscriptionUpdateRequest, SubscriptionsApi, TaxesApi, Token, TokenCard, TokenCheckout, TokenResponse, TokenResponseCheckout, TokensApi, TransactionResponse, TransactionsApi, TransferDestinationResponse, TransferMethodResponse, TransferResponse, TransfersApi, TransfersResponse, UpdateCustomer, UpdateCustomerAntifraudInfo, UpdateCustomerFiscalEntitiesResponse, UpdateCustomerFiscalEntitiesResponseAllOf, UpdateOrderDiscountLinesRequest, UpdateOrderTaxRequest, UpdateOrderTaxResponse, UpdateOrderTaxResponseAllOf, UpdatePaymentMethods, UpdateProduct, WebhookKeyCreateResponse, WebhookKeyDeleteResponse, WebhookKeyRequest, WebhookKeyResponse, WebhookKeyUpdateRequest, WebhookKeysApi, WebhookLog, WebhookRequest, WebhookResponse, WebhookUpdateRequest, WebhooksApi, WhitelistlistRuleResponse

Constant Summary collapse

VERSION =
'6.0.4'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Conekta.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



230
231
232
233
234
235
236
# File 'lib/conekta.rb', line 230

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end