跳到正文
Longplay
开发文档
章节目录 / 平台与能力支持

平台与能力支持

各端 SDK、凭据、权限、方法与实现范围。

Markdown
API v1更新于

选择接入平台#

SDK 与工具
平台版本用途与凭据
JavaScript / TypeScript最新稳定版后端使用 Server Key;浏览器使用 Customer Token,含数据、求值与展示入口。
Python最新稳定版Server Key;同步与异步服务端方法,含会话、支付、优惠、发票、余额、客户消息与 Funnel 决策。
Go最新稳定版Server Key;可并发复用的服务端客户端,与 Python 相同的操作范围,包含会话与 Funnel 决策。
React Native最新稳定版独立 npm 包,使用 Customer Token;原生宿主按平台指南集成。
iOS / Swift最新稳定版SwiftPM;Customer Token 与原生宿主;消费等受信写入经商户后端。
Android / Kotlin最新稳定版Maven;Customer Token 与原生宿主;消费等受信写入经商户后端。
Longplay CLI0.3.23用户登录并批准的管理委托;用于配置、草稿、校验和获准的发布。

SDK 与工具

  • JavaScript / TypeScript

    版本
    最新稳定版
    用途与凭据
    后端使用 Server Key;浏览器使用 Customer Token,含数据、求值与展示入口。
  • Python

    版本
    最新稳定版
    用途与凭据
    Server Key;同步与异步服务端方法,含会话、支付、优惠、发票、余额、客户消息与 Funnel 决策。
  • Go

    版本
    最新稳定版
    用途与凭据
    Server Key;可并发复用的服务端客户端,与 Python 相同的操作范围,包含会话与 Funnel 决策。
  • React Native

    版本
    最新稳定版
    用途与凭据
    独立 npm 包,使用 Customer Token;原生宿主按平台指南集成。
  • iOS / Swift

    版本
    最新稳定版
    用途与凭据
    SwiftPM;Customer Token 与原生宿主;消费等受信写入经商户后端。
  • Android / Kotlin

    版本
    最新稳定版
    用途与凭据
    Maven;Customer Token 与原生宿主;消费等受信写入经商户后端。
  • Longplay CLI

    版本
    0.3.23
    用途与凭据
    用户登录并批准的管理委托;用于配置、草稿、校验和获准的发布。
业务 SDK 使用协议 0.10。平台安装不保证所有语言方法相同;原生展示、商店购买和 Provider 各有前置条件。按平台指南和下表选择已实现入口。

相关:安装·javascript·python·go·react-native·native·cli

HTTP 操作与 SDK 方法支持#

下表来自当前接口契约和方法目录。Server / Customer 表示可接受的运行时凭据;权限仍须由凭据拥有。— 表示该 SDK 无直接方法,可按接口的调用方限制使用 HTTP。各操作的接入前提与分支限制见对应接口页。

当前操作
操作调用方 / 权限TS serverTS browserPython / Go
sendMessageserver / messaging:writesendMessage—send_message / SendMessage
readMessageserver / messaging:writereadMessage—read_message / ReadMessage
bindPushInstallationcustomer / messaging:write—push.sync—
readPushInstallationcustomer / messaging:write—push.read—
updatePushAddresscustomer / messaging:write—push.sync—
readMessagingPreferencecustomer / messaging:write—messaging.preference—
setMessagingPreferencecustomer / messaging:write—messaging.setPreference—
resolveContentmixed / content:readresolveContentresolveContentresolve_content / ResolveContent
createCustomerserver / customers:writegetOrCreateCustomer—get_or_create_customer / GetOrCreateCustomer
getCustomerserver / customers:readgetCustomer—get_customer / GetCustomer
listCustomersserver / customers:readlistCustomers—list_customers / ListCustomers
updateCustomerserver / customers:writeupdateCustomer—update_customer / UpdateCustomer
createSessionserver / sessions:createcreateCustomerSession—create_session / CreateSession
refreshSessionrefresh / sessions:create—session.refresh—
revokeSessionsserver / sessions:createrevokeCustomerSessions—revoke_sessions / RevokeSessions
createGuestCustomerserver / sessions:createcreateGuestCustomer—create_guest_customer / CreateGuestCustomer
resumeGuestSessionserver / sessions:createresumeGuestSession—resume_guest_session / ResumeGuestSession
claimGuestCustomerserver / customers:writeclaimGuestCustomer—claim_guest_customer / ClaimGuestCustomer
checkEntitlementmixed / entitlements:readcheckEntitlementcheckEntitlementcheck_entitlement / CheckEntitlement
resolveOfferingmixed / entitlements:readresolveOfferingresolveOfferingresolve_offering / ResolveOffering
resolvePaywallmixed / entitlements:readresolvePaywallresolvePaywallresolve_paywall / ResolvePaywall
readHoldingsmixed / entitlements:readreadHoldingsreadHoldingsread_holdings / ReadHoldings
readBalanceSourceserver / credits:readreadBalanceSource—read_balance_source / ReadBalanceSource
adjustBalanceserver / credits:manageadjustBalance—adjust_balance / AdjustBalance
readUsageserver / credits:readreadUsage—read_usage / ReadUsage
setUsageserver / credits:managesetUsage—set_usage / SetUsage
manageBalanceGrantserver / credits:managemanageBalanceGrant—manage_balance_grant / ManageBalanceGrant
listBalanceGrantsserver / credits:readlistBalanceGrants—list_balance_grants / ListBalanceGrants
manageUsageEntityserver / credits:managemanageUsageEntity—manage_usage_entity / ManageUsageEntity
readUsageAnalyticsserver / credits:readreadUsageAnalytics—read_usage_analytics / ReadUsageAnalytics
readCreditAnalyticsserver / credits:readreadCreditAnalytics—read_credit_analytics / ReadCreditAnalytics
submitUsageBatchserver / credits:consumesubmitUsageBatch—submit_usage_batch / SubmitUsageBatch
readUsageBatchserver / credits:readreadUsageBatch—read_usage_batch / ReadUsageBatch
readLedgermixed / credits:readreadLedgerreadLedgerread_ledger / ReadLedger
readCreditStatementmixed / credits:readreadCreditStatementreadCreditStatementread_credit_statement / ReadCreditStatement
quoteBalancemixed / credits:readquoteBalancequoteBalancequote_balance / QuoteBalance
trackUsageserver / credits:consumetrackUsage—track_usage / TrackUsage
mutateBalanceserver / credits:consumemutateBalance—mutate_balance / MutateBalance
readSeatsserver / customers:readreadSeats—read_seats / ReadSeats
manageSeatserver / billing:writemanageSeat—manage_seat / ManageSeat
setupPaymentmixed / billing:writesetupPaymentsetupPaymentsetup_payment / SetupPayment
readPaymentSetupmixed / billing:readreadPaymentSetupreadPaymentSetupread_payment_setup / ReadPaymentSetup
verifySubscriptionsserver / billing:readverifySubscriptions—verify_subscriptions / VerifySubscriptions
previewAttachmixed / billing:readpreviewAttachpreviewAttachpreview_attach / PreviewAttach
attachmixed / billing:writeattachattachattach / Attach
readSubscriptionOperationmixed / billing:readreadSubscriptionOperationreadSubscriptionOperationread_subscription_operation / ReadSubscriptionOperation
previewUpdatemixed / billing:readpreviewUpdatepreviewUpdatepreview_update / PreviewUpdate
updatemixed / billing:writeupdateupdateupdate / Update
readSubscriptionUpdatemixed / billing:readreadSubscriptionUpdatereadSubscriptionUpdateread_subscription_update / ReadSubscriptionUpdate
listSubscriptionsserver / billing:readlistSubscriptions—list_subscriptions / ListSubscriptions
listPurchasesserver / billing:readlistPurchases—list_purchases / ListPurchases
listSubscriptionConflictsserver / billing:readlistSubscriptionConflicts—list_subscription_conflicts / ListSubscriptionConflicts
retrySubscriptionConflictserver / billing:writeretrySubscriptionConflict—retry_subscription_conflict / RetrySubscriptionConflict
manageSubscriptionTrialserver / billing:writemanageSubscriptionTrial—manage_subscription_trial / ManageSubscriptionTrial
readSubscriptionTrialserver / billing:readreadSubscriptionTrial—read_subscription_trial / ReadSubscriptionTrial
previewSubscriptionBatchserver / billing:writepreviewSubscriptionBatch—preview_subscription_batch / PreviewSubscriptionBatch
confirmSubscriptionBatchserver / billing:writeconfirmSubscriptionBatch—confirm_subscription_batch / ConfirmSubscriptionBatch
readSubscriptionBatchserver / billing:readreadSubscriptionBatch—read_subscription_batch / ReadSubscriptionBatch
abandonSubscriptionBatchserver / billing:writeabandonSubscriptionBatch—abandon_subscription_batch / AbandonSubscriptionBatch
listInvoiceTemplatesserver / billing:readlistInvoiceTemplates—list_invoice_templates / ListInvoiceTemplates
previewInvoiceserver / billing:writepreviewInvoice—preview_invoice / PreviewInvoice
createInvoiceserver / billing:writecreateInvoice—create_invoice / CreateInvoice
manageInvoiceserver / billing:writemanageInvoice—manage_invoice / ManageInvoice
readInvoiceOperationserver / billing:readreadInvoiceOperation—read_invoice_operation / ReadInvoiceOperation
listInvoicesserver / billing:readlistInvoices—list_invoices / ListInvoices
getInvoiceserver / billing:readgetInvoice—get_invoice / GetInvoice
previewRefundserver / billing:readpreviewRefund—preview_refund / PreviewRefund
refundserver / billing:writerefund—refund / Refund
readRefundserver / billing:readreadRefund—read_refund / ReadRefund
readBillingControlscustomer / billing:read—readBillingControls—
prepareBillingAuthorizationcustomer / billing:write—prepareBillingAuthorization—
confirmBillingAuthorizationcustomer / billing:write—confirmBillingAuthorization—
setBillingCouponscustomer / billing:write—setBillingCoupons—
revokeBillingAuthorizationcustomer / billing:write—revokeBillingAuthorization—
listBillingInvoicescustomer / billing:read—listBillingInvoices—
manageBillingLimitsserver / billing:writemanageBillingLimits—manage_billing_limits / ManageBillingLimits
readBillingInvoicemixed / billing:readreadBillingInvoicereadBillingInvoiceread_billing_invoice / ReadBillingInvoice
recordMerchantEventserver / billing:writerecordMerchantEvent—record_merchant_event / RecordMerchantEvent
prepareBillingAdjustmentserver / billing:writeprepareBillingAdjustment—prepare_billing_adjustment / PrepareBillingAdjustment
confirmBillingAdjustmentcustomer / billing:write—confirmBillingAdjustment—
redeemCouponcustomer / offers:resolve—redeemCoupon—
listOfferscustomer / offers:resolve—listOffers—
grantOffermixed / offers:grantgrantOfferclaimCoupongrant_offer / GrantOffer
grantModelBenefitserver / offers:grantgrantModelBenefit—grant_model_benefit / GrantModelBenefit
readModelBenefitserver / offers:grantreadModelBenefit—read_model_benefit / ReadModelBenefit
redeemRewardcustomer / offers:resolve—redeemReward—
createReferralCodecustomer / offers:resolve—createReferralCode—
claimRewardProductcustomer / offers:resolve—claimRewardProduct—
getFeaturesmixed / features:readgetFeaturesfeaturesget_features / GetFeatures
evaluateFeaturesmixed / features:readevaluateFeaturesfeaturesevaluate_features / EvaluateFeatures
trackEventsmixed / events:writetrackEventstrack / flushtrack_events / TrackEvents
restoreNativePurchasemixed / billing:writerestoreNativePurchaserestoreNativePurchaserestore_native_purchase / RestoreNativePurchase
readAiPricingserver / credits:readreadAiPricing—read_ai_pricing / ReadAiPricing
getCodeReferenceConfigserver / code-references:read——get_code_reference_config / GetCodeReferenceConfig
submitCodeReferencesserver / code-references:write——submit_code_references / SubmitCodeReferences

