# Platform and capability support

SDK platforms, credentials, permissions, methods and implementation coverage.

Last updated: 2026-11-06

[Web version](https://www.longplayai.com/docs/guides/platforms)

<a id="platforms"></a>

## Choose an integration platform

**SDKs and tools**

| Platform | Version | Purpose and credentials |
| --- | --- | --- |
| JavaScript / TypeScript | Latest stable | Server Key on the backend; Customer Token in browsers, with data, evaluation and presentation entries. |
| Python | Latest stable | Server Key; sync and async server methods, including sessions, payments, offers, invoices, balances, Customer messaging and Funnel decisions. |
| Go | Latest stable | Server Key; a goroutine-safe server client with the same operation coverage as Python, including sessions and Funnel decisions. |
| React Native | Latest stable | Independent npm package using Customer Tokens; integrate the native host following its platform guide. |
| iOS / Swift | Latest stable | SwiftPM; Customer Token and native host; trusted writes such as usage go through the merchant backend. |
| Android / Kotlin | Latest stable | Maven; Customer Token and native host; trusted writes such as usage go through the merchant backend. |
| Longplay CLI | 0.3.23 | User-approved management delegation for configuration, drafts, checks and authorized publication. |

> Business SDKs use protocol 0.10. Installation does not imply identical methods across languages; native presentation, store purchases and providers have their own prerequisites. Follow platform guides and the implemented entries below.

- [Installation](https://www.longplayai.com/docs/install.md)
- [javascript](https://www.longplayai.com/docs/sdk/javascript.md)
- [python](https://www.longplayai.com/docs/sdk/python.md)
- [go](https://www.longplayai.com/docs/sdk/go.md)
- [react-native](https://www.longplayai.com/docs/sdk/react-native.md)
- [native](https://www.longplayai.com/docs/sdk/native.md)
- [cli](https://www.longplayai.com/docs/cli.md)

<a id="operations"></a>

## HTTP operation and SDK method support

The table comes from the current contracts and method catalog. Server/Customer identifies accepted runtime credentials; the credential must still hold the permission. — means no direct SDK method: use HTTP only where the operation's audience permits it. See each operation's reference for its prerequisites and branch limitations.

**Current operations**

| Operation | Audience / permission | TS server | TS browser | Python / Go |
| --- | --- | --- | --- | --- |
| sendMessage | server / messaging:write | sendMessage | — | send_message / SendMessage |
| readMessage | server / messaging:write | readMessage | — | read_message / ReadMessage |
| bindPushInstallation | customer / messaging:write | — | push.sync | — |
| readPushInstallation | customer / messaging:write | — | push.read | — |
| updatePushAddress | customer / messaging:write | — | push.sync | — |
| readMessagingPreference | customer / messaging:write | — | messaging.preference | — |
| setMessagingPreference | customer / messaging:write | — | messaging.setPreference | — |
| resolveContent | mixed / content:read | resolveContent | resolveContent | resolve_content / ResolveContent |
| createCustomer | server / customers:write | getOrCreateCustomer | — | get_or_create_customer / GetOrCreateCustomer |
| getCustomer | server / customers:read | getCustomer | — | get_customer / GetCustomer |
| listCustomers | server / customers:read | listCustomers | — | list_customers / ListCustomers |
| updateCustomer | server / customers:write | updateCustomer | — | update_customer / UpdateCustomer |
| createSession | server / sessions:create | createCustomerSession | — | create_session / CreateSession |
| refreshSession | refresh / sessions:create | — | session.refresh | — |
| revokeSessions | server / sessions:create | revokeCustomerSessions | — | revoke_sessions / RevokeSessions |
| createGuestCustomer | server / sessions:create | createGuestCustomer | — | create_guest_customer / CreateGuestCustomer |
| resumeGuestSession | server / sessions:create | resumeGuestSession | — | resume_guest_session / ResumeGuestSession |
| claimGuestCustomer | server / customers:write | claimGuestCustomer | — | claim_guest_customer / ClaimGuestCustomer |
| checkEntitlement | mixed / entitlements:read | checkEntitlement | checkEntitlement | check_entitlement / CheckEntitlement |
| resolveOffering | mixed / entitlements:read | resolveOffering | resolveOffering | resolve_offering / ResolveOffering |
| resolvePaywall | mixed / entitlements:read | resolvePaywall | resolvePaywall | resolve_paywall / ResolvePaywall |
| readHoldings | mixed / entitlements:read | readHoldings | readHoldings | read_holdings / ReadHoldings |
| readBalanceSource | server / credits:read | readBalanceSource | — | read_balance_source / ReadBalanceSource |
| adjustBalance | server / credits:manage | adjustBalance | — | adjust_balance / AdjustBalance |
| readUsage | server / credits:read | readUsage | — | read_usage / ReadUsage |
| setUsage | server / credits:manage | setUsage | — | set_usage / SetUsage |
| manageBalanceGrant | server / credits:manage | manageBalanceGrant | — | manage_balance_grant / ManageBalanceGrant |
| listBalanceGrants | server / credits:read | listBalanceGrants | — | list_balance_grants / ListBalanceGrants |
| manageUsageEntity | server / credits:manage | manageUsageEntity | — | manage_usage_entity / ManageUsageEntity |
| readUsageAnalytics | server / credits:read | readUsageAnalytics | — | read_usage_analytics / ReadUsageAnalytics |
| readCreditAnalytics | server / credits:read | readCreditAnalytics | — | read_credit_analytics / ReadCreditAnalytics |
| submitUsageBatch | server / credits:consume | submitUsageBatch | — | submit_usage_batch / SubmitUsageBatch |
| readUsageBatch | server / credits:read | readUsageBatch | — | read_usage_batch / ReadUsageBatch |
| readLedger | mixed / credits:read | readLedger | readLedger | read_ledger / ReadLedger |
| readCreditStatement | mixed / credits:read | readCreditStatement | readCreditStatement | read_credit_statement / ReadCreditStatement |
| quoteBalance | mixed / credits:read | quoteBalance | quoteBalance | quote_balance / QuoteBalance |
| trackUsage | server / credits:consume | trackUsage | — | track_usage / TrackUsage |
| mutateBalance | server / credits:consume | mutateBalance | — | mutate_balance / MutateBalance |
| readSeats | server / customers:read | readSeats | — | read_seats / ReadSeats |
| manageSeat | server / billing:write | manageSeat | — | manage_seat / ManageSeat |
| setupPayment | mixed / billing:write | setupPayment | setupPayment | setup_payment / SetupPayment |
| readPaymentSetup | mixed / billing:read | readPaymentSetup | readPaymentSetup | read_payment_setup / ReadPaymentSetup |
| verifySubscriptions | server / billing:read | verifySubscriptions | — | verify_subscriptions / VerifySubscriptions |
| previewAttach | mixed / billing:read | previewAttach | previewAttach | preview_attach / PreviewAttach |
| attach | mixed / billing:write | attach | attach | attach / Attach |
| readSubscriptionOperation | mixed / billing:read | readSubscriptionOperation | readSubscriptionOperation | read_subscription_operation / ReadSubscriptionOperation |
| previewUpdate | mixed / billing:read | previewUpdate | previewUpdate | preview_update / PreviewUpdate |
| update | mixed / billing:write | update | update | update / Update |
| readSubscriptionUpdate | mixed / billing:read | readSubscriptionUpdate | readSubscriptionUpdate | read_subscription_update / ReadSubscriptionUpdate |
| listSubscriptions | server / billing:read | listSubscriptions | — | list_subscriptions / ListSubscriptions |
| listPurchases | server / billing:read | listPurchases | — | list_purchases / ListPurchases |
| listSubscriptionConflicts | server / billing:read | listSubscriptionConflicts | — | list_subscription_conflicts / ListSubscriptionConflicts |
| retrySubscriptionConflict | server / billing:write | retrySubscriptionConflict | — | retry_subscription_conflict / RetrySubscriptionConflict |
| manageSubscriptionTrial | server / billing:write | manageSubscriptionTrial | — | manage_subscription_trial / ManageSubscriptionTrial |
| readSubscriptionTrial | server / billing:read | readSubscriptionTrial | — | read_subscription_trial / ReadSubscriptionTrial |
| previewSubscriptionBatch | server / billing:write | previewSubscriptionBatch | — | preview_subscription_batch / PreviewSubscriptionBatch |
| confirmSubscriptionBatch | server / billing:write | confirmSubscriptionBatch | — | confirm_subscription_batch / ConfirmSubscriptionBatch |
| readSubscriptionBatch | server / billing:read | readSubscriptionBatch | — | read_subscription_batch / ReadSubscriptionBatch |
| abandonSubscriptionBatch | server / billing:write | abandonSubscriptionBatch | — | abandon_subscription_batch / AbandonSubscriptionBatch |
| listInvoiceTemplates | server / billing:read | listInvoiceTemplates | — | list_invoice_templates / ListInvoiceTemplates |
| previewInvoice | server / billing:write | previewInvoice | — | preview_invoice / PreviewInvoice |
| createInvoice | server / billing:write | createInvoice | — | create_invoice / CreateInvoice |
| manageInvoice | server / billing:write | manageInvoice | — | manage_invoice / ManageInvoice |
| readInvoiceOperation | server / billing:read | readInvoiceOperation | — | read_invoice_operation / ReadInvoiceOperation |
| listInvoices | server / billing:read | listInvoices | — | list_invoices / ListInvoices |
| getInvoice | server / billing:read | getInvoice | — | get_invoice / GetInvoice |
| previewRefund | server / billing:read | previewRefund | — | preview_refund / PreviewRefund |
| refund | server / billing:write | refund | — | refund / Refund |
| readRefund | server / billing:read | readRefund | — | read_refund / ReadRefund |
| readBillingControls | customer / billing:read | — | readBillingControls | — |
| prepareBillingAuthorization | customer / billing:write | — | prepareBillingAuthorization | — |
| confirmBillingAuthorization | customer / billing:write | — | confirmBillingAuthorization | — |
| setBillingCoupons | customer / billing:write | — | setBillingCoupons | — |
| revokeBillingAuthorization | customer / billing:write | — | revokeBillingAuthorization | — |
| listBillingInvoices | customer / billing:read | — | listBillingInvoices | — |
| manageBillingLimits | server / billing:write | manageBillingLimits | — | manage_billing_limits / ManageBillingLimits |
| readBillingInvoice | mixed / billing:read | readBillingInvoice | readBillingInvoice | read_billing_invoice / ReadBillingInvoice |
| recordMerchantEvent | server / billing:write | recordMerchantEvent | — | record_merchant_event / RecordMerchantEvent |
| prepareBillingAdjustment | server / billing:write | prepareBillingAdjustment | — | prepare_billing_adjustment / PrepareBillingAdjustment |
| confirmBillingAdjustment | customer / billing:write | — | confirmBillingAdjustment | — |
| redeemCoupon | customer / offers:resolve | — | redeemCoupon | — |
| listOffers | customer / offers:resolve | — | listOffers | — |
| grantOffer | mixed / offers:grant | grantOffer | claimCoupon | grant_offer / GrantOffer |
| grantModelBenefit | server / offers:grant | grantModelBenefit | — | grant_model_benefit / GrantModelBenefit |
| readModelBenefit | server / offers:grant | readModelBenefit | — | read_model_benefit / ReadModelBenefit |
| redeemReward | customer / offers:resolve | — | redeemReward | — |
| createReferralCode | customer / offers:resolve | — | createReferralCode | — |
| claimRewardProduct | customer / offers:resolve | — | claimRewardProduct | — |
| getFeatures | mixed / features:read | getFeatures | features | get_features / GetFeatures |
| evaluateFeatures | mixed / features:read | evaluateFeatures | features | evaluate_features / EvaluateFeatures |
| trackEvents | mixed / events:write | trackEvents | track / flush | track_events / TrackEvents |
| restoreNativePurchase | mixed / billing:write | restoreNativePurchase | restoreNativePurchase | restore_native_purchase / RestoreNativePurchase |
| readAiPricing | server / credits:read | readAiPricing | — | read_ai_pricing / ReadAiPricing |
| getCodeReferenceConfig | server / code-references:read | — | — | get_code_reference_config / GetCodeReferenceConfig |
| submitCodeReferences | server / code-references:write | — | — | submit_code_references / SubmitCodeReferences |

- [Funnel commands, content and public endpoints](https://www.longplayai.com/docs/api/operations.md)
