solifyn 1.0.0
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +344 -0
- data/Rakefile +10 -0
- data/docs/AddCollectionProductsDto.md +18 -0
- data/docs/Addon.md +26 -0
- data/docs/AddonCreate.md +26 -0
- data/docs/AddonUpdate.md +24 -0
- data/docs/AffiliateApi.md +845 -0
- data/docs/ApiKeyResponseDto.md +34 -0
- data/docs/AppPortalUrlResponseDto.md +18 -0
- data/docs/BalanceApi.md +184 -0
- data/docs/BillingApi.md +68 -0
- data/docs/Brand.md +40 -0
- data/docs/BrandCreate.md +28 -0
- data/docs/BrandUpdate.md +28 -0
- data/docs/BrandsApi.md +286 -0
- data/docs/Business.md +56 -0
- data/docs/BusinessCreate.md +18 -0
- data/docs/BusinessFullCreate.md +26 -0
- data/docs/BusinessFullCreateResponse.md +20 -0
- data/docs/BusinessesApi.md +350 -0
- data/docs/ChatApi.md +246 -0
- data/docs/CheckoutApi.md +405 -0
- data/docs/CheckoutLinkMessageResponseDto.md +18 -0
- data/docs/CheckoutLinkResponseDto.md +50 -0
- data/docs/CheckoutLinksApi.md +356 -0
- data/docs/CheckoutResponseDto.md +22 -0
- data/docs/CheckoutSessionDetailsDto.md +38 -0
- data/docs/CollectionArchivedResponseDto.md +18 -0
- data/docs/CollectionDetailResponseDto.md +36 -0
- data/docs/CollectionProductDeletedResponseDto.md +18 -0
- data/docs/CollectionProductDto.md +84 -0
- data/docs/CollectionProductEntry.md +20 -0
- data/docs/CollectionProductRefDto.md +20 -0
- data/docs/CollectionProductUpdatedResponseDto.md +18 -0
- data/docs/CollectionResponseDto.md +36 -0
- data/docs/CollectionUnarchivedResponseDto.md +18 -0
- data/docs/CollectionUpdatedResponseDto.md +18 -0
- data/docs/CollectionsApi.md +711 -0
- data/docs/CommunityApi.md +497 -0
- data/docs/CreateApiKeyDto.md +20 -0
- data/docs/CreateCheckoutDto.md +36 -0
- data/docs/CreateCheckoutLinkDto.md +44 -0
- data/docs/CreateCollectionCheckoutDto.md +26 -0
- data/docs/CreateCollectionDto.md +26 -0
- data/docs/CreateCustomerDto.md +26 -0
- data/docs/CreateMeterDto.md +32 -0
- data/docs/CreateSetupCheckoutDto.md +26 -0
- data/docs/CreateWebhookEndpointDto.md +22 -0
- data/docs/CustomerListResponseDto.md +20 -0
- data/docs/CustomerMessageResponseDto.md +18 -0
- data/docs/CustomerResponseDto.md +38 -0
- data/docs/CustomerSharedInviteResponseDto.md +22 -0
- data/docs/CustomersApi.md +356 -0
- data/docs/DashboardStatsDto.md +24 -0
- data/docs/DefaultApi.md +930 -0
- data/docs/DeveloperApi.md +628 -0
- data/docs/DigitalFileApi.md +187 -0
- data/docs/Discount.md +42 -0
- data/docs/DiscountCreate.md +36 -0
- data/docs/DiscountUpdate.md +34 -0
- data/docs/DiscountsApi.md +441 -0
- data/docs/DiscountsList200Response.md +24 -0
- data/docs/DiscountsList200ResponsePagination.md +22 -0
- data/docs/Dispute.md +58 -0
- data/docs/DisputeAttachmentDto.md +18 -0
- data/docs/DisputeEvidenceDto.md +24 -0
- data/docs/DisputeEvidenceUpdate.md +24 -0
- data/docs/DisputeFileUpload.md +24 -0
- data/docs/DisputeList.md +20 -0
- data/docs/DisputeListMetaDto.md +24 -0
- data/docs/DisputesApi.md +442 -0
- data/docs/Instance.md +30 -0
- data/docs/Invoice.md +26 -0
- data/docs/License.md +48 -0
- data/docs/LicenseApi.md +716 -0
- data/docs/LicenseKeysApi.md +716 -0
- data/docs/LicenseKeysClientApi.md +289 -0
- data/docs/LicenseSubDto.md +30 -0
- data/docs/LicenseValidationResponse.md +22 -0
- data/docs/LicensesActivateRequest.md +22 -0
- data/docs/LicensesCreateRequest.md +26 -0
- data/docs/LicensesDeactivate200Response.md +18 -0
- data/docs/LicensesDeactivateRequest.md +18 -0
- data/docs/LicensesUpdateInstancePostRequest.md +20 -0
- data/docs/LicensesUpdateRequest.md +22 -0
- data/docs/LicensesVerifyRequest.md +20 -0
- data/docs/MeterDetailResponseDto.md +44 -0
- data/docs/MeterEventsResponseDto.md +22 -0
- data/docs/MeterIngestEventDto.md +28 -0
- data/docs/MeterIngestRequestDto.md +18 -0
- data/docs/MeterIngestResponseDto.md +22 -0
- data/docs/MeterQuantitiesCostDto.md +26 -0
- data/docs/MeterQuantitiesResponseDto.md +24 -0
- data/docs/MeterResponseDto.md +40 -0
- data/docs/MeterUsageEventDto.md +30 -0
- data/docs/MetersApi.md +515 -0
- data/docs/OperationalWebhookEndpointHeadersInDto.md +18 -0
- data/docs/OperationalWebhookEndpointHeadersResponseDto.md +20 -0
- data/docs/OperationalWebhookEndpointInDto.md +32 -0
- data/docs/OperationalWebhookEndpointListResponseDto.md +24 -0
- data/docs/OperationalWebhookEndpointResponseDto.md +38 -0
- data/docs/OperationalWebhookEndpointSecretInDto.md +18 -0
- data/docs/OperationalWebhookEndpointSecretResponseDto.md +18 -0
- data/docs/OperationalWebhookEndpointUpdateDto.md +30 -0
- data/docs/Order.md +68 -0
- data/docs/OrderBilling.md +26 -0
- data/docs/OrderBillingUpdate.md +26 -0
- data/docs/OrderCustomer.md +24 -0
- data/docs/OrderDetail.md +22 -0
- data/docs/OrderList.md +20 -0
- data/docs/OrderProductCart.md +26 -0
- data/docs/OrderRefund.md +32 -0
- data/docs/OrderRefundCreate.md +26 -0
- data/docs/OrderUpdate.md +18 -0
- data/docs/OrdersApi.md +369 -0
- data/docs/PartnerApi.md +125 -0
- data/docs/PayoutAccessToken.md +20 -0
- data/docs/PayoutAccount.md +22 -0
- data/docs/PayoutAccountLink.md +20 -0
- data/docs/PayoutMethod.md +24 -0
- data/docs/PayoutMethodList.md +18 -0
- data/docs/PayoutVerification.md +24 -0
- data/docs/PayoutVerificationList.md +18 -0
- data/docs/PayoutsApi.md +579 -0
- data/docs/PricePreviewResponseDto.md +24 -0
- data/docs/Product.md +82 -0
- data/docs/ProductAddOnsApi.md +433 -0
- data/docs/ProductCreate.md +62 -0
- data/docs/ProductCreateAddonsInner.md +26 -0
- data/docs/ProductCreateCustomFieldsInner.md +24 -0
- data/docs/ProductMessageResponseDto.md +18 -0
- data/docs/ProductSubDto.md +22 -0
- data/docs/ProductUpdate.md +62 -0
- data/docs/ProductsApi.md +445 -0
- data/docs/ProductsArchive200Response.md +18 -0
- data/docs/ProductsList200Response.md +20 -0
- data/docs/ProductsList200ResponsePagination.md +20 -0
- data/docs/ProductsUnarchive200Response.md +18 -0
- data/docs/Refund.md +42 -0
- data/docs/RefundRequestsApi.md +311 -0
- data/docs/RefundsChargebacksApi.md +215 -0
- data/docs/ResolvedAddon.md +24 -0
- data/docs/RevokeSeatDto.md +20 -0
- data/docs/Subscription.md +68 -0
- data/docs/SubscriptionAction.md +30 -0
- data/docs/SubscriptionCompanyDto.md +20 -0
- data/docs/SubscriptionDetail.md +24 -0
- data/docs/SubscriptionDetailProduct.md +28 -0
- data/docs/SubscriptionList.md +20 -0
- data/docs/SubscriptionMemberDto.md +18 -0
- data/docs/SubscriptionPlanDto.md +20 -0
- data/docs/SubscriptionProductDto.md +22 -0
- data/docs/SubscriptionSeatAdjustment.md +34 -0
- data/docs/SubscriptionUserDto.md +24 -0
- data/docs/SubscriptionsAction201Response.md +49 -0
- data/docs/SubscriptionsApi.md +223 -0
- data/docs/SupportedCurrenciesResponseDto.md +20 -0
- data/docs/TicketApi.md +318 -0
- data/docs/UpdateCheckoutLinkDto.md +44 -0
- data/docs/UpdateCollectionDto.md +22 -0
- data/docs/UpdateCollectionProductDto.md +18 -0
- data/docs/UpdateCustomerDto.md +24 -0
- data/docs/UpdateInstanceDto.md +20 -0
- data/docs/UpdateMeterDto.md +32 -0
- data/docs/UpdateWebhookEndpointDto.md +24 -0
- data/docs/UserPage.md +26 -0
- data/docs/UserProfileThemesApi.md +345 -0
- data/docs/UserSettings.md +34 -0
- data/docs/UserSettingsUpdate.md +76 -0
- data/docs/UserStats.md +20 -0
- data/docs/UserTheme.md +26 -0
- data/docs/UserThemeUpdate.md +22 -0
- data/docs/WebhookApi.md +128 -0
- data/docs/WebhookDeliveryResponseDto.md +34 -0
- data/docs/WebhookDisputePayload.md +42 -0
- data/docs/WebhookEndpointApi.md +574 -0
- data/docs/WebhookEndpointResponseDto.md +34 -0
- data/docs/WebhookLicensePayload.md +48 -0
- data/docs/WebhookPaymentPayload.md +116 -0
- data/docs/WebhookPaymentPayloadBillingAddress.md +30 -0
- data/docs/WebhookRefundPayload.md +38 -0
- data/docs/WebhookSubscriptionPayload.md +44 -0
- data/docs/WhopApiKeysRotation.md +18 -0
- data/docs/Withdrawal.md +46 -0
- data/docs/WithdrawalCreate.md +22 -0
- data/docs/WithdrawalList.md +20 -0
- data/git_push.sh +57 -0
- data/lib/solifyn/api/affiliate_api.rb +760 -0
- data/lib/solifyn/api/balance_api.rb +175 -0
- data/lib/solifyn/api/billing_api.rb +77 -0
- data/lib/solifyn/api/brands_api.rb +284 -0
- data/lib/solifyn/api/businesses_api.rb +338 -0
- data/lib/solifyn/api/chat_api.rb +232 -0
- data/lib/solifyn/api/checkout_api.rb +427 -0
- data/lib/solifyn/api/checkout_links_api.rb +347 -0
- data/lib/solifyn/api/collections_api.rb +690 -0
- data/lib/solifyn/api/community_api.rb +466 -0
- data/lib/solifyn/api/customers_api.rb +347 -0
- data/lib/solifyn/api/default_api.rb +828 -0
- data/lib/solifyn/api/developer_api.rb +631 -0
- data/lib/solifyn/api/digital_file_api.rb +181 -0
- data/lib/solifyn/api/discounts_api.rb +437 -0
- data/lib/solifyn/api/disputes_api.rb +424 -0
- data/lib/solifyn/api/license_api.rb +702 -0
- data/lib/solifyn/api/license_keys_api.rb +702 -0
- data/lib/solifyn/api/license_keys_client_api.rb +295 -0
- data/lib/solifyn/api/meters_api.rb +508 -0
- data/lib/solifyn/api/orders_api.rb +372 -0
- data/lib/solifyn/api/partner_api.rb +124 -0
- data/lib/solifyn/api/payouts_api.rb +520 -0
- data/lib/solifyn/api/product_add_ons_api.rb +432 -0
- data/lib/solifyn/api/products_api.rb +438 -0
- data/lib/solifyn/api/refund_requests_api.rb +305 -0
- data/lib/solifyn/api/refunds_chargebacks_api.rb +214 -0
- data/lib/solifyn/api/subscriptions_api.rb +230 -0
- data/lib/solifyn/api/ticket_api.rb +328 -0
- data/lib/solifyn/api/user_profile_themes_api.rb +313 -0
- data/lib/solifyn/api/webhook_api.rb +131 -0
- data/lib/solifyn/api/webhook_endpoint_api.rb +597 -0
- data/lib/solifyn/api_client.rb +394 -0
- data/lib/solifyn/api_error.rb +58 -0
- data/lib/solifyn/configuration.rb +313 -0
- data/lib/solifyn/models/add_collection_products_dto.rb +224 -0
- data/lib/solifyn/models/addon.rb +290 -0
- data/lib/solifyn/models/addon_create.rb +276 -0
- data/lib/solifyn/models/addon_update.rb +245 -0
- data/lib/solifyn/models/api_key_response_dto.rb +336 -0
- data/lib/solifyn/models/app_portal_url_response_dto.rb +221 -0
- data/lib/solifyn/models/brand.rb +367 -0
- data/lib/solifyn/models/brand_create.rb +310 -0
- data/lib/solifyn/models/brand_update.rb +303 -0
- data/lib/solifyn/models/business.rb +482 -0
- data/lib/solifyn/models/business_create.rb +241 -0
- data/lib/solifyn/models/business_full_create.rb +288 -0
- data/lib/solifyn/models/business_full_create_response.rb +239 -0
- data/lib/solifyn/models/checkout_link_message_response_dto.rb +222 -0
- data/lib/solifyn/models/checkout_link_response_dto.rb +410 -0
- data/lib/solifyn/models/checkout_response_dto.rb +256 -0
- data/lib/solifyn/models/checkout_session_details_dto.rb +350 -0
- data/lib/solifyn/models/collection_archived_response_dto.rb +222 -0
- data/lib/solifyn/models/collection_detail_response_dto.rb +390 -0
- data/lib/solifyn/models/collection_product_deleted_response_dto.rb +222 -0
- data/lib/solifyn/models/collection_product_dto.rb +826 -0
- data/lib/solifyn/models/collection_product_entry.rb +258 -0
- data/lib/solifyn/models/collection_product_ref_dto.rb +239 -0
- data/lib/solifyn/models/collection_product_updated_response_dto.rb +222 -0
- data/lib/solifyn/models/collection_response_dto.rb +390 -0
- data/lib/solifyn/models/collection_unarchived_response_dto.rb +222 -0
- data/lib/solifyn/models/collection_updated_response_dto.rb +222 -0
- data/lib/solifyn/models/create_api_key_dto.rb +234 -0
- data/lib/solifyn/models/create_checkout_dto.rb +314 -0
- data/lib/solifyn/models/create_checkout_link_dto.rb +582 -0
- data/lib/solifyn/models/create_collection_checkout_dto.rb +264 -0
- data/lib/solifyn/models/create_collection_dto.rb +305 -0
- data/lib/solifyn/models/create_customer_dto.rb +345 -0
- data/lib/solifyn/models/create_meter_dto.rb +344 -0
- data/lib/solifyn/models/create_setup_checkout_dto.rb +264 -0
- data/lib/solifyn/models/create_webhook_endpoint_dto.rb +251 -0
- data/lib/solifyn/models/customer_list_response_dto.rb +241 -0
- data/lib/solifyn/models/customer_message_response_dto.rb +222 -0
- data/lib/solifyn/models/customer_response_dto.rb +350 -0
- data/lib/solifyn/models/customer_shared_invite_response_dto.rb +249 -0
- data/lib/solifyn/models/dashboard_stats_dto.rb +273 -0
- data/lib/solifyn/models/discount.rb +466 -0
- data/lib/solifyn/models/discount_create.rb +362 -0
- data/lib/solifyn/models/discount_update.rb +331 -0
- data/lib/solifyn/models/discounts_list200_response.rb +273 -0
- data/lib/solifyn/models/discounts_list200_response_pagination.rb +256 -0
- data/lib/solifyn/models/dispute.rb +492 -0
- data/lib/solifyn/models/dispute_attachment_dto.rb +222 -0
- data/lib/solifyn/models/dispute_evidence_dto.rb +245 -0
- data/lib/solifyn/models/dispute_evidence_update.rb +245 -0
- data/lib/solifyn/models/dispute_file_upload.rb +259 -0
- data/lib/solifyn/models/dispute_list.rb +241 -0
- data/lib/solifyn/models/dispute_list_meta_dto.rb +273 -0
- data/lib/solifyn/models/instance.rb +325 -0
- data/lib/solifyn/models/invoice.rb +291 -0
- data/lib/solifyn/models/license.rb +512 -0
- data/lib/solifyn/models/license_sub_dto.rb +310 -0
- data/lib/solifyn/models/license_validation_response.rb +253 -0
- data/lib/solifyn/models/licenses_activate_request.rb +256 -0
- data/lib/solifyn/models/licenses_create_request.rb +269 -0
- data/lib/solifyn/models/licenses_deactivate200_response.rb +214 -0
- data/lib/solifyn/models/licenses_deactivate_request.rb +222 -0
- data/lib/solifyn/models/licenses_update_instance_post_request.rb +225 -0
- data/lib/solifyn/models/licenses_update_request.rb +266 -0
- data/lib/solifyn/models/licenses_verify_request.rb +239 -0
- data/lib/solifyn/models/meter_detail_response_dto.rb +454 -0
- data/lib/solifyn/models/meter_events_response_dto.rb +259 -0
- data/lib/solifyn/models/meter_ingest_event_dto.rb +290 -0
- data/lib/solifyn/models/meter_ingest_request_dto.rb +224 -0
- data/lib/solifyn/models/meter_ingest_response_dto.rb +258 -0
- data/lib/solifyn/models/meter_quantities_cost_dto.rb +290 -0
- data/lib/solifyn/models/meter_quantities_response_dto.rb +276 -0
- data/lib/solifyn/models/meter_response_dto.rb +418 -0
- data/lib/solifyn/models/meter_usage_event_dto.rb +319 -0
- data/lib/solifyn/models/operational_webhook_endpoint_headers_in_dto.rb +222 -0
- data/lib/solifyn/models/operational_webhook_endpoint_headers_response_dto.rb +241 -0
- data/lib/solifyn/models/operational_webhook_endpoint_in_dto.rb +315 -0
- data/lib/solifyn/models/operational_webhook_endpoint_list_response_dto.rb +257 -0
- data/lib/solifyn/models/operational_webhook_endpoint_response_dto.rb +363 -0
- data/lib/solifyn/models/operational_webhook_endpoint_secret_in_dto.rb +215 -0
- data/lib/solifyn/models/operational_webhook_endpoint_secret_response_dto.rb +221 -0
- data/lib/solifyn/models/operational_webhook_endpoint_update_dto.rb +303 -0
- data/lib/solifyn/models/order.rb +582 -0
- data/lib/solifyn/models/order_billing.rb +255 -0
- data/lib/solifyn/models/order_billing_update.rb +250 -0
- data/lib/solifyn/models/order_customer.rb +266 -0
- data/lib/solifyn/models/order_detail.rb +237 -0
- data/lib/solifyn/models/order_list.rb +241 -0
- data/lib/solifyn/models/order_product_cart.rb +283 -0
- data/lib/solifyn/models/order_refund.rb +334 -0
- data/lib/solifyn/models/order_refund_create.rb +278 -0
- data/lib/solifyn/models/order_update.rb +214 -0
- data/lib/solifyn/models/payout_access_token.rb +239 -0
- data/lib/solifyn/models/payout_account.rb +249 -0
- data/lib/solifyn/models/payout_account_link.rb +239 -0
- data/lib/solifyn/models/payout_method.rb +266 -0
- data/lib/solifyn/models/payout_method_list.rb +224 -0
- data/lib/solifyn/models/payout_verification.rb +266 -0
- data/lib/solifyn/models/payout_verification_list.rb +224 -0
- data/lib/solifyn/models/price_preview_response_dto.rb +273 -0
- data/lib/solifyn/models/product.rb +810 -0
- data/lib/solifyn/models/product_create.rb +527 -0
- data/lib/solifyn/models/product_create_addons_inner.rb +250 -0
- data/lib/solifyn/models/product_create_custom_fields_inner.rb +241 -0
- data/lib/solifyn/models/product_message_response_dto.rb +222 -0
- data/lib/solifyn/models/product_sub_dto.rb +253 -0
- data/lib/solifyn/models/product_update.rb +501 -0
- data/lib/solifyn/models/products_archive200_response.rb +214 -0
- data/lib/solifyn/models/products_list200_response.rb +239 -0
- data/lib/solifyn/models/products_list200_response_pagination.rb +239 -0
- data/lib/solifyn/models/products_unarchive200_response.rb +214 -0
- data/lib/solifyn/models/refund.rb +425 -0
- data/lib/solifyn/models/resolved_addon.rb +273 -0
- data/lib/solifyn/models/revoke_seat_dto.rb +239 -0
- data/lib/solifyn/models/subscription.rb +627 -0
- data/lib/solifyn/models/subscription_action.rb +392 -0
- data/lib/solifyn/models/subscription_company_dto.rb +239 -0
- data/lib/solifyn/models/subscription_detail.rb +278 -0
- data/lib/solifyn/models/subscription_detail_product.rb +300 -0
- data/lib/solifyn/models/subscription_list.rb +241 -0
- data/lib/solifyn/models/subscription_member_dto.rb +222 -0
- data/lib/solifyn/models/subscription_plan_dto.rb +232 -0
- data/lib/solifyn/models/subscription_product_dto.rb +249 -0
- data/lib/solifyn/models/subscription_seat_adjustment.rb +359 -0
- data/lib/solifyn/models/subscription_user_dto.rb +273 -0
- data/lib/solifyn/models/subscriptions_action201_response.rb +105 -0
- data/lib/solifyn/models/supported_currencies_response_dto.rb +239 -0
- data/lib/solifyn/models/update_checkout_link_dto.rb +575 -0
- data/lib/solifyn/models/update_collection_dto.rb +235 -0
- data/lib/solifyn/models/update_collection_product_dto.rb +241 -0
- data/lib/solifyn/models/update_customer_dto.rb +302 -0
- data/lib/solifyn/models/update_instance_dto.rb +225 -0
- data/lib/solifyn/models/update_meter_dto.rb +321 -0
- data/lib/solifyn/models/update_webhook_endpoint_dto.rb +281 -0
- data/lib/solifyn/models/user_page.rb +290 -0
- data/lib/solifyn/models/user_settings.rb +337 -0
- data/lib/solifyn/models/user_settings_update.rb +505 -0
- data/lib/solifyn/models/user_stats.rb +241 -0
- data/lib/solifyn/models/user_theme.rb +276 -0
- data/lib/solifyn/models/user_theme_update.rb +235 -0
- data/lib/solifyn/models/webhook_delivery_response_dto.rb +328 -0
- data/lib/solifyn/models/webhook_dispute_payload.rb +324 -0
- data/lib/solifyn/models/webhook_endpoint_response_dto.rb +339 -0
- data/lib/solifyn/models/webhook_license_payload.rb +512 -0
- data/lib/solifyn/models/webhook_payment_payload.rb +659 -0
- data/lib/solifyn/models/webhook_payment_payload_billing_address.rb +268 -0
- data/lib/solifyn/models/webhook_refund_payload.rb +306 -0
- data/lib/solifyn/models/webhook_subscription_payload.rb +333 -0
- data/lib/solifyn/models/whop_api_keys_rotation.rb +222 -0
- data/lib/solifyn/models/withdrawal.rb +411 -0
- data/lib/solifyn/models/withdrawal_create.rb +249 -0
- data/lib/solifyn/models/withdrawal_list.rb +241 -0
- data/lib/solifyn/version.rb +15 -0
- data/lib/solifyn.rb +191 -0
- data/solifyn.gemspec +39 -0
- data/spec/api/affiliate_api_spec.rb +165 -0
- data/spec/api/balance_api_spec.rb +62 -0
- data/spec/api/billing_api_spec.rb +46 -0
- data/spec/api/brands_api_spec.rb +83 -0
- data/spec/api/businesses_api_spec.rb +93 -0
- data/spec/api/chat_api_spec.rb +72 -0
- data/spec/api/checkout_api_spec.rb +99 -0
- data/spec/api/checkout_links_api_spec.rb +95 -0
- data/spec/api/collections_api_spec.rb +158 -0
- data/spec/api/community_api_spec.rb +113 -0
- data/spec/api/customers_api_spec.rb +95 -0
- data/spec/api/default_api_spec.rb +191 -0
- data/spec/api/developer_api_spec.rb +120 -0
- data/spec/api/digital_file_api_spec.rb +63 -0
- data/spec/api/discounts_api_spec.rb +113 -0
- data/spec/api/disputes_api_spec.rb +113 -0
- data/spec/api/license_api_spec.rb +160 -0
- data/spec/api/license_keys_api_spec.rb +160 -0
- data/spec/api/license_keys_client_api_spec.rb +84 -0
- data/spec/api/meters_api_spec.rb +125 -0
- data/spec/api/orders_api_spec.rb +103 -0
- data/spec/api/partner_api_spec.rb +53 -0
- data/spec/api/payouts_api_spec.rb +133 -0
- data/spec/api/product_add_ons_api_spec.rb +111 -0
- data/spec/api/products_api_spec.rb +115 -0
- data/spec/api/refund_requests_api_spec.rb +88 -0
- data/spec/api/refunds_chargebacks_api_spec.rb +71 -0
- data/spec/api/subscriptions_api_spec.rb +73 -0
- data/spec/api/ticket_api_spec.rb +86 -0
- data/spec/api/user_profile_themes_api_spec.rb +91 -0
- data/spec/api/webhook_api_spec.rb +54 -0
- data/spec/api/webhook_endpoint_api_spec.rb +136 -0
- data/spec/models/add_collection_products_dto_spec.rb +36 -0
- data/spec/models/addon_create_spec.rb +60 -0
- data/spec/models/addon_spec.rb +60 -0
- data/spec/models/addon_update_spec.rb +54 -0
- data/spec/models/api_key_response_dto_spec.rb +84 -0
- data/spec/models/app_portal_url_response_dto_spec.rb +36 -0
- data/spec/models/brand_create_spec.rb +66 -0
- data/spec/models/brand_spec.rb +102 -0
- data/spec/models/brand_update_spec.rb +66 -0
- data/spec/models/business_create_spec.rb +36 -0
- data/spec/models/business_full_create_response_spec.rb +42 -0
- data/spec/models/business_full_create_spec.rb +60 -0
- data/spec/models/business_spec.rb +150 -0
- data/spec/models/checkout_link_message_response_dto_spec.rb +36 -0
- data/spec/models/checkout_link_response_dto_spec.rb +132 -0
- data/spec/models/checkout_response_dto_spec.rb +48 -0
- data/spec/models/checkout_session_details_dto_spec.rb +96 -0
- data/spec/models/collection_archived_response_dto_spec.rb +36 -0
- data/spec/models/collection_detail_response_dto_spec.rb +94 -0
- data/spec/models/collection_product_deleted_response_dto_spec.rb +36 -0
- data/spec/models/collection_product_dto_spec.rb +236 -0
- data/spec/models/collection_product_entry_spec.rb +42 -0
- data/spec/models/collection_product_ref_dto_spec.rb +42 -0
- data/spec/models/collection_product_updated_response_dto_spec.rb +36 -0
- data/spec/models/collection_response_dto_spec.rb +94 -0
- data/spec/models/collection_unarchived_response_dto_spec.rb +36 -0
- data/spec/models/collection_updated_response_dto_spec.rb +36 -0
- data/spec/models/create_api_key_dto_spec.rb +42 -0
- data/spec/models/create_checkout_dto_spec.rb +90 -0
- data/spec/models/create_checkout_link_dto_spec.rb +114 -0
- data/spec/models/create_collection_checkout_dto_spec.rb +60 -0
- data/spec/models/create_collection_dto_spec.rb +64 -0
- data/spec/models/create_customer_dto_spec.rb +60 -0
- data/spec/models/create_meter_dto_spec.rb +82 -0
- data/spec/models/create_setup_checkout_dto_spec.rb +60 -0
- data/spec/models/create_webhook_endpoint_dto_spec.rb +48 -0
- data/spec/models/customer_list_response_dto_spec.rb +42 -0
- data/spec/models/customer_message_response_dto_spec.rb +36 -0
- data/spec/models/customer_response_dto_spec.rb +96 -0
- data/spec/models/customer_shared_invite_response_dto_spec.rb +48 -0
- data/spec/models/dashboard_stats_dto_spec.rb +54 -0
- data/spec/models/discount_create_spec.rb +94 -0
- data/spec/models/discount_spec.rb +116 -0
- data/spec/models/discount_update_spec.rb +88 -0
- data/spec/models/discounts_list200_response_pagination_spec.rb +48 -0
- data/spec/models/discounts_list200_response_spec.rb +54 -0
- data/spec/models/dispute_attachment_dto_spec.rb +36 -0
- data/spec/models/dispute_evidence_dto_spec.rb +54 -0
- data/spec/models/dispute_evidence_update_spec.rb +54 -0
- data/spec/models/dispute_file_upload_spec.rb +54 -0
- data/spec/models/dispute_list_meta_dto_spec.rb +54 -0
- data/spec/models/dispute_list_spec.rb +42 -0
- data/spec/models/dispute_spec.rb +156 -0
- data/spec/models/instance_spec.rb +72 -0
- data/spec/models/invoice_spec.rb +60 -0
- data/spec/models/license_spec.rb +130 -0
- data/spec/models/license_sub_dto_spec.rb +72 -0
- data/spec/models/license_validation_response_spec.rb +48 -0
- data/spec/models/licenses_activate_request_spec.rb +48 -0
- data/spec/models/licenses_create_request_spec.rb +60 -0
- data/spec/models/licenses_deactivate200_response_spec.rb +36 -0
- data/spec/models/licenses_deactivate_request_spec.rb +36 -0
- data/spec/models/licenses_update_instance_post_request_spec.rb +42 -0
- data/spec/models/licenses_update_request_spec.rb +52 -0
- data/spec/models/licenses_verify_request_spec.rb +42 -0
- data/spec/models/meter_detail_response_dto_spec.rb +118 -0
- data/spec/models/meter_events_response_dto_spec.rb +48 -0
- data/spec/models/meter_ingest_event_dto_spec.rb +66 -0
- data/spec/models/meter_ingest_request_dto_spec.rb +36 -0
- data/spec/models/meter_ingest_response_dto_spec.rb +48 -0
- data/spec/models/meter_quantities_cost_dto_spec.rb +60 -0
- data/spec/models/meter_quantities_response_dto_spec.rb +54 -0
- data/spec/models/meter_response_dto_spec.rb +106 -0
- data/spec/models/meter_usage_event_dto_spec.rb +72 -0
- data/spec/models/operational_webhook_endpoint_headers_in_dto_spec.rb +36 -0
- data/spec/models/operational_webhook_endpoint_headers_response_dto_spec.rb +42 -0
- data/spec/models/operational_webhook_endpoint_in_dto_spec.rb +78 -0
- data/spec/models/operational_webhook_endpoint_list_response_dto_spec.rb +54 -0
- data/spec/models/operational_webhook_endpoint_response_dto_spec.rb +96 -0
- data/spec/models/operational_webhook_endpoint_secret_in_dto_spec.rb +36 -0
- data/spec/models/operational_webhook_endpoint_secret_response_dto_spec.rb +36 -0
- data/spec/models/operational_webhook_endpoint_update_dto_spec.rb +72 -0
- data/spec/models/order_billing_spec.rb +60 -0
- data/spec/models/order_billing_update_spec.rb +60 -0
- data/spec/models/order_customer_spec.rb +54 -0
- data/spec/models/order_detail_spec.rb +48 -0
- data/spec/models/order_list_spec.rb +42 -0
- data/spec/models/order_product_cart_spec.rb +60 -0
- data/spec/models/order_refund_create_spec.rb +60 -0
- data/spec/models/order_refund_spec.rb +78 -0
- data/spec/models/order_spec.rb +180 -0
- data/spec/models/order_update_spec.rb +36 -0
- data/spec/models/payout_access_token_spec.rb +42 -0
- data/spec/models/payout_account_link_spec.rb +42 -0
- data/spec/models/payout_account_spec.rb +48 -0
- data/spec/models/payout_method_list_spec.rb +36 -0
- data/spec/models/payout_method_spec.rb +54 -0
- data/spec/models/payout_verification_list_spec.rb +36 -0
- data/spec/models/payout_verification_spec.rb +54 -0
- data/spec/models/price_preview_response_dto_spec.rb +54 -0
- data/spec/models/product_create_addons_inner_spec.rb +60 -0
- data/spec/models/product_create_custom_fields_inner_spec.rb +54 -0
- data/spec/models/product_create_spec.rb +170 -0
- data/spec/models/product_message_response_dto_spec.rb +36 -0
- data/spec/models/product_spec.rb +230 -0
- data/spec/models/product_sub_dto_spec.rb +48 -0
- data/spec/models/product_update_spec.rb +170 -0
- data/spec/models/products_archive200_response_spec.rb +36 -0
- data/spec/models/products_list200_response_pagination_spec.rb +42 -0
- data/spec/models/products_list200_response_spec.rb +42 -0
- data/spec/models/products_unarchive200_response_spec.rb +36 -0
- data/spec/models/refund_spec.rb +112 -0
- data/spec/models/resolved_addon_spec.rb +54 -0
- data/spec/models/revoke_seat_dto_spec.rb +42 -0
- data/spec/models/subscription_action_spec.rb +80 -0
- data/spec/models/subscription_company_dto_spec.rb +42 -0
- data/spec/models/subscription_detail_product_spec.rb +66 -0
- data/spec/models/subscription_detail_spec.rb +54 -0
- data/spec/models/subscription_list_spec.rb +42 -0
- data/spec/models/subscription_member_dto_spec.rb +36 -0
- data/spec/models/subscription_plan_dto_spec.rb +42 -0
- data/spec/models/subscription_product_dto_spec.rb +48 -0
- data/spec/models/subscription_seat_adjustment_spec.rb +84 -0
- data/spec/models/subscription_spec.rb +186 -0
- data/spec/models/subscription_user_dto_spec.rb +54 -0
- data/spec/models/subscriptions_action201_response_spec.rb +32 -0
- data/spec/models/supported_currencies_response_dto_spec.rb +42 -0
- data/spec/models/update_checkout_link_dto_spec.rb +114 -0
- data/spec/models/update_collection_dto_spec.rb +48 -0
- data/spec/models/update_collection_product_dto_spec.rb +36 -0
- data/spec/models/update_customer_dto_spec.rb +54 -0
- data/spec/models/update_instance_dto_spec.rb +42 -0
- data/spec/models/update_meter_dto_spec.rb +82 -0
- data/spec/models/update_webhook_endpoint_dto_spec.rb +58 -0
- data/spec/models/user_page_spec.rb +60 -0
- data/spec/models/user_settings_spec.rb +84 -0
- data/spec/models/user_settings_update_spec.rb +210 -0
- data/spec/models/user_stats_spec.rb +42 -0
- data/spec/models/user_theme_spec.rb +60 -0
- data/spec/models/user_theme_update_spec.rb +48 -0
- data/spec/models/webhook_delivery_response_dto_spec.rb +84 -0
- data/spec/models/webhook_dispute_payload_spec.rb +108 -0
- data/spec/models/webhook_endpoint_response_dto_spec.rb +84 -0
- data/spec/models/webhook_license_payload_spec.rb +130 -0
- data/spec/models/webhook_payment_payload_billing_address_spec.rb +72 -0
- data/spec/models/webhook_payment_payload_spec.rb +330 -0
- data/spec/models/webhook_refund_payload_spec.rb +96 -0
- data/spec/models/webhook_subscription_payload_spec.rb +114 -0
- data/spec/models/whop_api_keys_rotation_spec.rb +36 -0
- data/spec/models/withdrawal_create_spec.rb +48 -0
- data/spec/models/withdrawal_list_spec.rb +42 -0
- data/spec/models/withdrawal_spec.rb +120 -0
- data/spec/spec_helper.rb +111 -0
- metadata +831 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Solifyn::WebhookDisputePayload
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Internal dispute ID. | [optional] |
|
|
8
|
+
| **payment_id** | **String** | | [optional] |
|
|
9
|
+
| **amount** | **String** | Dollar value, 2 d.p. | [optional] |
|
|
10
|
+
| **currency** | **String** | | [optional] |
|
|
11
|
+
| **status** | **String** | | [optional] |
|
|
12
|
+
| **reason** | **String** | | [optional] |
|
|
13
|
+
| **editable** | **Boolean** | | [optional] |
|
|
14
|
+
| **needs_response_by** | **Time** | | [optional] |
|
|
15
|
+
| **customer_name** | **String** | | [optional] |
|
|
16
|
+
| **customer_email** | **String** | | [optional] |
|
|
17
|
+
| **notes** | **String** | | [optional] |
|
|
18
|
+
| **created_at** | **Time** | | [optional] |
|
|
19
|
+
| **updated_at** | **Time** | | [optional] |
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'solifyn'
|
|
25
|
+
|
|
26
|
+
instance = Solifyn::WebhookDisputePayload.new(
|
|
27
|
+
id: dsp_abc123,
|
|
28
|
+
payment_id: pay_019e60cb...,
|
|
29
|
+
amount: 100.00,
|
|
30
|
+
currency: USD,
|
|
31
|
+
status: needs_response,
|
|
32
|
+
reason: fraudulent,
|
|
33
|
+
editable: null,
|
|
34
|
+
needs_response_by: null,
|
|
35
|
+
customer_name: null,
|
|
36
|
+
customer_email: null,
|
|
37
|
+
notes: null,
|
|
38
|
+
created_at: null,
|
|
39
|
+
updated_at: null
|
|
40
|
+
)
|
|
41
|
+
```
|
|
42
|
+
|
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
# Solifyn::WebhookEndpointApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8000*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**operational_webhook_controller_create**](WebhookEndpointApi.md#operational_webhook_controller_create) | **POST** /v1/operational-webhook/endpoint | Create Operational Webhook Endpoint |
|
|
8
|
+
| [**operational_webhook_controller_delete**](WebhookEndpointApi.md#operational_webhook_controller_delete) | **DELETE** /v1/operational-webhook/endpoint/{id} | Delete Operational Webhook Endpoint |
|
|
9
|
+
| [**operational_webhook_controller_get**](WebhookEndpointApi.md#operational_webhook_controller_get) | **GET** /v1/operational-webhook/endpoint/{id} | Get Operational Webhook Endpoint |
|
|
10
|
+
| [**operational_webhook_controller_get_headers**](WebhookEndpointApi.md#operational_webhook_controller_get_headers) | **GET** /v1/operational-webhook/endpoint/{id}/headers | Get Operational Webhook Endpoint Headers |
|
|
11
|
+
| [**operational_webhook_controller_get_secret**](WebhookEndpointApi.md#operational_webhook_controller_get_secret) | **GET** /v1/operational-webhook/endpoint/{id}/secret | Get Operational Webhook Endpoint Secret |
|
|
12
|
+
| [**operational_webhook_controller_list**](WebhookEndpointApi.md#operational_webhook_controller_list) | **GET** /v1/operational-webhook/endpoint | List Operational Webhook Endpoints |
|
|
13
|
+
| [**operational_webhook_controller_rotate_secret**](WebhookEndpointApi.md#operational_webhook_controller_rotate_secret) | **POST** /v1/operational-webhook/endpoint/{id}/secret/rotate | Rotate Operational Webhook Endpoint Secret |
|
|
14
|
+
| [**operational_webhook_controller_update**](WebhookEndpointApi.md#operational_webhook_controller_update) | **PUT** /v1/operational-webhook/endpoint/{id} | Update Operational Webhook Endpoint |
|
|
15
|
+
| [**operational_webhook_controller_update_headers**](WebhookEndpointApi.md#operational_webhook_controller_update_headers) | **PUT** /v1/operational-webhook/endpoint/{id}/headers | Set Operational Webhook Endpoint Headers |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## operational_webhook_controller_create
|
|
19
|
+
|
|
20
|
+
> <OperationalWebhookEndpointResponseDto> operational_webhook_controller_create(operational_webhook_endpoint_in_dto)
|
|
21
|
+
|
|
22
|
+
Create Operational Webhook Endpoint
|
|
23
|
+
|
|
24
|
+
### Examples
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
require 'time'
|
|
28
|
+
require 'solifyn'
|
|
29
|
+
|
|
30
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
31
|
+
operational_webhook_endpoint_in_dto = Solifyn::OperationalWebhookEndpointInDto.new({url: 'https://example.com/webhook/'}) # OperationalWebhookEndpointInDto |
|
|
32
|
+
|
|
33
|
+
begin
|
|
34
|
+
# Create Operational Webhook Endpoint
|
|
35
|
+
result = api_instance.operational_webhook_controller_create(operational_webhook_endpoint_in_dto)
|
|
36
|
+
p result
|
|
37
|
+
rescue Solifyn::ApiError => e
|
|
38
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_create: #{e}"
|
|
39
|
+
end
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### Using the operational_webhook_controller_create_with_http_info variant
|
|
43
|
+
|
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
|
45
|
+
|
|
46
|
+
> <Array(<OperationalWebhookEndpointResponseDto>, Integer, Hash)> operational_webhook_controller_create_with_http_info(operational_webhook_endpoint_in_dto)
|
|
47
|
+
|
|
48
|
+
```ruby
|
|
49
|
+
begin
|
|
50
|
+
# Create Operational Webhook Endpoint
|
|
51
|
+
data, status_code, headers = api_instance.operational_webhook_controller_create_with_http_info(operational_webhook_endpoint_in_dto)
|
|
52
|
+
p status_code # => 2xx
|
|
53
|
+
p headers # => { ... }
|
|
54
|
+
p data # => <OperationalWebhookEndpointResponseDto>
|
|
55
|
+
rescue Solifyn::ApiError => e
|
|
56
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_create_with_http_info: #{e}"
|
|
57
|
+
end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Parameters
|
|
61
|
+
|
|
62
|
+
| Name | Type | Description | Notes |
|
|
63
|
+
| ---- | ---- | ----------- | ----- |
|
|
64
|
+
| **operational_webhook_endpoint_in_dto** | [**OperationalWebhookEndpointInDto**](OperationalWebhookEndpointInDto.md) | | |
|
|
65
|
+
|
|
66
|
+
### Return type
|
|
67
|
+
|
|
68
|
+
[**OperationalWebhookEndpointResponseDto**](OperationalWebhookEndpointResponseDto.md)
|
|
69
|
+
|
|
70
|
+
### Authorization
|
|
71
|
+
|
|
72
|
+
No authorization required
|
|
73
|
+
|
|
74
|
+
### HTTP request headers
|
|
75
|
+
|
|
76
|
+
- **Content-Type**: application/json
|
|
77
|
+
- **Accept**: application/json
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## operational_webhook_controller_delete
|
|
81
|
+
|
|
82
|
+
> operational_webhook_controller_delete(id)
|
|
83
|
+
|
|
84
|
+
Delete Operational Webhook Endpoint
|
|
85
|
+
|
|
86
|
+
### Examples
|
|
87
|
+
|
|
88
|
+
```ruby
|
|
89
|
+
require 'time'
|
|
90
|
+
require 'solifyn'
|
|
91
|
+
|
|
92
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
93
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
94
|
+
|
|
95
|
+
begin
|
|
96
|
+
# Delete Operational Webhook Endpoint
|
|
97
|
+
api_instance.operational_webhook_controller_delete(id)
|
|
98
|
+
rescue Solifyn::ApiError => e
|
|
99
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_delete: #{e}"
|
|
100
|
+
end
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
#### Using the operational_webhook_controller_delete_with_http_info variant
|
|
104
|
+
|
|
105
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
106
|
+
|
|
107
|
+
> <Array(nil, Integer, Hash)> operational_webhook_controller_delete_with_http_info(id)
|
|
108
|
+
|
|
109
|
+
```ruby
|
|
110
|
+
begin
|
|
111
|
+
# Delete Operational Webhook Endpoint
|
|
112
|
+
data, status_code, headers = api_instance.operational_webhook_controller_delete_with_http_info(id)
|
|
113
|
+
p status_code # => 2xx
|
|
114
|
+
p headers # => { ... }
|
|
115
|
+
p data # => nil
|
|
116
|
+
rescue Solifyn::ApiError => e
|
|
117
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_delete_with_http_info: #{e}"
|
|
118
|
+
end
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Parameters
|
|
122
|
+
|
|
123
|
+
| Name | Type | Description | Notes |
|
|
124
|
+
| ---- | ---- | ----------- | ----- |
|
|
125
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
126
|
+
|
|
127
|
+
### Return type
|
|
128
|
+
|
|
129
|
+
nil (empty response body)
|
|
130
|
+
|
|
131
|
+
### Authorization
|
|
132
|
+
|
|
133
|
+
No authorization required
|
|
134
|
+
|
|
135
|
+
### HTTP request headers
|
|
136
|
+
|
|
137
|
+
- **Content-Type**: Not defined
|
|
138
|
+
- **Accept**: Not defined
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
## operational_webhook_controller_get
|
|
142
|
+
|
|
143
|
+
> <OperationalWebhookEndpointResponseDto> operational_webhook_controller_get(id)
|
|
144
|
+
|
|
145
|
+
Get Operational Webhook Endpoint
|
|
146
|
+
|
|
147
|
+
### Examples
|
|
148
|
+
|
|
149
|
+
```ruby
|
|
150
|
+
require 'time'
|
|
151
|
+
require 'solifyn'
|
|
152
|
+
|
|
153
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
154
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
155
|
+
|
|
156
|
+
begin
|
|
157
|
+
# Get Operational Webhook Endpoint
|
|
158
|
+
result = api_instance.operational_webhook_controller_get(id)
|
|
159
|
+
p result
|
|
160
|
+
rescue Solifyn::ApiError => e
|
|
161
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get: #{e}"
|
|
162
|
+
end
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
#### Using the operational_webhook_controller_get_with_http_info variant
|
|
166
|
+
|
|
167
|
+
This returns an Array which contains the response data, status code and headers.
|
|
168
|
+
|
|
169
|
+
> <Array(<OperationalWebhookEndpointResponseDto>, Integer, Hash)> operational_webhook_controller_get_with_http_info(id)
|
|
170
|
+
|
|
171
|
+
```ruby
|
|
172
|
+
begin
|
|
173
|
+
# Get Operational Webhook Endpoint
|
|
174
|
+
data, status_code, headers = api_instance.operational_webhook_controller_get_with_http_info(id)
|
|
175
|
+
p status_code # => 2xx
|
|
176
|
+
p headers # => { ... }
|
|
177
|
+
p data # => <OperationalWebhookEndpointResponseDto>
|
|
178
|
+
rescue Solifyn::ApiError => e
|
|
179
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get_with_http_info: #{e}"
|
|
180
|
+
end
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Parameters
|
|
184
|
+
|
|
185
|
+
| Name | Type | Description | Notes |
|
|
186
|
+
| ---- | ---- | ----------- | ----- |
|
|
187
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
188
|
+
|
|
189
|
+
### Return type
|
|
190
|
+
|
|
191
|
+
[**OperationalWebhookEndpointResponseDto**](OperationalWebhookEndpointResponseDto.md)
|
|
192
|
+
|
|
193
|
+
### Authorization
|
|
194
|
+
|
|
195
|
+
No authorization required
|
|
196
|
+
|
|
197
|
+
### HTTP request headers
|
|
198
|
+
|
|
199
|
+
- **Content-Type**: Not defined
|
|
200
|
+
- **Accept**: application/json
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
## operational_webhook_controller_get_headers
|
|
204
|
+
|
|
205
|
+
> <OperationalWebhookEndpointHeadersResponseDto> operational_webhook_controller_get_headers(id)
|
|
206
|
+
|
|
207
|
+
Get Operational Webhook Endpoint Headers
|
|
208
|
+
|
|
209
|
+
### Examples
|
|
210
|
+
|
|
211
|
+
```ruby
|
|
212
|
+
require 'time'
|
|
213
|
+
require 'solifyn'
|
|
214
|
+
|
|
215
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
216
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
217
|
+
|
|
218
|
+
begin
|
|
219
|
+
# Get Operational Webhook Endpoint Headers
|
|
220
|
+
result = api_instance.operational_webhook_controller_get_headers(id)
|
|
221
|
+
p result
|
|
222
|
+
rescue Solifyn::ApiError => e
|
|
223
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get_headers: #{e}"
|
|
224
|
+
end
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
#### Using the operational_webhook_controller_get_headers_with_http_info variant
|
|
228
|
+
|
|
229
|
+
This returns an Array which contains the response data, status code and headers.
|
|
230
|
+
|
|
231
|
+
> <Array(<OperationalWebhookEndpointHeadersResponseDto>, Integer, Hash)> operational_webhook_controller_get_headers_with_http_info(id)
|
|
232
|
+
|
|
233
|
+
```ruby
|
|
234
|
+
begin
|
|
235
|
+
# Get Operational Webhook Endpoint Headers
|
|
236
|
+
data, status_code, headers = api_instance.operational_webhook_controller_get_headers_with_http_info(id)
|
|
237
|
+
p status_code # => 2xx
|
|
238
|
+
p headers # => { ... }
|
|
239
|
+
p data # => <OperationalWebhookEndpointHeadersResponseDto>
|
|
240
|
+
rescue Solifyn::ApiError => e
|
|
241
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get_headers_with_http_info: #{e}"
|
|
242
|
+
end
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Parameters
|
|
246
|
+
|
|
247
|
+
| Name | Type | Description | Notes |
|
|
248
|
+
| ---- | ---- | ----------- | ----- |
|
|
249
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
250
|
+
|
|
251
|
+
### Return type
|
|
252
|
+
|
|
253
|
+
[**OperationalWebhookEndpointHeadersResponseDto**](OperationalWebhookEndpointHeadersResponseDto.md)
|
|
254
|
+
|
|
255
|
+
### Authorization
|
|
256
|
+
|
|
257
|
+
No authorization required
|
|
258
|
+
|
|
259
|
+
### HTTP request headers
|
|
260
|
+
|
|
261
|
+
- **Content-Type**: Not defined
|
|
262
|
+
- **Accept**: application/json
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
## operational_webhook_controller_get_secret
|
|
266
|
+
|
|
267
|
+
> <OperationalWebhookEndpointSecretResponseDto> operational_webhook_controller_get_secret(id)
|
|
268
|
+
|
|
269
|
+
Get Operational Webhook Endpoint Secret
|
|
270
|
+
|
|
271
|
+
### Examples
|
|
272
|
+
|
|
273
|
+
```ruby
|
|
274
|
+
require 'time'
|
|
275
|
+
require 'solifyn'
|
|
276
|
+
|
|
277
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
278
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
279
|
+
|
|
280
|
+
begin
|
|
281
|
+
# Get Operational Webhook Endpoint Secret
|
|
282
|
+
result = api_instance.operational_webhook_controller_get_secret(id)
|
|
283
|
+
p result
|
|
284
|
+
rescue Solifyn::ApiError => e
|
|
285
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get_secret: #{e}"
|
|
286
|
+
end
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
#### Using the operational_webhook_controller_get_secret_with_http_info variant
|
|
290
|
+
|
|
291
|
+
This returns an Array which contains the response data, status code and headers.
|
|
292
|
+
|
|
293
|
+
> <Array(<OperationalWebhookEndpointSecretResponseDto>, Integer, Hash)> operational_webhook_controller_get_secret_with_http_info(id)
|
|
294
|
+
|
|
295
|
+
```ruby
|
|
296
|
+
begin
|
|
297
|
+
# Get Operational Webhook Endpoint Secret
|
|
298
|
+
data, status_code, headers = api_instance.operational_webhook_controller_get_secret_with_http_info(id)
|
|
299
|
+
p status_code # => 2xx
|
|
300
|
+
p headers # => { ... }
|
|
301
|
+
p data # => <OperationalWebhookEndpointSecretResponseDto>
|
|
302
|
+
rescue Solifyn::ApiError => e
|
|
303
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_get_secret_with_http_info: #{e}"
|
|
304
|
+
end
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Parameters
|
|
308
|
+
|
|
309
|
+
| Name | Type | Description | Notes |
|
|
310
|
+
| ---- | ---- | ----------- | ----- |
|
|
311
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
312
|
+
|
|
313
|
+
### Return type
|
|
314
|
+
|
|
315
|
+
[**OperationalWebhookEndpointSecretResponseDto**](OperationalWebhookEndpointSecretResponseDto.md)
|
|
316
|
+
|
|
317
|
+
### Authorization
|
|
318
|
+
|
|
319
|
+
No authorization required
|
|
320
|
+
|
|
321
|
+
### HTTP request headers
|
|
322
|
+
|
|
323
|
+
- **Content-Type**: Not defined
|
|
324
|
+
- **Accept**: application/json
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## operational_webhook_controller_list
|
|
328
|
+
|
|
329
|
+
> <OperationalWebhookEndpointListResponseDto> operational_webhook_controller_list
|
|
330
|
+
|
|
331
|
+
List Operational Webhook Endpoints
|
|
332
|
+
|
|
333
|
+
### Examples
|
|
334
|
+
|
|
335
|
+
```ruby
|
|
336
|
+
require 'time'
|
|
337
|
+
require 'solifyn'
|
|
338
|
+
|
|
339
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
340
|
+
|
|
341
|
+
begin
|
|
342
|
+
# List Operational Webhook Endpoints
|
|
343
|
+
result = api_instance.operational_webhook_controller_list
|
|
344
|
+
p result
|
|
345
|
+
rescue Solifyn::ApiError => e
|
|
346
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_list: #{e}"
|
|
347
|
+
end
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
#### Using the operational_webhook_controller_list_with_http_info variant
|
|
351
|
+
|
|
352
|
+
This returns an Array which contains the response data, status code and headers.
|
|
353
|
+
|
|
354
|
+
> <Array(<OperationalWebhookEndpointListResponseDto>, Integer, Hash)> operational_webhook_controller_list_with_http_info
|
|
355
|
+
|
|
356
|
+
```ruby
|
|
357
|
+
begin
|
|
358
|
+
# List Operational Webhook Endpoints
|
|
359
|
+
data, status_code, headers = api_instance.operational_webhook_controller_list_with_http_info
|
|
360
|
+
p status_code # => 2xx
|
|
361
|
+
p headers # => { ... }
|
|
362
|
+
p data # => <OperationalWebhookEndpointListResponseDto>
|
|
363
|
+
rescue Solifyn::ApiError => e
|
|
364
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_list_with_http_info: #{e}"
|
|
365
|
+
end
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Parameters
|
|
369
|
+
|
|
370
|
+
This endpoint does not need any parameter.
|
|
371
|
+
|
|
372
|
+
### Return type
|
|
373
|
+
|
|
374
|
+
[**OperationalWebhookEndpointListResponseDto**](OperationalWebhookEndpointListResponseDto.md)
|
|
375
|
+
|
|
376
|
+
### Authorization
|
|
377
|
+
|
|
378
|
+
No authorization required
|
|
379
|
+
|
|
380
|
+
### HTTP request headers
|
|
381
|
+
|
|
382
|
+
- **Content-Type**: Not defined
|
|
383
|
+
- **Accept**: application/json
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
## operational_webhook_controller_rotate_secret
|
|
387
|
+
|
|
388
|
+
> operational_webhook_controller_rotate_secret(id, operational_webhook_endpoint_secret_in_dto)
|
|
389
|
+
|
|
390
|
+
Rotate Operational Webhook Endpoint Secret
|
|
391
|
+
|
|
392
|
+
### Examples
|
|
393
|
+
|
|
394
|
+
```ruby
|
|
395
|
+
require 'time'
|
|
396
|
+
require 'solifyn'
|
|
397
|
+
|
|
398
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
399
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
400
|
+
operational_webhook_endpoint_secret_in_dto = Solifyn::OperationalWebhookEndpointSecretInDto.new # OperationalWebhookEndpointSecretInDto |
|
|
401
|
+
|
|
402
|
+
begin
|
|
403
|
+
# Rotate Operational Webhook Endpoint Secret
|
|
404
|
+
api_instance.operational_webhook_controller_rotate_secret(id, operational_webhook_endpoint_secret_in_dto)
|
|
405
|
+
rescue Solifyn::ApiError => e
|
|
406
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_rotate_secret: #{e}"
|
|
407
|
+
end
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
#### Using the operational_webhook_controller_rotate_secret_with_http_info variant
|
|
411
|
+
|
|
412
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
413
|
+
|
|
414
|
+
> <Array(nil, Integer, Hash)> operational_webhook_controller_rotate_secret_with_http_info(id, operational_webhook_endpoint_secret_in_dto)
|
|
415
|
+
|
|
416
|
+
```ruby
|
|
417
|
+
begin
|
|
418
|
+
# Rotate Operational Webhook Endpoint Secret
|
|
419
|
+
data, status_code, headers = api_instance.operational_webhook_controller_rotate_secret_with_http_info(id, operational_webhook_endpoint_secret_in_dto)
|
|
420
|
+
p status_code # => 2xx
|
|
421
|
+
p headers # => { ... }
|
|
422
|
+
p data # => nil
|
|
423
|
+
rescue Solifyn::ApiError => e
|
|
424
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_rotate_secret_with_http_info: #{e}"
|
|
425
|
+
end
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
### Parameters
|
|
429
|
+
|
|
430
|
+
| Name | Type | Description | Notes |
|
|
431
|
+
| ---- | ---- | ----------- | ----- |
|
|
432
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
433
|
+
| **operational_webhook_endpoint_secret_in_dto** | [**OperationalWebhookEndpointSecretInDto**](OperationalWebhookEndpointSecretInDto.md) | | |
|
|
434
|
+
|
|
435
|
+
### Return type
|
|
436
|
+
|
|
437
|
+
nil (empty response body)
|
|
438
|
+
|
|
439
|
+
### Authorization
|
|
440
|
+
|
|
441
|
+
No authorization required
|
|
442
|
+
|
|
443
|
+
### HTTP request headers
|
|
444
|
+
|
|
445
|
+
- **Content-Type**: application/json
|
|
446
|
+
- **Accept**: Not defined
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
## operational_webhook_controller_update
|
|
450
|
+
|
|
451
|
+
> <OperationalWebhookEndpointResponseDto> operational_webhook_controller_update(id, operational_webhook_endpoint_update_dto)
|
|
452
|
+
|
|
453
|
+
Update Operational Webhook Endpoint
|
|
454
|
+
|
|
455
|
+
### Examples
|
|
456
|
+
|
|
457
|
+
```ruby
|
|
458
|
+
require 'time'
|
|
459
|
+
require 'solifyn'
|
|
460
|
+
|
|
461
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
462
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
463
|
+
operational_webhook_endpoint_update_dto = Solifyn::OperationalWebhookEndpointUpdateDto.new({url: 'https://example.com/new-webhook/'}) # OperationalWebhookEndpointUpdateDto |
|
|
464
|
+
|
|
465
|
+
begin
|
|
466
|
+
# Update Operational Webhook Endpoint
|
|
467
|
+
result = api_instance.operational_webhook_controller_update(id, operational_webhook_endpoint_update_dto)
|
|
468
|
+
p result
|
|
469
|
+
rescue Solifyn::ApiError => e
|
|
470
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_update: #{e}"
|
|
471
|
+
end
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
#### Using the operational_webhook_controller_update_with_http_info variant
|
|
475
|
+
|
|
476
|
+
This returns an Array which contains the response data, status code and headers.
|
|
477
|
+
|
|
478
|
+
> <Array(<OperationalWebhookEndpointResponseDto>, Integer, Hash)> operational_webhook_controller_update_with_http_info(id, operational_webhook_endpoint_update_dto)
|
|
479
|
+
|
|
480
|
+
```ruby
|
|
481
|
+
begin
|
|
482
|
+
# Update Operational Webhook Endpoint
|
|
483
|
+
data, status_code, headers = api_instance.operational_webhook_controller_update_with_http_info(id, operational_webhook_endpoint_update_dto)
|
|
484
|
+
p status_code # => 2xx
|
|
485
|
+
p headers # => { ... }
|
|
486
|
+
p data # => <OperationalWebhookEndpointResponseDto>
|
|
487
|
+
rescue Solifyn::ApiError => e
|
|
488
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_update_with_http_info: #{e}"
|
|
489
|
+
end
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### Parameters
|
|
493
|
+
|
|
494
|
+
| Name | Type | Description | Notes |
|
|
495
|
+
| ---- | ---- | ----------- | ----- |
|
|
496
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
497
|
+
| **operational_webhook_endpoint_update_dto** | [**OperationalWebhookEndpointUpdateDto**](OperationalWebhookEndpointUpdateDto.md) | | |
|
|
498
|
+
|
|
499
|
+
### Return type
|
|
500
|
+
|
|
501
|
+
[**OperationalWebhookEndpointResponseDto**](OperationalWebhookEndpointResponseDto.md)
|
|
502
|
+
|
|
503
|
+
### Authorization
|
|
504
|
+
|
|
505
|
+
No authorization required
|
|
506
|
+
|
|
507
|
+
### HTTP request headers
|
|
508
|
+
|
|
509
|
+
- **Content-Type**: application/json
|
|
510
|
+
- **Accept**: application/json
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
## operational_webhook_controller_update_headers
|
|
514
|
+
|
|
515
|
+
> operational_webhook_controller_update_headers(id, operational_webhook_endpoint_headers_in_dto)
|
|
516
|
+
|
|
517
|
+
Set Operational Webhook Endpoint Headers
|
|
518
|
+
|
|
519
|
+
### Examples
|
|
520
|
+
|
|
521
|
+
```ruby
|
|
522
|
+
require 'time'
|
|
523
|
+
require 'solifyn'
|
|
524
|
+
|
|
525
|
+
api_instance = Solifyn::WebhookEndpointApi.new
|
|
526
|
+
id = 'id_example' # String | The endpoint ID or UID
|
|
527
|
+
operational_webhook_endpoint_headers_in_dto = Solifyn::OperationalWebhookEndpointHeadersInDto.new({headers: {X-Example=123, X-Foobar=Bar}}) # OperationalWebhookEndpointHeadersInDto |
|
|
528
|
+
|
|
529
|
+
begin
|
|
530
|
+
# Set Operational Webhook Endpoint Headers
|
|
531
|
+
api_instance.operational_webhook_controller_update_headers(id, operational_webhook_endpoint_headers_in_dto)
|
|
532
|
+
rescue Solifyn::ApiError => e
|
|
533
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_update_headers: #{e}"
|
|
534
|
+
end
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
#### Using the operational_webhook_controller_update_headers_with_http_info variant
|
|
538
|
+
|
|
539
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
540
|
+
|
|
541
|
+
> <Array(nil, Integer, Hash)> operational_webhook_controller_update_headers_with_http_info(id, operational_webhook_endpoint_headers_in_dto)
|
|
542
|
+
|
|
543
|
+
```ruby
|
|
544
|
+
begin
|
|
545
|
+
# Set Operational Webhook Endpoint Headers
|
|
546
|
+
data, status_code, headers = api_instance.operational_webhook_controller_update_headers_with_http_info(id, operational_webhook_endpoint_headers_in_dto)
|
|
547
|
+
p status_code # => 2xx
|
|
548
|
+
p headers # => { ... }
|
|
549
|
+
p data # => nil
|
|
550
|
+
rescue Solifyn::ApiError => e
|
|
551
|
+
puts "Error when calling WebhookEndpointApi->operational_webhook_controller_update_headers_with_http_info: #{e}"
|
|
552
|
+
end
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
### Parameters
|
|
556
|
+
|
|
557
|
+
| Name | Type | Description | Notes |
|
|
558
|
+
| ---- | ---- | ----------- | ----- |
|
|
559
|
+
| **id** | **String** | The endpoint ID or UID | |
|
|
560
|
+
| **operational_webhook_endpoint_headers_in_dto** | [**OperationalWebhookEndpointHeadersInDto**](OperationalWebhookEndpointHeadersInDto.md) | | |
|
|
561
|
+
|
|
562
|
+
### Return type
|
|
563
|
+
|
|
564
|
+
nil (empty response body)
|
|
565
|
+
|
|
566
|
+
### Authorization
|
|
567
|
+
|
|
568
|
+
No authorization required
|
|
569
|
+
|
|
570
|
+
### HTTP request headers
|
|
571
|
+
|
|
572
|
+
- **Content-Type**: application/json
|
|
573
|
+
- **Accept**: Not defined
|
|
574
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Solifyn::WebhookEndpointResponseDto
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **url** | **String** | | |
|
|
9
|
+
| **description** | **String** | | |
|
|
10
|
+
| **events** | **Array<String>** | | |
|
|
11
|
+
| **status** | **String** | | |
|
|
12
|
+
| **masked_secret** | **String** | Masked signing secret for verification. | |
|
|
13
|
+
| **secret** | **String** | Raw signing secret (only returned once during creation). | [optional] |
|
|
14
|
+
| **created_at** | **Time** | | |
|
|
15
|
+
| **updated_at** | **Time** | | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'solifyn'
|
|
21
|
+
|
|
22
|
+
instance = Solifyn::WebhookEndpointResponseDto.new(
|
|
23
|
+
id: ep_12345,
|
|
24
|
+
url: https://api.example.com/webhooks,
|
|
25
|
+
description: Primary payment listener,
|
|
26
|
+
events: [payment.created, payment.succeeded],
|
|
27
|
+
status: ACTIVE,
|
|
28
|
+
masked_secret: whsec_Ab...xyz,
|
|
29
|
+
secret: whsec_AbCDeFGhiJKlMnOpQrStUvWxYz123456,
|
|
30
|
+
created_at: 2026-05-30T14:11:29.071Z,
|
|
31
|
+
updated_at: 2026-05-30T14:11:29.071Z
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Solifyn::WebhookLicensePayload
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The unique prefix-based identifier of the license key. | |
|
|
8
|
+
| **key** | **String** | The cryptographically generated license key string delivered to the customer. | |
|
|
9
|
+
| **status** | **String** | Lifecycle status of the license. ACTIVE = active. DISABLED = suspended. REVOKED = hard-revoked. | |
|
|
10
|
+
| **business_id** | **String** | The unique identifier associated with the business this license belongs to. | |
|
|
11
|
+
| **product_id** | **String** | The unique ID of the product this license key is associated with. | |
|
|
12
|
+
| **payment_id** | **String** | The unique payment identifier that triggered the issuance of this license key. | |
|
|
13
|
+
| **customer_id** | **String** | The unique customer identifier (ID) who received this license key. | |
|
|
14
|
+
| **activation_limit** | **Float** | Maximum number of simultaneous active device instances allowed for this license. Null means unlimited. | |
|
|
15
|
+
| **activation_message** | **String** | Optional message displayed to the customer upon successful activation. | |
|
|
16
|
+
| **instances_count** | **Float** | Running count of how many times this license key has been activated. | |
|
|
17
|
+
| **expiry_hours** | **Float** | Relative expiry duration in hours from the time of issuance. | |
|
|
18
|
+
| **expires_at** | **String** | Absolute expiration timestamp. The license becomes invalid after this point. | |
|
|
19
|
+
| **filters** | **Object** | Optional custom metadata filters associated with the license. | |
|
|
20
|
+
| **archived** | **Boolean** | Indicates if the license key is archived. | |
|
|
21
|
+
| **created_at** | **String** | Timestamp indicating exactly when the license key was issued. | |
|
|
22
|
+
| **updated_at** | **String** | Timestamp indicating when the license key was last modified. | |
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
require 'solifyn'
|
|
28
|
+
|
|
29
|
+
instance = Solifyn::WebhookLicensePayload.new(
|
|
30
|
+
id: lic_hyQQhhNzfEuvv,
|
|
31
|
+
key: A184-99C2-8CBE,
|
|
32
|
+
status: ACTIVE,
|
|
33
|
+
business_id: biz_345TUESrCDPvrb,
|
|
34
|
+
product_id: prod_hyQQhhNzfEuvv,
|
|
35
|
+
payment_id: pay_3r2FgHXp9,
|
|
36
|
+
customer_id: cust_3r2FgHXp9,
|
|
37
|
+
activation_limit: 3,
|
|
38
|
+
activation_message: Thank you! Your license is now active.,
|
|
39
|
+
instances_count: 1,
|
|
40
|
+
expiry_hours: 720,
|
|
41
|
+
expires_at: 2027-01-01T00:00:00.000Z,
|
|
42
|
+
filters: null,
|
|
43
|
+
archived: false,
|
|
44
|
+
created_at: 2026-05-11T01:12:25.764Z,
|
|
45
|
+
updated_at: 2026-05-18T09:45:37.166Z
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|