当前操作

  • sendMessage

    调用方 / 权限
    server / messaging:write
    TS server
    sendMessage
    TS browser
    —
    Python / Go
    send_message / SendMessage
  • readMessage

    调用方 / 权限
    server / messaging:write
    TS server
    readMessage
    TS browser
    —
    Python / Go
    read_message / ReadMessage
  • bindPushInstallation

    调用方 / 权限
    customer / messaging:write
    TS server
    —
    TS browser
    push.sync
    Python / Go
    —
  • readPushInstallation

    调用方 / 权限
    customer / messaging:write
    TS server
    —
    TS browser
    push.read
    Python / Go
    —
  • updatePushAddress

    调用方 / 权限
    customer / messaging:write
    TS server
    —
    TS browser
    push.sync
    Python / Go
    —
  • readMessagingPreference

    调用方 / 权限
    customer / messaging:write
    TS server
    —
    TS browser
    messaging.preference
    Python / Go
    —
  • setMessagingPreference

    调用方 / 权限
    customer / messaging:write
    TS server
    —
    TS browser
    messaging.setPreference
    Python / Go
    —
  • resolveContent

    调用方 / 权限
    mixed / content:read
    TS server
    resolveContent
    TS browser
    resolveContent
    Python / Go
    resolve_content / ResolveContent
  • createCustomer

    调用方 / 权限
    server / customers:write
    TS server
    getOrCreateCustomer
    TS browser
    —
    Python / Go
    get_or_create_customer / GetOrCreateCustomer
  • getCustomer

    调用方 / 权限
    server / customers:read
    TS server
    getCustomer
    TS browser
    —
    Python / Go
    get_customer / GetCustomer
  • listCustomers

    调用方 / 权限
    server / customers:read
    TS server
    listCustomers
    TS browser
    —
    Python / Go
    list_customers / ListCustomers
  • updateCustomer

    调用方 / 权限
    server / customers:write
    TS server
    updateCustomer
    TS browser
    —
    Python / Go
    update_customer / UpdateCustomer
  • createSession

    调用方 / 权限
    server / sessions:create
    TS server
    createCustomerSession
    TS browser
    —
    Python / Go
    create_session / CreateSession
  • refreshSession

    调用方 / 权限
    refresh / sessions:create
    TS server
    —
    TS browser
    session.refresh
    Python / Go
    —
  • revokeSessions

    调用方 / 权限
    server / sessions:create
    TS server
    revokeCustomerSessions
    TS browser
    —
    Python / Go
    revoke_sessions / RevokeSessions
  • createGuestCustomer

    调用方 / 权限
    server / sessions:create
    TS server
    createGuestCustomer
    TS browser
    —
    Python / Go
    create_guest_customer / CreateGuestCustomer
  • resumeGuestSession

    调用方 / 权限
    server / sessions:create
    TS server
    resumeGuestSession
    TS browser
    —
    Python / Go
    resume_guest_session / ResumeGuestSession
  • claimGuestCustomer

    调用方 / 权限
    server / customers:write
    TS server
    claimGuestCustomer
    TS browser
    —
    Python / Go
    claim_guest_customer / ClaimGuestCustomer
  • checkEntitlement

    调用方 / 权限
    mixed / entitlements:read
    TS server
    checkEntitlement
    TS browser
    checkEntitlement
    Python / Go
    check_entitlement / CheckEntitlement
  • resolveOffering

    调用方 / 权限
    mixed / entitlements:read
    TS server
    resolveOffering
    TS browser
    resolveOffering
    Python / Go
    resolve_offering / ResolveOffering
  • resolvePaywall

    调用方 / 权限
    mixed / entitlements:read
    TS server
    resolvePaywall
    TS browser
    resolvePaywall
    Python / Go
    resolve_paywall / ResolvePaywall
  • readHoldings

    调用方 / 权限
    mixed / entitlements:read
    TS server
    readHoldings
    TS browser
    readHoldings
    Python / Go
    read_holdings / ReadHoldings
  • readBalanceSource

    调用方 / 权限
    server / credits:read
    TS server
    readBalanceSource
    TS browser
    —
    Python / Go
    read_balance_source / ReadBalanceSource
  • adjustBalance

    调用方 / 权限
    server / credits:manage
    TS server
    adjustBalance
    TS browser
    —
    Python / Go
    adjust_balance / AdjustBalance
  • readUsage

    调用方 / 权限
    server / credits:read
    TS server
    readUsage
    TS browser
    —
    Python / Go
    read_usage / ReadUsage
  • setUsage

    调用方 / 权限
    server / credits:manage
    TS server
    setUsage
    TS browser
    —
    Python / Go
    set_usage / SetUsage
  • manageBalanceGrant

    调用方 / 权限
    server / credits:manage
    TS server
    manageBalanceGrant
    TS browser
    —
    Python / Go
    manage_balance_grant / ManageBalanceGrant
  • listBalanceGrants

    调用方 / 权限
    server / credits:read
    TS server
    listBalanceGrants
    TS browser
    —
    Python / Go
    list_balance_grants / ListBalanceGrants
  • manageUsageEntity

    调用方 / 权限
    server / credits:manage
    TS server
    manageUsageEntity
    TS browser
    —
    Python / Go
    manage_usage_entity / ManageUsageEntity
  • readUsageAnalytics

    调用方 / 权限
    server / credits:read
    TS server
    readUsageAnalytics
    TS browser
    —
    Python / Go
    read_usage_analytics / ReadUsageAnalytics
  • readCreditAnalytics

    调用方 / 权限
    server / credits:read
    TS server
    readCreditAnalytics
    TS browser
    —
    Python / Go
    read_credit_analytics / ReadCreditAnalytics
  • submitUsageBatch

    调用方 / 权限
    server / credits:consume
    TS server
    submitUsageBatch
    TS browser
    —
    Python / Go
    submit_usage_batch / SubmitUsageBatch
  • readUsageBatch

    调用方 / 权限
    server / credits:read
    TS server
    readUsageBatch
    TS browser
    —
    Python / Go
    read_usage_batch / ReadUsageBatch
  • readLedger

    调用方 / 权限
    mixed / credits:read
    TS server
    readLedger
    TS browser
    readLedger
    Python / Go
    read_ledger / ReadLedger
  • readCreditStatement

    调用方 / 权限
    mixed / credits:read
    TS server
    readCreditStatement
    TS browser
    readCreditStatement
    Python / Go
    read_credit_statement / ReadCreditStatement
  • quoteBalance

    调用方 / 权限
    mixed / credits:read
    TS server
    quoteBalance
    TS browser
    quoteBalance
    Python / Go
    quote_balance / QuoteBalance
  • trackUsage

    调用方 / 权限
    server / credits:consume
    TS server
    trackUsage
    TS browser
    —
    Python / Go
    track_usage / TrackUsage
  • mutateBalance

    调用方 / 权限
    server / credits:consume
    TS server
    mutateBalance
    TS browser
    —
    Python / Go
    mutate_balance / MutateBalance
  • readSeats

    调用方 / 权限
    server / customers:read
    TS server
    readSeats
    TS browser
    —
    Python / Go
    read_seats / ReadSeats
  • manageSeat

    调用方 / 权限
    server / billing:write
    TS server
    manageSeat
    TS browser
    —
    Python / Go
    manage_seat / ManageSeat
  • setupPayment

    调用方 / 权限
    mixed / billing:write
    TS server
    setupPayment
    TS browser
    setupPayment
    Python / Go
    setup_payment / SetupPayment
  • readPaymentSetup

    调用方 / 权限
    mixed / billing:read
    TS server
    readPaymentSetup
    TS browser
    readPaymentSetup
    Python / Go
    read_payment_setup / ReadPaymentSetup
  • verifySubscriptions

    调用方 / 权限
    server / billing:read
    TS server
    verifySubscriptions
    TS browser
    —
    Python / Go
    verify_subscriptions / VerifySubscriptions
  • previewAttach

    调用方 / 权限
    mixed / billing:read
    TS server
    previewAttach
    TS browser
    previewAttach
    Python / Go
    preview_attach / PreviewAttach
  • attach

    调用方 / 权限
    mixed / billing:write
    TS server
    attach
    TS browser
    attach
    Python / Go
    attach / Attach
  • readSubscriptionOperation

    调用方 / 权限
    mixed / billing:read
    TS server
    readSubscriptionOperation
    TS browser
    readSubscriptionOperation
    Python / Go
    read_subscription_operation / ReadSubscriptionOperation
  • previewUpdate

    调用方 / 权限
    mixed / billing:read
    TS server
    previewUpdate
    TS browser
    previewUpdate
    Python / Go
    preview_update / PreviewUpdate
  • update

    调用方 / 权限
    mixed / billing:write
    TS server
    update
    TS browser
    update
    Python / Go
    update / Update
  • readSubscriptionUpdate

    调用方 / 权限
    mixed / billing:read
    TS server
    readSubscriptionUpdate
    TS browser
    readSubscriptionUpdate
    Python / Go
    read_subscription_update / ReadSubscriptionUpdate
  • listSubscriptions

    调用方 / 权限
    server / billing:read
    TS server
    listSubscriptions
    TS browser
    —
    Python / Go
    list_subscriptions / ListSubscriptions
  • listPurchases

    调用方 / 权限
    server / billing:read
    TS server
    listPurchases
    TS browser
    —
    Python / Go
    list_purchases / ListPurchases
  • listSubscriptionConflicts

    调用方 / 权限
    server / billing:read
    TS server
    listSubscriptionConflicts
    TS browser
    —
    Python / Go
    list_subscription_conflicts / ListSubscriptionConflicts
  • retrySubscriptionConflict

    调用方 / 权限
    server / billing:write
    TS server
    retrySubscriptionConflict
    TS browser
    —
    Python / Go
    retry_subscription_conflict / RetrySubscriptionConflict
  • manageSubscriptionTrial

    调用方 / 权限
    server / billing:write
    TS server
    manageSubscriptionTrial
    TS browser
    —
    Python / Go
    manage_subscription_trial / ManageSubscriptionTrial
  • readSubscriptionTrial

    调用方 / 权限
    server / billing:read
    TS server
    readSubscriptionTrial
    TS browser
    —
    Python / Go
    read_subscription_trial / ReadSubscriptionTrial
  • previewSubscriptionBatch

    调用方 / 权限
    server / billing:write
    TS server
    previewSubscriptionBatch
    TS browser
    —
    Python / Go
    preview_subscription_batch / PreviewSubscriptionBatch
  • confirmSubscriptionBatch

    调用方 / 权限
    server / billing:write
    TS server
    confirmSubscriptionBatch
    TS browser
    —
    Python / Go
    confirm_subscription_batch / ConfirmSubscriptionBatch
  • readSubscriptionBatch

    调用方 / 权限
    server / billing:read
    TS server
    readSubscriptionBatch
    TS browser
    —
    Python / Go
    read_subscription_batch / ReadSubscriptionBatch
  • abandonSubscriptionBatch

    调用方 / 权限
    server / billing:write
    TS server
    abandonSubscriptionBatch
    TS browser
    —
    Python / Go
    abandon_subscription_batch / AbandonSubscriptionBatch
  • listInvoiceTemplates

    调用方 / 权限
    server / billing:read
    TS server
    listInvoiceTemplates
    TS browser
    —
    Python / Go
    list_invoice_templates / ListInvoiceTemplates
  • previewInvoice

    调用方 / 权限
    server / billing:write
    TS server
    previewInvoice
    TS browser
    —
    Python / Go
    preview_invoice / PreviewInvoice
  • createInvoice

    调用方 / 权限
    server / billing:write
    TS server
    createInvoice
    TS browser
    —
    Python / Go
    create_invoice / CreateInvoice
  • manageInvoice

    调用方 / 权限
    server / billing:write
    TS server
    manageInvoice
    TS browser
    —
    Python / Go
    manage_invoice / ManageInvoice
  • readInvoiceOperation

    调用方 / 权限
    server / billing:read
    TS server
    readInvoiceOperation
    TS browser
    —
    Python / Go
    read_invoice_operation / ReadInvoiceOperation
  • listInvoices

    调用方 / 权限
    server / billing:read
    TS server
    listInvoices
    TS browser
    —
    Python / Go
    list_invoices / ListInvoices
  • getInvoice

    调用方 / 权限
    server / billing:read
    TS server
    getInvoice
    TS browser
    —
    Python / Go
    get_invoice / GetInvoice
  • previewRefund

    调用方 / 权限
    server / billing:read
    TS server
    previewRefund
    TS browser
    —
    Python / Go
    preview_refund / PreviewRefund
  • refund

    调用方 / 权限
    server / billing:write
    TS server
    refund
    TS browser
    —
    Python / Go
    refund / Refund
  • readRefund

    调用方 / 权限
    server / billing:read
    TS server
    readRefund
    TS browser
    —
    Python / Go
    read_refund / ReadRefund
  • readBillingControls

    调用方 / 权限
    customer / billing:read
    TS server
    —
    TS browser
    readBillingControls
    Python / Go
    —
  • prepareBillingAuthorization

    调用方 / 权限
    customer / billing:write
    TS server
    —
    TS browser
    prepareBillingAuthorization
    Python / Go
    —
  • confirmBillingAuthorization

    调用方 / 权限
    customer / billing:write
    TS server
    —
    TS browser
    confirmBillingAuthorization
    Python / Go
    —
  • setBillingCoupons

    调用方 / 权限
    customer / billing:write
    TS server
    —
    TS browser
    setBillingCoupons
    Python / Go
    —
  • revokeBillingAuthorization

    调用方 / 权限
    customer / billing:write
    TS server
    —
    TS browser
    revokeBillingAuthorization
    Python / Go
    —
  • listBillingInvoices

    调用方 / 权限
    customer / billing:read
    TS server
    —
    TS browser
    listBillingInvoices
    Python / Go
    —
  • manageBillingLimits

    调用方 / 权限
    server / billing:write
    TS server
    manageBillingLimits
    TS browser
    —
    Python / Go
    manage_billing_limits / ManageBillingLimits
  • readBillingInvoice

    调用方 / 权限
    mixed / billing:read
    TS server
    readBillingInvoice
    TS browser
    readBillingInvoice
    Python / Go
    read_billing_invoice / ReadBillingInvoice
  • recordMerchantEvent

    调用方 / 权限
    server / billing:write
    TS server
    recordMerchantEvent
    TS browser
    —
    Python / Go
    record_merchant_event / RecordMerchantEvent
  • prepareBillingAdjustment

    调用方 / 权限
    server / billing:write
    TS server
    prepareBillingAdjustment
    TS browser
    —
    Python / Go
    prepare_billing_adjustment / PrepareBillingAdjustment
  • confirmBillingAdjustment

    调用方 / 权限
    customer / billing:write
    TS server
    —
    TS browser
    confirmBillingAdjustment
    Python / Go
    —
  • redeemCoupon

    调用方 / 权限
    customer / offers:resolve
    TS server
    —
    TS browser
    redeemCoupon
    Python / Go
    —
  • listOffers

    调用方 / 权限
    customer / offers:resolve
    TS server
    —
    TS browser
    listOffers
    Python / Go
    —
  • grantOffer

    调用方 / 权限
    mixed / offers:grant
    TS server
    grantOffer
    TS browser
    claimCoupon
    Python / Go
    grant_offer / GrantOffer
  • grantModelBenefit

    调用方 / 权限
    server / offers:grant
    TS server
    grantModelBenefit
    TS browser
    —
    Python / Go
    grant_model_benefit / GrantModelBenefit
  • readModelBenefit

    调用方 / 权限
    server / offers:grant
    TS server
    readModelBenefit
    TS browser
    —
    Python / Go
    read_model_benefit / ReadModelBenefit
  • redeemReward

    调用方 / 权限
    customer / offers:resolve
    TS server
    —
    TS browser
    redeemReward
    Python / Go
    —
  • createReferralCode

    调用方 / 权限
    customer / offers:resolve
    TS server
    —
    TS browser
    createReferralCode
    Python / Go
    —
  • claimRewardProduct

    调用方 / 权限
    customer / offers:resolve
    TS server
    —
    TS browser
    claimRewardProduct
    Python / Go
    —
  • getFeatures

    调用方 / 权限
    mixed / features:read
    TS server
    getFeatures
    TS browser
    features
    Python / Go
    get_features / GetFeatures
  • evaluateFeatures

    调用方 / 权限
    mixed / features:read
    TS server
    evaluateFeatures
    TS browser
    features
    Python / Go
    evaluate_features / EvaluateFeatures
  • trackEvents

    调用方 / 权限
    mixed / events:write
    TS server
    trackEvents
    TS browser
    track / flush
    Python / Go
    track_events / TrackEvents
  • restoreNativePurchase

    调用方 / 权限
    mixed / billing:write
    TS server
    restoreNativePurchase
    TS browser
    restoreNativePurchase
    Python / Go
    restore_native_purchase / RestoreNativePurchase
  • readAiPricing

    调用方 / 权限
    server / credits:read
    TS server
    readAiPricing
    TS browser
    —
    Python / Go
    read_ai_pricing / ReadAiPricing
  • getCodeReferenceConfig

    调用方 / 权限
    server / code-references:read
    TS server
    —
    TS browser
    —
    Python / Go
    get_code_reference_config / GetCodeReferenceConfig
  • submitCodeReferences

    调用方 / 权限
    server / code-references:write
    TS server
    —
    TS browser
    —
    Python / Go
    submit_code_references / SubmitCodeReferences

相关:Funnel 命令、内容与公开入口