Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UniBee-Billing/unibee-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
Sorry, we had to truncate this directory to 1,000 files. 52 entries were omitted from the list.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for unibee

UniBee Api Server

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: daily,buildtime:202607011249
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import unibee "github.com/UniBee-Billing/unibee-go-client"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value unibee.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), unibee.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value unibee.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), unibee.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using unibee.ContextOperationServerIndices and unibee.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), unibee.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), unibee.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.unibee.top

Class Method HTTP request Description
AdminMember MemberClearMemberTotpPost Post /merchant/member/clear_member_totp Admin Owner Clear Member 2FA Key
AdminMember MemberClearOauthPost Post /merchant/member/clear_oauth Clear Member OAuth Account
AdminMember MemberConfirmTotpKeyPost Post /merchant/member/confirm_totp_key Admin Member Confirm 2FA Key
AdminMember MemberDeleteTotpDevicePost Post /merchant/member/delete_totp_device Admin Owner Or Admin Delete Own's' 2FA Device
AdminMember MemberGetTotpKeyPost Post /merchant/member/get_totp_key Admin Member Get 2FA Key
AdminMember MemberListGet Get /merchant/member/list Get Member List
AdminMember MemberListPost Post /merchant/member/list Get Member List
AdminMember MemberLogoutPost Post /merchant/member/logout Logout
AdminMember MemberNewMemberPost Post /merchant/member/new_member Invite member
AdminMember MemberOperationLogListGet Get /merchant/member/operation_log_list Get Member Operation Log List
AdminMember MemberPasswordResetPost Post /merchant/member/passwordReset Member Reset Password
AdminMember MemberProfileGet Get /merchant/member/profile Get Member Profile
AdminMember MemberResetTotpPost Post /merchant/member/reset_totp Admin Member Reset Member 2FA Key
AdminMember MemberResumeMemberPost Post /merchant/member/resume_member Resume Member
AdminMember MemberSuspendMemberPost Post /merchant/member/suspend_member Suspend Member
AdminMember MemberUpdateMemberRolePost Post /merchant/member/update_member_role Update Member Role
AdminMember MemberUpdateOauthPost Post /merchant/member/update_oauth Update Member OAuth Account
AdminMember MemberUpdatePost Post /merchant/member/update Update Member Profile
AdminRole RoleDeletePost Post /merchant/role/delete Delete Role
AdminRole RoleEditPost Post /merchant/role/edit Edit Role
AdminRole RoleListGet Get /merchant/role/list Get Role List
AdminRole RoleNewPost Post /merchant/role/new New Role
BatchDiscount DiscountBatchChildrenDetailGet Get /merchant/discount/batch/children/detail Get Batch Child Code Detail
BatchDiscount DiscountBatchChildrenDetailPost Post /merchant/discount/batch/children/detail Get Batch Child Code Detail
BatchDiscount DiscountBatchChildrenGeneratePost Post /merchant/discount/batch/children/generate Generate Batch Child Codes
BatchDiscount DiscountBatchChildrenListGet Get /merchant/discount/batch/children/list Get Batch Child Codes List
BatchDiscount DiscountBatchTemplateDetailGet Get /merchant/discount/batch/template/detail Get Batch Template Detail
BatchDiscount DiscountBatchTemplateDetailPost Post /merchant/discount/batch/template/detail Get Batch Template Detail
BatchDiscount DiscountBatchTemplateEditPost Post /merchant/discount/batch/template/edit Edit Batch Discount Template
BatchDiscount DiscountBatchTemplateListGet Get /merchant/discount/batch/template/list Get Batch Template List
BatchDiscount DiscountBatchTemplateNewPost Post /merchant/discount/batch/template/new Create Batch Discount Template
BatchDiscount DiscountBatchTemplateQuantityIncrementPost Post /merchant/discount/batch/template/quantity_increment Increment Template Quantity
CheckoutSetup CheckoutArchivePost Post /merchant/checkout/archive Archive Merchant Checkout
CheckoutSetup CheckoutDetailGet Get /merchant/checkout/detail Get Merchant Checkout Detail
CheckoutSetup CheckoutDetailPost Post /merchant/checkout/detail Get Merchant Checkout Detail
CheckoutSetup CheckoutEditCheckoutPost Post /merchant/checkout/edit_checkout Edit Merchant Checkout
CheckoutSetup CheckoutGetLinkGet Get /merchant/checkout/get_link Get Merchant Checkout Link
CheckoutSetup CheckoutGetLinkPost Post /merchant/checkout/get_link Get Merchant Checkout Link
CheckoutSetup CheckoutListGet Get /merchant/checkout/list Get Merchant Checkout list
CheckoutSetup CheckoutListPost Post /merchant/checkout/list Get Merchant Checkout list
CheckoutSetup CheckoutNewCheckoutPost Post /merchant/checkout/new_checkout New Merchant Checkout
Credit CreditConfigListGet Get /merchant/credit/config_list Get Credit Config list
Credit CreditConfigListPost Post /merchant/credit/config_list Get Credit Config list
Credit CreditCreditAccountListGet Get /merchant/credit/credit_account_list Get Credit Account List
Credit CreditCreditTransactionListGet Get /merchant/credit/credit_transaction_list Get Credit Transaction List
Credit CreditCreditTransactionListPost Post /merchant/credit/credit_transaction_list Get Credit Transaction List
Credit CreditDetailGet Get /merchant/credit/detail Credit Account Detail
Credit CreditDetailPost Post /merchant/credit/detail Credit Account Detail
Credit CreditEditConfigPost Post /merchant/credit/edit_config Edit Credit Config
Credit CreditEditCreditAccountPost Post /merchant/credit/edit_credit_account Edit User Credit Account Config
Credit CreditNewConfigPost Post /merchant/credit/new_config Setup Credit Config
Credit CreditNewCreditRechargePost Post /merchant/credit/new_credit_recharge New Credit Recharge
Discount DiscountActivatePost Post /merchant/discount/activate Activate Discount Code
Discount DiscountDeactivatePost Post /merchant/discount/deactivate Deactivate Discount Code
Discount DiscountDecreaseQuantityPost Post /merchant/discount/decrease_quantity Quantity Decrement
Discount DiscountDeletePost Post /merchant/discount/delete Delete Discount Code
Discount DiscountDetailGet Get /merchant/discount/detail Get Merchant Discount Detail
Discount DiscountDetailPost Post /merchant/discount/detail Get Merchant Discount Detail
Discount DiscountEditPost Post /merchant/discount/edit Edit Discount Code
Discount DiscountListGet Get /merchant/discount/list Get Discount Code List
Discount DiscountNewPost Post /merchant/discount/new New Discount Code
Discount DiscountQuantityIncrementPost Post /merchant/discount/quantity_increment Quantity Increment
Email EmailEmailSenderSetupPost Post /merchant/email/email_sender_setup Email Sender Setup
Email EmailGatewaySetDefaultPost Post /merchant/email/gateway_set_default Email Gateway Set Default
Email EmailGatewaySetupPost Post /merchant/email/gateway_setup Email Gateway Setup(Sendgrid)
Email EmailGatewaySetupV2Post Post /merchant/email/gateway_setup_v2 Email Gateway Setup V2(Sendgrid
Email EmailHistoryListGet Get /merchant/email/history_list Get Email History List
Email EmailSendEmailToUserPost Post /merchant/email/send_email_to_user Send Email To User
Email EmailSendEmailViaApiCredentialPost Post /merchant/email/send_email_via_api_credential Send Email Via API Credential
Email EmailSendTemplateEmailToUserPost Post /merchant/email/send_template_email_to_user Send Template Email To User
EmailTemplate EmailCustomLocalizationTemplateSyncPost Post /merchant/email/custom_localization_template_sync Customize Localization Template Sync
EmailTemplate EmailTemplateActivateLocalizationVersionPost Post /merchant/email/template_activate_localization_version Activate Email Template Localization Version
EmailTemplate EmailTemplateAddLocalizationVersionPost Post /merchant/email/template_add_localization_version Add Email Template Localization Version
EmailTemplate EmailTemplateDeleteLocalizationVersionPost Post /merchant/email/template_delete_localization_version Delete Email Template Localization Version
EmailTemplate EmailTemplateEditLocalizationVersionPost Post /merchant/email/template_edit_localization_version Edit Email Template Localization Version
EmailTemplate EmailTemplateListGet Get /merchant/email/template_list Get Email Template List
EmailTemplate EmailTemplateTestLocalizationVersionPost Post /merchant/email/template_test_localization_version Test Email Template Localization Version
Gateway GatewayArchivePost Post /merchant/gateway/archive Payment Gateway Archive
Gateway GatewayDetailGet Get /merchant/gateway/detail Payment Gateway
Gateway GatewayDetailPost Post /merchant/gateway/detail Payment Gateway
Gateway GatewayEditCountryConfigPost Post /merchant/gateway/edit_country_config Payment Gateway Country Config Edit
Gateway GatewayEditPost Post /merchant/gateway/edit Payment Gateway Edit
Gateway GatewayEditSortPost Post /merchant/gateway/edit_sort Edit Payment Gateway Sort
Gateway GatewayListGet Get /merchant/gateway/list Get Payment Gateway List
Gateway GatewayRestorePost Post /merchant/gateway/restore Payment Gateway Restore
Gateway GatewaySetDefaultPost Post /merchant/gateway/set_default Payment Gateway Set Default
Gateway GatewaySetupExchangeRateApiPost Post /merchant/gateway/setup_exchange_rate_api Exchange Rate Api Setup
Gateway GatewaySetupListGet Get /merchant/gateway/setup_list Get Payment Gateway Setup List
Gateway GatewaySetupPost Post /merchant/gateway/setup Payment Gateway Setup
Gateway GatewaySetupWebhookPost Post /merchant/gateway/setup_webhook Payment Gateway Webhook Setup
Gateway GatewayWireTransferEditPost Post /merchant/gateway/wire_transfer_edit Wire Transfer Edit
Gateway GatewayWireTransferSetupPost Post /merchant/gateway/wire_transfer_setup Wire Transfer Setup
Gateway TrackSetupSegmentPost Post /merchant/track/setup_segment Segment Setup
Integrations IntegrationQuickbooksDisconnectionGet Get /merchant/integration/quickbooks/disconnection Disconnection Quickbooks
Integrations IntegrationQuickbooksGetAuthorizationUrlGet Get /merchant/integration/quickbooks/get_authorization_url Get Quickbooks Authorization Connection URL
Invoice InvoiceCancelPost Post /merchant/invoice/cancel Admin Cancel Invoice
Invoice InvoiceClearPaymentPost Post /merchant/invoice/clearPayment Admin Clear Invoice Current Pending Payment
Invoice InvoiceCreateMarkRefundPost Post /merchant/invoice/create_mark_refund Create And Mark Manual Refund (Crypto/WireTransfer/External)
Invoice InvoiceCreditNoteListPost Post /merchant/invoice/credit_note/list Bulk CreditNote(Refund Invoice) Invoice List
Invoice InvoiceDeletePost Post /merchant/invoice/delete Delete Pending Invoice
Invoice InvoiceDetailGet Get /merchant/invoice/detail Invoice Detail
Invoice InvoiceDetailPost Post /merchant/invoice/detail Invoice Detail
Invoice InvoiceEditPaidInvoiceBillingDetailsPost Post /merchant/invoice/edit_paid_invoice_billing_details Edit Paid Invoice Billing Details (Exception)
Invoice InvoiceEditPost Post /merchant/invoice/edit Invoice Edit
Invoice InvoiceExternalGatewayInvoiceMarkPaidPost Post /merchant/invoice/external_gateway_invoice/mark_paid [Deprecated] Mark External Gateway Invoice As Paid
Invoice InvoiceExternalGatewayInvoiceMarkRefundedPost Post /merchant/invoice/external_gateway_invoice/mark_refunded [Deprecated] Mark External Gateway Invoice As Refunded
Invoice InvoiceExternalGatewayInvoiceUpdatePaymentLinkPost Post /merchant/invoice/external_gateway_invoice/update_payment_link [Deprecated] Update External Gateway Invoice Payment Link
Invoice InvoiceFinishPost Post /merchant/invoice/finish Finish Invoice
Invoice InvoiceListGet Get /merchant/invoice/list Get Invoice List
Invoice InvoiceListPost Post /merchant/invoice/list Get Invoice List
Invoice InvoiceMarkRefundSuccessPost Post /merchant/invoice/mark_refund_success Mark Manual Invoice Refund As Success
Invoice InvoiceMarkWireTransferSuccessPost Post /merchant/invoice/mark_wire_transfer_success Mark Wire Transfer Invoice As Paid (Manual)
Invoice InvoiceNewPost Post /merchant/invoice/new New Invoice
Invoice InvoicePdfGeneratePost Post /merchant/invoice/pdf_generate Generate Invoice PDF
Invoice InvoicePdfUpdatePost Post /merchant/invoice/pdf_update Update Invoice PDF
Invoice InvoiceReconvertCryptoAndSendEmailPost Post /merchant/invoice/reconvert_crypto_and_send_email Admin Reconvert Crypto Data and Send Invoice Email
Invoice InvoiceRefundPost Post /merchant/invoice/refund Create InvoiceRefund
Invoice InvoiceSendEmailPost Post /merchant/invoice/send_email Send Invoice Email
Invoice InvoiceSplitPaymentsGet Get /merchant/invoice/split_payments Get Split Payments
Invoice InvoiceSplitPaymentsPost Post /merchant/invoice/split_payments Get Split Payments
Invoice InvoiceSyncPaidInvoiceBillingDetailsPost Post /merchant/invoice/sync_paid_invoice_billing_details Sync Paid Invoice Billing Details From Latest User Profile (Exception)
Invoice InvoiceSyncUserSnapshotPost Post /merchant/invoice/sync_user_snapshot Sync Invoice User Snapshot With Latest User Info
InvoiceImport InvoiceHistoryInvoiceImportDeletePost Post /merchant/invoice/history_invoice_import/delete Delete imported history invoice
InvoiceImport InvoiceHistoryInvoiceImportPost Post /merchant/invoice/history_invoice_import History Invoice Import (supports override)
MemberAuthentication AuthSessionLoginPost Post /merchant/auth/session_login Session Login
MemberAuthentication AuthSsoClearTotpPost Post /merchant/auth/sso/clear_totp Admin Member Clear Member 2FA Key With ResumeCode
MemberAuthentication AuthSsoLoginOTPPost Post /merchant/auth/sso/loginOTP OTP Login
MemberAuthentication AuthSsoLoginOTPVerifyPost Post /merchant/auth/sso/loginOTPVerify OTP Login Code Verification
MemberAuthentication AuthSsoLoginPost Post /merchant/auth/sso/login Merchant Password Login
MemberAuthentication AuthSsoOauthGithubGet Get /merchant/auth/sso/oauth/github Get Oauth Github
MemberAuthentication AuthSsoOauthGoogleGet Get /merchant/auth/sso/oauth/google Get Oauth Google
MemberAuthentication AuthSsoOauthLoginPost Post /merchant/auth/sso/oauth/login OAuth Login
MemberAuthentication AuthSsoOauthMembersGet Get /merchant/auth/sso/oauth/members Get Oauth Members
MemberAuthentication AuthSsoOauthRegisterPost Post /merchant/auth/sso/oauth/register Register OAuth
MemberAuthentication AuthSsoOauthSetupPost Post /merchant/auth/sso/oauth/setup OAuth Setup
MemberAuthentication AuthSsoPasswordForgetOTPPost Post /merchant/auth/sso/passwordForgetOTP OTP Password Forget
MemberAuthentication AuthSsoPasswordForgetOTPVerifyPost Post /merchant/auth/sso/passwordForgetOTPVerify OTP Password Forget Code Verification
MemberAuthentication AuthSsoPasswordForgetTotpVerifyPost Post /merchant/auth/sso/passwordForgetTotpVerify 2FA Password Forget Code Verification
MemberAuthentication AuthSsoPasswordSetupPost Post /merchant/auth/sso/passwordSetup Password Setup
MemberAuthentication AuthSsoRegisterEmailCheckPost Post /merchant/auth/sso/register_email_check Register Email Check
MemberAuthentication AuthSsoRegisterPost Post /merchant/auth/sso/register Register
MemberAuthentication AuthSsoRegisterVerifyPost Post /merchant/auth/sso/registerVerify Register Verify
MemberAuthentication AuthSsoRegisterWithoutVerificationPost Post /merchant/auth/sso/register_without_verification RegisterWithoutCode
Merchant AmountMultiCurrenciesExchangePost Post /merchant/amount_multi_currencies_exchange Amount Multi Currencies Exchange
Merchant CountryConfigListPost Post /merchant/country_config_list Edit Country Config
Merchant EditCountryConfigPost Post /merchant/edit_country_config Get Country Config List
Merchant EditTotpConfigPost Post /merchant/edit_totp_config Admin Edit 2FA Config
Merchant GetExchangeRatePost Post /merchant/get_exchange_rate Get Exchange Rate
Merchant GetGet Get /merchant/get Get Profile
Merchant GetLicenseGet Get /merchant/get_license Get License
Merchant GetLicenseUpdateUrlGet Get /merchant/get_license_update_url Get License Update Url
Merchant GetLicenseUpdateUrlPost Post /merchant/get_license_update_url Get License Update Url
Merchant NewApikeyPost Post /merchant/new_apikey Generate New APIKey
Merchant OverviewStatisticsGet Get /merchant/overview_statistics Get Merchant Overview Statistics
Merchant SetupMultiCurrenciesPost Post /merchant/setup_multi_currencies Multi Currencies Setup
Merchant UpdateCnameDomainPost Post /merchant/update_cname_domain Update Merchant CNAME Domain
Merchant UpdatePortalHostDomainPost Post /merchant/update_portal_host_domain Update Profile Portal Host Domain
Merchant UpdatePost Post /merchant/update Update Profile
Metric MetricDeletePost Post /merchant/metric/delete Delete Merchant Metric
Metric MetricDetailPost Post /merchant/metric/detail Merchant Metric Detail
Metric MetricEditPost Post /merchant/metric/edit Edit Merchant Metric
Metric MetricListGet Get /merchant/metric/list Get Merchant Metric list
Metric MetricListPost Post /merchant/metric/list Get Merchant Metric list
Metric MetricNewPost Post /merchant/metric/new New Merchant Metric
Metric MetricPlanLimitDeletePost Post /merchant/metric/plan/limit/delete Delete Merchant Metric Plan TotalLimit
Metric MetricPlanLimitEditPost Post /merchant/metric/plan/limit/edit Edit Merchant Metric Plan TotalLimit
Metric MetricPlanLimitNewPost Post /merchant/metric/plan/limit/new New Merchant Metric Plan TotalLimit
MetricEvent MetricEventCurrentValuePost Post /merchant/metric/event/current_value Get Merchant Metric Event Current Value
MetricEvent MetricEventDeletePost Post /merchant/metric/event/delete Del Merchant Metric Event
MetricEvent MetricEventListGet Get /merchant/metric/event_list Metric Event List
MetricEvent MetricEventListPost Post /merchant/metric/event_list Metric Event List
MetricEvent MetricEventNewPost Post /merchant/metric/event/new New Merchant Metric Event
MetricLimitQuota MetricCarryoverReprocessPost Post /merchant/metric/carryover/reprocess Reprocess Metric Carry Over (Admin Tool)
MetricLimitQuota MetricLimitAdjustBatchPost Post /merchant/metric/limit_adjust_batch Batch Manual Adjust Metric Limit
MetricLimitQuota MetricLimitAdjustPost Post /merchant/metric/limit_adjust Manual Adjust Metric Limit
Payment PaymentCancelPost Post /merchant/payment/cancel Cancel Payment
Payment PaymentCapturePost Post /merchant/payment/capture Capture Payment
Payment PaymentDetailGet Get /merchant/payment/detail Payment Detail
Payment PaymentExternalGatewayPaymentMarkFailedPost Post /merchant/payment/external_gateway_payment/mark_failed Mark External Gateway Payment As Failed
Payment PaymentExternalGatewayPaymentMarkPaidPost Post /merchant/payment/external_gateway_payment/mark_paid Mark External Gateway Payment As Paid
Payment PaymentExternalGatewayPaymentUpdateLinkPost Post /merchant/payment/external_gateway_payment/update_link Update External Gateway Payment Link
Payment PaymentExternalGatewayRefundMarkFailedPost Post /merchant/payment/external_gateway_refund/mark_failed Mark External Gateway Refund As Failed
Payment PaymentExternalGatewayRefundMarkSuccessPost Post /merchant/payment/external_gateway_refund/mark_success Mark External Gateway Refund As Success
Payment PaymentItemListGet Get /merchant/payment/item/list Get OneTime Payment Item List
Payment PaymentListGet Get /merchant/payment/list Get Payment List
Payment PaymentMethodDeletePost Post /merchant/payment/method_delete Delete Payment Method
Payment PaymentMethodGetGet Get /merchant/payment/method_get Payment Method
Payment PaymentMethodListGet Get /merchant/payment/method_list Payment Method List
Payment PaymentMethodNewPost Post /merchant/payment/method_new Create New Payment Method
Payment PaymentNewPost Post /merchant/payment/new New Payment
Payment PaymentRefundCancelPost Post /merchant/payment/refund/cancel Cancel Payment Refund
Payment PaymentRefundDetailGet Get /merchant/payment/refund/detail Payment Refund Detail
Payment PaymentRefundListGet Get /merchant/payment/refund/list Get Payment Refund List
Payment PaymentRefundNewPost Post /merchant/payment/refund/new New Payment Refund
Payment PaymentTimelineListGet Get /merchant/payment/timeline/list Get Payment TimeLine List
Payment PaymentTimelineListPost Post /merchant/payment/timeline/list Get Payment TimeLine List
Plan PlanActivatePost Post /merchant/plan/activate Activate Plan
Plan PlanActivePriceChangeConfirmPost Post /merchant/plan/active_price_change/confirm Confirm Active Plan Price Change
Plan PlanActivePriceChangePreviewPost Post /merchant/plan/active_price_change/preview Preview Active Plan Price Change
Plan PlanAddonsBindingPost Post /merchant/plan/addons_binding Addon Binding
Plan PlanArchivePost Post /merchant/plan/archive Archive Plan
Plan PlanCopyPost Post /merchant/plan/copy Copy Plan
Plan PlanDeletePost Post /merchant/plan/delete Delete Plan
Plan PlanDetailGet Get /merchant/plan/detail Plan Detail
Plan PlanDetailPost Post /merchant/plan/detail Plan Detail
Plan PlanEditPost Post /merchant/plan/edit Edit Plan
Plan PlanListGet Get /merchant/plan/list Get Plan List
Plan PlanListPost Post /merchant/plan/list Get Plan List
Plan PlanMetricLimitOverridePost Post /merchant/plan/metric_limit_override Override Metric Limits Of Plan
Plan PlanNewPost Post /merchant/plan/new Create Plan
Plan PlanPublishPost Post /merchant/plan/publish Publish Plan
Plan PlanUnpublishedPost Post /merchant/plan/unpublished UnPublish Plan
Product ProductActivatePost Post /merchant/product/activate Activate Product
Product ProductCopyPost Post /merchant/product/copy Copy Product
Product ProductDeletePost Post /merchant/product/delete Delete Product
Product ProductDetailGet Get /merchant/product/detail Product Detail
Product ProductDetailPost Post /merchant/product/detail Product Detail
Product ProductEditPost Post /merchant/product/edit Edit Product
Product ProductInactivatePost Post /merchant/product/inactivate Inactivate Product
Product ProductListGet Get /merchant/product/list Get Product List
Product ProductListPost Post /merchant/product/list Get Product List
Product ProductNewPost Post /merchant/product/new Create Product
PromoCredit CreditEditPromoConfigPost Post /merchant/credit/edit_promo_config Edit Promo Credit Config
PromoCredit CreditGetPromoConfigGet Get /merchant/credit/get_promo_config Get Promo Credit Config
PromoCredit CreditGetPromoConfigPost Post /merchant/credit/get_promo_config Get Promo Credit Config
PromoCredit CreditGetPromoConfigStatisticsGet Get /merchant/credit/get_promo_config_statistics Get Promo Credit Config Statistics
PromoCredit CreditGetPromoConfigStatisticsPost Post /merchant/credit/get_promo_config_statistics Get Promo Credit Config Statistics
PromoCredit CreditPromoCreditDecrementPost Post /merchant/credit/promo_credit_decrement Promo Credit Decrement
PromoCredit CreditPromoCreditIncrementPost Post /merchant/credit/promo_credit_increment Promo Credit Increment
PromoCredit CreditPromoCreditRefundFromInvoicePost Post /merchant/credit/promo_credit_refund_from_invoice Promo Credit Refund
Search SearchKeySearchGet Get /merchant/search/key_search Search
Search SearchKeySearchPost Post /merchant/search/key_search Search
Session SessionCustomerPortalUrlGet Get /merchant/session/customer_portal_url Get Customer Portal Url
Session SessionCustomerPortalUrlPost Post /merchant/session/customer_portal_url Get Customer Portal Url
Session SessionNewSessionPost Post /merchant/session/new_session New Checkout Session
Session SessionUserSubUpdateUrlGet Get /merchant/session/user_sub_update_url Get User Subscription Update Page Url
Session SessionUserSubUpdateUrlPost Post /merchant/session/user_sub_update_url Get User Subscription Update Page Url
Subscription SubscriptionAddNewTrialStartPost Post /merchant/subscription/add_new_trial_start Append Subscription TrialEnd
Subscription SubscriptionApplySubscriptionNextInvoicePost Post /merchant/subscription/apply_subscription_next_invoice Apply Discount Or Premo Credit To Next Invoice
Subscription SubscriptionCancelAtPeriodEndPost Post /merchant/subscription/cancel_at_period_end Cancel Subscription At Period End
Subscription SubscriptionCancelLastCancelAtPeriodEndPost Post /merchant/subscription/cancel_last_cancel_at_period_end Cancel Last Cancel Subscription At Period End
Subscription SubscriptionCancelPost Post /merchant/subscription/cancel Cancel Subscription Immediately
Subscription SubscriptionChangeCurrencyPost Post /merchant/subscription/change_currency Change Subscription Currency
Subscription SubscriptionChangeDueDayPost Post /merchant/subscription/change_due_day Change Subscription Due Day
Subscription SubscriptionChangeGatewayPost Post /merchant/subscription/change_gateway Change Subscription Gateway
Subscription SubscriptionCreatePreviewPost Post /merchant/subscription/create_preview Create Subscription Preview
Subscription SubscriptionCreateSubmitPost Post /merchant/subscription/create_submit Create Subscription
Subscription SubscriptionDetailGet Get /merchant/subscription/detail Subscription Detail
Subscription SubscriptionDetailPost Post /merchant/subscription/detail Subscription Detail
Subscription SubscriptionListGet Get /merchant/subscription/list Get Subscription List
Subscription SubscriptionListPost Post /merchant/subscription/list Get Subscription List
Subscription SubscriptionPreviewSubscriptionNextInvoiceGet Get /merchant/subscription/preview_subscription_next_invoice Subscription Next Invoice Preview
Subscription SubscriptionRegenerateBillingCycleInvoicePost Post /merchant/subscription/regenerate_billing_cycle_invoice Regenerate Billing Cycle Invoice
Subscription SubscriptionRegenerateBillingCycleInvoicePreviewGet Get /merchant/subscription/regenerate_billing_cycle_invoice_preview Preview Regenerate Billing Cycle Invoice
Subscription SubscriptionRegenerateBillingCycleInvoicePreviewPost Post /merchant/subscription/regenerate_billing_cycle_invoice_preview Preview Regenerate Billing Cycle Invoice
Subscription SubscriptionUserPendingCryptoSubscriptionDetailGet Get /merchant/subscription/user_pending_crypto_subscription_detail User Pending Crypto Subscription Detail
Subscription SubscriptionUserPendingCryptoSubscriptionDetailPost Post /merchant/subscription/user_pending_crypto_subscription_detail User Pending Crypto Subscription Detail
Subscription SubscriptionUserSubscriptionDetailGet Get /merchant/subscription/user_subscription_detail User Subscription Detail
Subscription SubscriptionUserSubscriptionDetailPost Post /merchant/subscription/user_subscription_detail User Subscription Detail
SubscriptionConfig SubscriptionConfigGet Get /merchant/subscription/config Subscription Config
SubscriptionConfig SubscriptionConfigUpdatePost Post /merchant/subscription/config/update Update Merchant Subscription Config
SubscriptionImport SubscriptionActiveSubscriptionImportPost Post /merchant/subscription/active_subscription_import Active Subscription Import(allows repetition imports)
SubscriptionImport SubscriptionHistorySubscriptionImportPost Post /merchant/subscription/history_subscription_import History Subscription Import(Allows repetition imports)
SubscriptionImport SubscriptionImportProrationBaseSetupPost Post /merchant/subscription/import_proration_base_setup Setup historical proration base on a zero-amount subscription invoice
SubscriptionNote SubscriptionAdminNoteListGet Get /merchant/subscription/admin_note_list Get Subscription Note List
SubscriptionNote SubscriptionAdminNoteListPost Post /merchant/subscription/admin_note_list Get Subscription Note List
SubscriptionNote SubscriptionNewAdminNotePost Post /merchant/subscription/new_admin_note New Subscription Note
SubscriptionPayment SubscriptionNewOnetimeAddonPaymentPost Post /merchant/subscription/new_onetime_addon_payment New Subscription Onetime Addon Payment
SubscriptionPayment SubscriptionNewOnetimeAddonPreviewPost Post /merchant/subscription/new_onetime_addon_preview New Subscription Onetime Addon Preview
SubscriptionPayment SubscriptionOnetimeAddonPurchaseListGet Get /merchant/subscription/onetime_addon_purchase_list Get Subscription Onetime Addon Purchase History List
SubscriptionPayment SubscriptionPaymentNewPost Post /merchant/subscription/payment/new New Subscription Payment
SubscriptionTimeline SubscriptionTimelineListGet Get /merchant/subscription/timeline_list Get Subscription TimeLine List
SubscriptionTimeline SubscriptionTimelineListPost Post /merchant/subscription/timeline_list Get Subscription TimeLine List
SubscriptionUpdate SubscriptionActiveTemporarilyPost Post /merchant/subscription/active_temporarily Subscription Active Temporarily
SubscriptionUpdate SubscriptionMetadataUpdatePost Post /merchant/subscription/metadata_update Update Subscription Metadata
SubscriptionUpdate SubscriptionPendingUpdateDetailGet Get /merchant/subscription/pending_update_detail Subscription Pending Update Detail
SubscriptionUpdate SubscriptionPendingUpdateListGet Get /merchant/subscription/pending_update_list Get Subscription Pending Update List
SubscriptionUpdate SubscriptionPendingUpdateListPost Post /merchant/subscription/pending_update_list Get Subscription Pending Update List
SubscriptionUpdate SubscriptionRenewPost Post /merchant/subscription/renew Renew Subscription
SubscriptionUpdate SubscriptionRenewPreviewPost Post /merchant/subscription/renew_preview Renew Subscription Preview
SubscriptionUpdate SubscriptionUpdatePreviewPost Post /merchant/subscription/update_preview Update Subscription Preview
SubscriptionUpdate SubscriptionUpdateSubmitPost Post /merchant/subscription/update_submit Update Subscription
User UserAdminNoteListGet Get /merchant/user/admin_note_list Get User Admin Note List
User UserAdminNoteListPost Post /merchant/user/admin_note_list Get User Admin Note List
User UserChangeEmailPost Post /merchant/user/change_email Change User Email
User UserChangeGatewayPost Post /merchant/user/change_gateway Change User Default Gateway
User UserClearAutoChargeMethodPost Post /merchant/user/clear_auto_charge_method Clear AutoCharge Method
User UserCountGet Get /merchant/user/count User Count
User UserDeletePost Post /merchant/user/delete Delete User
User UserGetGet Get /merchant/user/get Get User Profile
User UserListGet Get /merchant/user/list User List
User UserListPost Post /merchant/user/list User List
User UserNewAdminNotePost Post /merchant/user/new_admin_note New Admin Note
User UserNewPost Post /merchant/user/new New User
User UserResumeUserPost Post /merchant/user/resume_user Resume User
User UserSearchGet Get /merchant/user/search User Search
User UserSearchPost Post /merchant/user/search User Search
User UserSuspendUserPost Post /merchant/user/suspend_user Suspend User
User UserUpdateExternalUserIdPost Post /merchant/user/update_external_user_id Update User ExternalUserId
User UserUpdatePost Post /merchant/user/update Update User Profile
UserDiscount DiscountPlanApplyPreviewPost Post /merchant/discount/plan_apply_preview Plan Apply Preview
UserDiscount DiscountUserDiscountListGet Get /merchant/discount/user_discount_list Get User Discount Code List
UserMetric MetricUserHistoryInvoicesMetricQueryableGet Get /merchant/metric/user/history/invoices_metric_queryable List invoices that can be used for metric_by_invoice (paid, subscription cycle only)
UserMetric MetricUserHistoryMetricByInvoiceGet Get /merchant/metric/user/history/metric_by_invoice Query User History Limit Metric By Invoice (History Query Mode, limit_metered and limit_recurring only)
UserMetric MetricUserHistoryMetricBySubscriptionGet Get /merchant/metric/user/history/metric_by_subscription Query User History Limit Metric By Subscription (History Query Mode, limit_metered and limit_recurring only, non-active subscription only)
UserMetric MetricUserMetricGet Get /merchant/metric/user/metric Query User Metric
UserMetric MetricUserSubMetricGet Get /merchant/metric/user/sub/metric Query User Metric By Subscription
VatGateway VatCountryListGet Get /merchant/vat/country_list Get Vat Country List
VatGateway VatCountryListPost Post /merchant/vat/country_list Get Vat Country List
VatGateway VatInitDefaultGatewayPost Post /merchant/vat/init_default_gateway Init Default Vat Gateway
VatGateway VatSetupGatewayPost Post /merchant/vat/setup_gateway Vat Gateway Setup
VatGateway VatSetupGlobalUsVatConfigPost Post /merchant/vat/setup_global_us_vat_config US Vat Config Setup
VatGateway VatSetupUsVatGatewayPost Post /merchant/vat/setup_us_vat_gateway US Vat Gateway Setup
VatGateway VatUsVatCategoryListGet Get /merchant/vat/us_vat_category_list Get US Vat Category List
VatGateway VatUsVatValidateAddressPost Post /merchant/vat/us_vat_validate_address Validate US Vat Address
VatGateway VatVatNumberValidateHistoryActivatePost Post /merchant/vat/vat_number_validate_history_activate Vat Number Validation History Activate
VatGateway VatVatNumberValidateHistoryDeactivatePost Post /merchant/vat/vat_number_validate_history_deactivate Vat Number Validation History Deactivate
VatGateway VatVatNumberValidateHistoryPost Post /merchant/vat/vat_number_validate_history Vat Number Validation History
VatGateway VatVatNumberValidatePost Post /merchant/vat/vat_number_validate Vat Number Validation
Webhook VatUsVatUploadHistoryListGet Get /merchant/vat/us_vat_upload_history_list Get US VAT Upload History List
Webhook WebhookDeleteEndpointPost Post /merchant/webhook/delete_endpoint Delete Webhook Endpoint
Webhook WebhookEndpointListGet Get /merchant/webhook/endpoint_list Get Webhook Endpoint list
Webhook WebhookEndpointLogListGet Get /merchant/webhook/endpoint_log_list Get Webhook Endpoint Log List
Webhook WebhookEventListGet Get /merchant/webhook/event_list Webhook Event List
Webhook WebhookGetWebhookSecretGet Get /merchant/webhook/get_webhook_secret Get Webhook Secret
Webhook WebhookNewEndpointPost Post /merchant/webhook/new_endpoint New Webhook Endpoint
Webhook WebhookRemoveWebhookZapierConnectPost Post /merchant/webhook/remove_webhook_zapier_connect Remove Webhook Zapier Connnect
Webhook WebhookResendPost Post /merchant/webhook/resend Resent Webhook
Webhook WebhookUpdateEndpointPost Post /merchant/webhook/update_endpoint Update Webhook Endpoint
Webhook WebhookWebhookZapierConnectUrlPost Post /merchant/webhook/webhook_zapier_connect_url Get Webhook Zapier Connect Url

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

About

go client for unibee api

Resources

Stars

3 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors