DPAuth.IO

Developer FAQ

Build with DPAuth without guessing.

Find answers about sign-in, licensing, billing and offline access when you build a product with DPAuth.

For organization setup, private testing, publication and customer support, follow the developer journey.

Integration Foundations

9 answers
Can I try my plans before launching to customers?
test planstrialdeveloperpricinglaunch

Yes. Every new plan is ready for testing as soon as you create it; there is no separate test enrollment or approval. From Applications, open the plan’s Test Portal to try quantities, devices, downloads, entitlements, top-ups, refunds, and renewals. Each developer in your active organization starts with one license per plan. Return to the same test subscription to keep your changes. Keep at least one test license; test subscriptions cannot be canceled and their final license cannot be refunded. Test Portal changes and test refund decisions are available only through the signed-in website, not an Organization API key. Test purchases do not require a payment method.

Use your application’s usual sign-in screen to try Runtime access. Your developer credentials make eligible test subscriptions appear in the normal subscription list; no SDK setting or special sign-in option is needed. If you also have a subscriber account at the same email address, a password shows only the subscriptions belonging to the account it matches. A password that matches both accounts, or a fresh one-time email code, can show both accounts’ eligible subscriptions for that application.

Testing is free. Test purchases, license changes, and entitlement top-ups cost nothing. Test Runtime use is free, and Test plans have no monthly plan fee. Reviews keep your normal prices visible, but no money is charged. Test plans stay off your public organization page and customers cannot buy them. Organization maintenance and unrelated Organization API charges still follow normal pricing. Creating an organization still requires a connected Stripe account; an eligible active organization can test before its Stripe account is ready for live payments.

To change an active plan’s mode, choose Toggle Test Mode in its Applications menu, move the switch, then select Save Test mode. The dialog explains any current blocker before you can make a change. Turning Test mode off publishes the plan; your connected Stripe account must be ready to accept live payments. Publishing removes this plan’s test subscriptions and automatic test settings. Your authorized test transaction history is kept. Downloaded files expire as usual; test subscriptions never become paid subscriptions. A published plan can return to Test only when real subscriptions and unfinished payments or changes do not conflict; old test access does not become valid again.

How does hosted signup review work for a free plan?
free planhosted signupsignup reviewreplay

After email verification, DPAuth reviews the selected free one-time plan and quantity without creating a Stripe tax quote, payment setup, or charge. The returned net, tax, and gross amounts are all zero. The preview reference is a signup review reference, not a tax quote or proof that the subscription is active.

The review expires at the earlier of the original confirmation expiry and ten minutes after its first accepted review. This does not extend the separate request replay deadline. Exact retries keep the original reference and clocks. A lost reply or later plan change does not turn the same attempt into a paid preview.

Final confirmation requires the accepted review and current plan details. DPAuth activates the free subscription and consumes any invitation together, without a Stripe charge. A completed retry returns the original result while the original verified confirmation and request replay window remain valid; later plan or review changes do not reprice that result. If original completion evidence cannot be recovered, reconcile with the organization before another attempt.

  • Confirmed invitations to non-public plans use the same supported hosted review.
  • If DPAuth requests another review, review the current details before submitting again; do not automatically create a new attempt.
  • If DPAuth cannot recover the original signup evidence, contact the organization to reconcile it before trying again.
What is the smallest useful DPAuth integration I should build first?
getting startedfirst integrationruntimeprotected app

Start with one testable path before adding advanced billing, offline downloads, device recovery or automation. Create and verify your developer account, then use Contact Us to describe your application. DPAuth reviews the request before issuing an organization creation code. After approval, set up your organization, application and first plan. Connect Runtime and test how access changes with the subscription or device.

  • Use the creation code from your email to set up your organization, then create an application and its first plan.
  • Use your developer test subscription while the plan is in Test Mode.
  • Keep the Runtime configuration private and follow your selected integration guide.
  • Check access at startup and before protected actions.
  • Test denial states before expanding the integration.
Can I use DPAuth before moving all subscriber billing into it?
adoptionbilling boundaryexternal billingprovisioning

Yes. DPAuth can be useful for internal software, partner access, protected desktop apps, downloadable credentials, device-aware access, zero-price subscriptions, or organization-managed provisioning. Zero-price subscriber plans are one-time offers without paid subscriber checkout, though organization, plan, and billable API charges still apply. Non-zero paid subscriber subscriptions use DPAuth-managed hosted billing; there is no general external recurring-purchase or native store-receipt ingestion flow that creates and renews them. If your mobile app sells digital features, choose its purchase flow by product and storefront rules: DPAuth sign-in or billing does not approve a store-policy exception.

  • Good first fit: protected access, internal software, offline credentials, device-aware licensing.
  • Zero-price and organization-managed provisioning can be useful without hosted paid checkout.
  • Non-zero paid subscriber signup uses a verified signup confirmation token plus Stripe Payment Element provider ids.
  • Do not describe it as a generic external recurring-billing ingestion layer yet.
How should I plan purchases in a mobile app?
mobile billingApple App StoreGoogle Playstorefrontpurchase flow

Map the product, what customers buy, and their storefront before choosing checkout. Apple currently permits external purchase calls to action in U.S. storefront apps without the special link entitlement; other storefronts have region-specific rules. Google Play generally requires Play Billing for digital goods. Its U.S. external-content-links program requires enrollment and approval, its APIs, required disclosures, reporting, and applicable fees; other regional programs may have different conditions. Existing-account sign-in or a companion app may follow different rules, but neither automatically qualifies for an exception. DPAuth supports subscriber authentication and its managed billing flow; app store sign-in does not approve a purchase design, and native Apple or Google transactions do not create or renew DPAuth subscriptions through a built-in receipt-ingestion flow. Check the current official rules for each storefront before release.

  • Map the product, purchase, and customer storefront before choosing the checkout path.
  • Confirm current regional rules and any program enrollment before release.
  • A DPAuth access decision does not validate an app store transaction.
Which DPAuth API or hosted page should I use?
api selectionruntime apiorg apibrowserportal

Use the Runtime API from software used by subscribers to sign in and check product access. Use the Organization API from a controlled backend, automation tool, CI/CD system, or trusted administrative desktop to manage organization-owned resources. Use the Developer Dashboard for developer account and browser-based organization management. Use the Subscriber Portal for subscriber account, payment, session, device, and subscription actions.

  • Runtime API: shipped software signing in subscribers or checking whether product access is allowed.
  • Organization API: caller-owned credentials on a controlled server, VM, container, CI/CD system, CLI, or trusted administrative desktop; never DPAuth admin endpoints.
  • Developer Dashboard: developer account settings and browser-based management for organizations, applications, plans, credentials, subscriptions, and billing.
  • Subscriber Portal: account, payment, session, device, and subscription actions.
  • Organization packages ship no default/shared credential and do not persist one implicitly. Browser, WebView, mobile, and other distributed clients must not embed an Organization credential; place that authority behind a controlled backend or external signer.
Can I call the Organization API from my DevOps stack?
devopsci cdorganization apiruntime secretsautomation

Yes. CI/CD, release automation, provisioning jobs, and trusted organization tooling are valid places to use the Organization API when they run under controlled infrastructure. Use it to create or inspect organization-owned application state, rotate runtime keys, manage plans, provision test subscriptions, or wire deployment secrets. The Organization API cannot access DPAuth admin endpoints and cannot be combined with an Admin Access Token; admin access is available only through the DPAuth Admin Console. Treat the Organization API key like a production organization secret, not like a build variable that can leak into logs or artifacts.

  • Good uses: CI/CD, backend provisioning, release automation, organization-scoped tooling.
  • Never use an Organization API Key for DPAuth admin endpoints or with an Admin Access Token.
  • Bad uses: shipped clients, browser code, installers, customer config, public repos.
  • Store Organization API keys in a secret manager.
  • Mask command output and CI logs.
  • Push returned runtime secrets into deployment secret storage immediately.
Which IP address does DPAuth use for Organization API and Runtime network rules?
ip policynetwork rulesorg apiruntimenat egress

DPAuth evaluates Organization API key and application Runtime-secret IP policies against the caller's public source address. Caller-supplied forwarding headers do not change that address. Configure allow rules for the real outbound or NAT egress addresses of your backend or Runtime caller.

  • Block rules take precedence over allow rules.
  • If allow rules exist, the observed IPv4 or IPv6 source must match one of them.
  • Update the credential policy before an intentional NAT, VPN, hosting-region, or egress-address change.
  • Hosted Runtime authorization does not add exact-IP matching, but the runtime secret's independent network policy still applies to every signed poll.
What still belongs in my own backend?
backendserver-side enforcementproduct logicaccess checks

DPAuth answers subscription and access questions while your backend remains responsible for your product’s data and behavior. Keep paid exports, cloud sync, jobs, and other private or expensive actions behind your own service, and use the current DPAuth access result when serving them.

  • DPAuth decides access; your product decides product behavior.
  • Keep high-value server data behind server-side checks.
  • Do not trust a patched client to protect paid server actions.
  • Use DPAuth claims and payloads as inputs, not as your entire product model.

Runtime and Device Behavior

12 answers
When do I start authorization, refresh access, check status, and log out?
issuerefreshstatuslogouttoken lifecycle

Start the normal SDK sign-in flow when the application needs subscriber access. Hosted interactive authorization returns a complete, short-lived verification URL; the separate emailed subscriber-proof flow uses its secure link or six-character code. After account proof, the subscriber approves subscriptions for that application, and the original requester presents the approved catalog, including paging, for one explicit selection. With a compatible client and separate device-linking consent, the server registers the selected subscription’s device if needed and issues access in that same final result. The SDK retains the returned key and token safely before reporting success; there is no separate caller-driven registration or continuation step. A current registered key is reused, and attachment to an existing shared installation requires proof of its held key. Standalone activation remains intentional provisioning. Sign-in and device-linking support depends on the SDK package and version. Follow the selected package guide for API details, setup requirements and environment limits.

Refresh before a short-lived access token expires. When the subscriber requested persistence and the plan allowed it, refresh with the latest rotating, bounded runtimeRefreshToken and the required deviceProof. Check status when the application needs an explicit current-access decision. Log out with an access token for local session shutdown, or with runtimeRefreshToken to revoke the persisted Runtime session. A bound logout needs installation proof even when a token retains its binding after the plan relaxes its device policy.

  • Start hosted interactive or emailed subscriber-proof authorization for first activation, sign-in, or missing-token recovery.
  • Treat the hosted verification URI as the complete browser destination; do not invent or append a device code.
  • Refresh before expiry for online sessions that support it.
  • Status on startup, resume, account switch, and before high-value actions.
  • Logout is not universal: downloaded and persistent token behavior differs.
  • Do not treat the first issued token as permanent permission.
When should I turn on device binding or downloaded credentials?
device bindingofflinedownloaded credentialsair-gapped

Use device binding when copied installs, casual sharing, or uncontrolled redistribution would materially hurt the product. Use downloaded credentials when the product must run offline, in field environments, kiosks, industrial sites, or air-gapped deployments. These controls are powerful, but they increase support responsibility, so enable them because the risk requires it, not because the feature exists.

  • Good fit: desktop tools, industrial software, kiosks, field devices, high-value offline apps.
  • Weak fit: simple online-only products where normal sessions are enough.
  • Plan recovery before launch: lost keys, replaced devices, cloned machines, expired offline packages.
  • Downloaded credentials must be verified before decrypting and trusting contents.
How should I design offline or air-gapped behavior?
offlineair-gappedreconnectrevocation

For air-gapped use, an eligible subscriber signs in to the Portal on a connected computer and chooses Download. For hardware-bound access, select the registered hardware and choose Download ZIP. Confirm you received the ZIP to see the two passwords. Save them separately from the files and extract the .derf credential and its matching .goon certificate. If hardware is missing, follow the publisher’s directions to the correct product and organization’s subscription, choose I don’t see my hardware, and provide a recognizable label and the exact SDK-produced hardware report exposed by the target application. Copy that report unchanged; if it is not exposed, contact the publisher. Registration needs no private keys, application credentials or file uploads. Portal registration refreshes the list; select the new device. If you register in the application instead, choose Refresh devices when you return. The approving browser does not identify the target installation. Unbound plans go directly to credential download. A current owner of an associated subscription can re-download the same portable key from a current Portal session without consuming a subscription seat. Certificate replacement may require a new .derf for the new key. Shared-certificate import support depends on the SDK package and version. Follow the selected package guide for supported formats, setup requirements and environment limits. An older file is not converted into the new format. Transfer each file and password securely, then import and validate them on the isolated device. A fresh valid import can make local-only authorization decisions without an initial network request, subject to signature, device binding, trusted-time, integrity, and absolute token-expiry checks. The signed token expiry comes from its configured lifetime, bounded by the next scheduled charge or subscription end when either exists. Every new .derf download consumes another available seat, even for the same device, and leaves the older credential and its expiry unchanged. Pending refunds or paid subscription changes may temporarily reserve seats; an identical retry of the completed download, with its original request key and authority within the recovery window, can return the original file and password without another seat. Arrange the next connected download and transfer in advance; new downloaded access can be issued only when the current seat, subscription, and device rules allow it. Local authorization cannot know a later server revocation or spend shared entitlements; those require an online operation.

  • Choose online-required, local-only, or online-preferred explicitly.
  • Never extend local use beyond the token's signed exp value.
  • Authenticate downloaded packages, token signatures, bindings, trusted time, and protected state before authorizing locally.
  • Show clear expiry and recovery messages.
  • A definitive server denial supersedes cached or local allow; network absence alone does not destroy credential material.
Can a user reopen my application and sign in while offline?
offline loginpersistent access tokenrestartlocal authorizationderfgoon

There is no new DPAuth server login while the application is offline. Instead, the application reopens an SDK-protected profile and asks for a separately labeled local authorization decision. If the plan granted persistence, the persistent access token may be long-lived and should survive ordinary application close. On restart, validate that retained token and every local gate; when a network is available and the scheduled check is due, ask DPAuth for current status. If the network is unavailable, the retained token can still authorize locally through its signed absolute expiry when the plan and all local checks permit it.

A fully air-gapped installation uses an imported downloaded .derf credential and a matching .goon device certificate when hardware binding requires it; unbound access needs no certificate. A compatible shared certificate may serve separate subscriptions, but every .derf retains its own rights, password, seat and expiry. This is not a fresh server login or remembered-session consent. Shared-certificate import support depends on the SDK package and version. Follow the selected package guide for supported formats, setup requirements and environment limits.

  • Process close is not logout. Keep persistence-granted access and refresh authority in the SDK protected profile store.
  • Passive access tokens remain memory-only and cannot be upgraded into persistent or downloaded authority by the application.
  • Show authorized_local or denied_local for an offline decision; do not claim currentlyValid=true or current server standing.
  • Perform one scheduled status check when connectivity is available; do not send a status request on every UI render or feature gate.
  • Downloaded .derf access can restart without a network bootstrap and remains bounded by token exp, trusted time, binding, integrity, and protected-state gates.
  • Entitlement consumption and every other server-side change still require an authoritative online operation.
Why does a downloaded credential use Argon2id?
Argon2iddownload passwordderfgoonoffline credential

Each .derf has a password for that exact file. New .goon copies for the same installation key share a password. Argon2id uses memory and repeated work to turn the password into the file-encryption key. Your file password is separate from your Subscriber Portal password. For eligible files, use File password in Usage for the exact credential or open Device Certificate under Devices for the current certificate. Choose Show password to reveal it briefly. Older randomly protected files still need the password saved with the original file. If your offline download is interrupted, select Download ZIP again for the same device. The Portal reuses the original request when it can. Use the earlier-request notice to review an older download.

  • DPAuth verifies the signed request and its size limits before checking the artifact password.
  • DPAuth clears the password and key buffers it owns after use.
  • Keep artifact passwords in mutable buffers, clear application-owned copies immediately after import, and never persist them by default.
  • Use the official SDK importer rather than implementing Argon2id or artifact decryption yourself.
Can I ship a runtime credential in a desktop or mobile app?
runtime credentialdesktop appmobile appshipped client

Sometimes, but assume a capable attacker controlling the host or process can ultimately extract client-usable material. The Runtime .NET SDK uses portable, per-application and per-build diversified, two-layer authenticated encryption to resist plaintext discovery, straightforward package extraction, and direct credential-file transplantation. An OS keystore or secure hardware is optional additional defense, not a requirement. Local decryption alone is never authorization; a separate local/offline authorization decision must recheck the exact token signature and claims, bindings, trusted time and absolute expiry, protected profile state, definitive server-denial state, and keyed in-memory integrity. That local result still does not claim current server standing.

  • A runtime credential may identify the application, but it does not make the client trustworthy.
  • Never ship an organization API key instead.
  • Never rely on one universal SDK key or one obvious key beside one encrypted blob.
  • Rotate runtime credentials when builds leak or abuse patterns change.
  • Keep valuable server-side actions behind a backend when possible.
What should every runtime request include?
runtime headerssignaturebody hashcorrelation id

Every runtime request must include exactly one Idempotency-Key and the signed application runtime header must authenticate that exact value. SDKs may send X-DPAUTH-REPLAY-WINDOW-SECONDS only as an equality precondition for the expected server policy; it does not request a shorter or longer window. A different valid value still permits recovery of a matching unexpired generation but rejects fresh admission with idempotency_policy_changed. SDKs must read X-DPAUTH-REPLAY-WINDOW-SECONDS plus X-DPAUTH-REPLAY-EXPIRES-AT from responses to shorten, never extend, the original client retry deadline. JSON requests send Content-Type and sign the body hash after the key as documented. Credential status, entitlement status, and entitlement consume require the issued access token only in the DPAUTH-RUNTIME authorization header; do not send issuedToken in the body. Refresh and logout can also use runtimeRefreshToken in the JSON body where documented. Production clients should also send a correlation ID so failures can be traced across support and logs.

  • X-DPAUTH-APPRUNTIME on every runtime call.
  • Exactly one 1-128 character visible-ASCII Idempotency-Key on every runtime call. Mutation recovery requires the same actor, originating session, Runtime application/credential lane, method, path, and input before the configured replay deadline (60 seconds from first use). Changed input in that scope conflicts; another session/actor/lane or an expired window treats the key as fresh.
  • Optional X-DPAUTH-REPLAY-WINDOW-SECONDS exact-policy precondition; it never selects the server window. Responses expose the admitted X-DPAUTH-REPLAY-WINDOW-SECONDS and ISO-8601 UTC X-DPAUTH-REPLAY-EXPIRES-AT values.
  • Content-Type: application/json for JSON bodies.
  • Body hash in the signature material when a JSON body is present.
  • Authorization: DPAUTH-RUNTIME for access-token refresh, access-token logout, status, and entitlement calls where required.
  • X-Correlation-Id for production diagnostics.
How should my integration traverse DPAuth collections?
paginationcursorLink headercollection limits

Request one page only when your caller needs it. The common page default is 50 and the hard maximum is 100; some public catalogs use a lower documented maximum. Wrapped responses return hasMore and nextCursor, while public raw-array responses advertise the next page through the Link header. A continuation belongs to the same authenticated scope, filters, and sort and cannot be reused elsewhere.

  • Propagate caller cancellation and expose explicit maximum-page or maximum-item controls.
  • Keep the same cursor and request input when retrying a page. Inventory reads return current state; an idempotency key does not freeze the page.
  • Stop on an invalid or repeated cursor; never download an entire account by default.
  • Capped Organization API CSV exports retain their row and byte limits. Approved Organization API and website complete exports stream as ZIP files containing CSV parts; every part includes its own header and is limited to 10,000 rows and 16 MiB uncompressed, with no aggregate cap on the full download.
How should I design hardwareHash?
hardwareHashdevice identityprivacydevice binding

Design hardwareHash as a stable, privacy-preserving device identity for your product. It should survive ordinary restarts and updates, but it should not expose raw hardware identifiers. Hash or HMAC source identifiers before sending them to DPAuth, and decide what happens for VMs, cloned images, profile resets, hardware replacement, and reinstallation. The hardware report does not authorize key discovery, attachment or export; bound access also requires the exact installation key and signed binding proof.

  • Do not send raw BIOS serials, MAC addresses, IMEI values, or raw OS identifiers.
  • Prefer app-scoped or publisher-scoped identifiers where the platform supports them.
  • Define whether identity belongs to user, machine, VM, workload, or image.
  • Document recovery behavior before customers need it.
How do custom claims and payloads map to product behavior?
custom claimspayloadfeature flagsentitlements

Use the runtime access token for payload and constant claims, and use /v1/runtime/entitlements/status for the full runtime view including payload, constant claims, and consumable balances. Numeric claims can be singular or aggregate by license quantity, plan-authored values are bounded to the declared int/float type and DPAuth micro-unit storage, and oversized effective aggregate budgets are capped when runtime entitlements are materialized. Consumables can be defined on any plan type and are decremented with /v1/runtime/entitlements/consume using a positive bounded amount and idempotency key. Matching consumables carry consumed usage through paid plan or multiplier restarts and same-period license reductions, so a subscription change does not reset already-spent matching budgets. Aggregate numeric consumables can carry unused base amount into the next billing period, while developer/admin grants and paid portal top-ups carry as durable granted units. Paid portal top-ups sell the configured top-up amount, with the selected quantity scaling both the granted amount and the charge; requests above the claim value/payment capacity are rejected before billing with the highest allowable quantity. Successful settlement queues a subscriber receipt email after the grant is applied. Numeric consumables may also be marked publicVisible with a publicLabel for Subscriber Portal display; those public fields are not returned by runtime tokens or runtime entitlement responses.

  • Good: plan level, edition, modules, limits, support level, local feature flags.
  • Bad: secrets, passwords, raw PII, payment data, private backend policy.
  • Version payload behavior so app releases can handle changes safely.
  • Keep server-side authority on the server when misuse matters.
Should consumable entitlements go in access tokens?
access tokensconsumablesentitlementsruntime

No. Access tokens carry the plan payload and stable claims. Read a consumable’s current balance through Runtime entitlement status and spend it through Runtime entitlement consume with an idempotency key. Subscriber Portal balances and top-up settings are separate from the access token.

  • Use runtime access tokens for payload and constant claims.
  • Use entitlement status for current runtime consumable balances.
  • Use portal public labels only for subscriber-facing balance display.
  • Use entitlement consume with one idempotency key per product action.
  • For bound consume, create deviceProof once with its timestamp and operationId derived from the original Idempotency-Key, then freeze the exact body. Retry with fresh outer signing within the original total replay budget. Only an already-committed result can be recovered with proof older than 90 seconds, after current access and device checks.
  • A lost response, timeout, or cancellation can leave the result unknown. Do not rebuild the body, change the key or session, or assume that a current balance proves which action committed.
How should I handle DPAuth being temporarily unavailable?
availabilityoffline graceresilienceruntime access

Choose one explicit Runtime validation mode. Online-required denies when the requested server operation is missing, cancelled, unavailable, or transient. Local-only makes no network request and can authorize only from fully verified eligible local material. Online-preferred uses a definitive server response whenever one arrives, but may make a separately labeled local/offline authorization decision after network unavailability or a canonical transient failure. The failed server request stays failed; the SDK never fabricates a valid status result.

  • Define online-required, local-only, and online-preferred behavior separately.
  • Show a clear connectivity or recovery message.
  • Do not turn network failure into server-valid status or access beyond exp.
  • Do not fall back after a definitive denial, malformed response, downgrade, or signature failure.
  • Keep server-side protected actions unavailable if the backend cannot verify access.

Billing and Commercial Behavior

4 answers
How should my app handle billing or subscription denials?
billing standingdenial handlingsubscription statusrecovery

Treat billing and subscription denials as expected product states, not random technical failures. If access depends on current standing, runtime issue, refresh, and status calls can fail because a subscription is expired, canceled, suspended, past due, incomplete, refunded, or blocked by organization standing. The product should fail closed for protected behavior and give users a recovery path when one exists.

  • Show a useful message for payment, subscription, device, or account-state failures.
  • Log reason codes and correlation IDs, not secrets.
  • A definitive server denial supersedes cached or local allow; preserve artifacts only within the canonical recovery disposition.
  • Test payment failure, cancellation, refund, suspension, and recovery paths.
Why do organization billing and subscriber billing stay separate in the API?
payment scopebilling separationrefundsreconciliation

They are different financial relationships and should stay different in code. Organization billing pays for the organization's use of DPAuth. Subscriber billing pays for an end-user subscription to a product. Keeping them separate prevents payment-method scope collisions, makes refunds easier to explain, and keeps support from accidentally charging the wrong party.

  • Organization payment methods belong to the platform customer relationship.
  • Subscriber payment methods belong to end-user subscription flows.
  • For Example Org, adding a subscriber's card on its connected Stripe account preserves Example Org's separate customer account for DPAuth bills.
  • A sale keeps the application fee submitted with that payment even if Example Org changes its billing scheme before settlement.
  • Both payment-entry relationships are card-only. Stripe is the authority for method type, brand, last4, and expiry; browser metadata is not trusted.
  • Tax quotes are non-financial, context-bound final-review operations. Payment methods, quote context, and settlement remain scoped to the correct financial relationship.
  • Portal payment updates must not become organization payment methods.
  • Refunds and transaction history should stay attached to the right account relationship.
How should Stripe Tax calculations be requested, and who owns their cost?
stripestripe taxtax calculationsconnected accountbilling costfinal review

Treat every Stripe Tax calculation as a final-review operation, whether Example Application requests it through the Organization API or a flow in your DPAuth account triggers it. Request a quote only after the taxable amount, address, and payment method are stable. Reuse the context-bound quote until it expires, is consumed, or one of those inputs changes.

  • Do not request calculations speculatively while a user browses, types, or changes an unfinished checkout.
  • Subscriber-sale calculations run in the selling organization's connected Stripe account. The organization owns that calculation usage and any Stripe Tax cost above its included allotment.
  • Organization-to-DPAuth SaaS-payment calculations run in DPAuth's platform account because DPAuth is the seller, so DPAuth owns that calculation cost.
  • Stripe Tax provider-service cost is never added to the purchaser's displayed or charged total.
  • Creating a calculation is non-financial; the later payment operation validates and consumes the quote.
Does every Runtime or Organization API request create a usage charge?
pricingusageruntime

No. Successful Runtime sign-in, activation, refresh, status checks and entitlement use count toward the organization's API usage charges. Runtime sign-out, sign-in setup and pending approval checks are free. Developer Dashboard and Subscriber Portal actions do not create API usage charges, and denied, failed or cancelled requests have no billable units. Developer test Runtime activity is free. Test plans have no monthly plan fee; normal organization fees and unrelated Organization API usage still apply.

New billable Runtime requests require enough prepaid balance or approved credit to cover their cost, including usage that has not appeared in billing history yet. If funds run out, the organization can add funds through the Developer Dashboard. Subscribers can still sign out. An eligible retry of an already completed operation does not create another charge. Normal plan and organization fees, and purchases authorized through the Organization API or Dashboard, still apply.

Rate limits also apply to requests that create no usage charge. Honor Retry-After on 429 rate_limited or 503 rate_limit_unavailable, and preserve credentials and pending operations while waiting.

Operations and Support

11 answers
How do I permanently close my developer account?
developer accountdeletionretention

Use Delete developer account at the bottom of your Developer Dashboard. The confirmation popup lists each organization that still blocks deletion. Transfer ownership to an eligible developer or finish the organization shutdown first; inactive status or unpaid charges alone do not mean shutdown is complete.

Review the removal and retention notice, acknowledge it, and confirm through the email sent to your developer account. Opening the email link alone does not delete the account. Confirmed deletion permanently closes that developer login, revokes personal sessions, credentials and recovery access, removes memberships and invitations, and replaces the live profile with a deletion record.

The live email, profile names and creation network details are removed. A developer deletion record and necessary agreement, ownership, organization, financial, security and activity history survive. The original email remains only where necessary in historical evidence or temporarily for completion-email delivery. Separate subscriber and administrator accounts using the same email are unaffected.

How do I transfer organization ownership?
organizationownershiptransfer

Open the organization’s Developers tab. Only its current owner can choose Transfer Organization Ownership for another eligible developer. The recipient must have an active organization membership and an active, verified developer account. Ownership cannot transfer during an active shutdown or settlement lifecycle.

The warning identifies the organization and recipient. Acknowledge that you will lose owner privileges and remain an ordinary member. Confirm the request by email before the recipient receives an invitation. The recipient signs into the correct developer account, reviews the organization and its financial obligations, accepts the current DPAuth organization terms, acknowledges the DPAuth privacy policy, and confirms acceptance by email. Both parties must complete verification before ownership changes.

Only one ownership transfer can be pending for an organization at a time. The owner has seven days to confirm. After that confirmation, the recipient gets a separate seven-day acceptance window. You can review the pending request and cancel it before completion. Once completed, the former owner cannot reverse the transfer alone. Ownership transfer changes who administers the organization in DPAuth. The organization remains responsible for its existing billing and customer obligations.

How can I export a retained subscriber audience?
subscriber audienceCSVretentionorganization API

On the developer Subscriptions page, select your organization and open Download audience in the upper right. Choose one visible application or All applications. Select Current, Former only, or All retained, then choose Download. Large downloads arrive as a ZIP containing CSV parts. You can download retained records even if your organization has unpaid bills or is awaiting contact verification, while your account and organization membership remain active. Organization API access still requires an active organization and eligible active key. Every row represents one retained subscription, so one account email can appear more than once. Classification follows the stable subscriber account, and the displayed address is that account's current unique email. Direct Organization API integrations use an org-wide key with a current developer session to page the JSON endpoint for one owned, visible application in that organization; any application pin on a key must match the selected application. They can also download CSV or ZIP for that application, or use an organization-wide key to export all visible applications. There is no organization-wide JSON route.

Customer audience exports exclude developer test accounts, even when a test account uses the same email as a customer.

  • Each row contains application, the owning subscriber account's current email, retained plan label, subscribed and expiry dates, license count, auto-renew, and current or former-only relationship.
  • License count is the subscription Licenses multiplier; it is not a device, user, token, or concurrency count.
  • Large website exports stream as CSV or ZIP files containing CSV parts. Each part includes its own header and is limited to 10,000 rows and 16 MiB uncompressed; these per-part limits do not cap the complete download. Organization API integrations can select format=zip on the documented audience, audit, subscription activity and billing transaction exports.
  • This retained operational audience is not a marketing-consent list.
How should I rotate runtime keys without breaking users?
rotationruntime keyssecretsrollout

Treat runtime key rotation like a release operation. Generate or rotate key material in the Developer Dashboard or through the Organization API, store the new secret in a controlled secret store, deploy clients or backend config that can use it, observe traffic, then retire old assumptions deliberately. Do not print runtime secrets in CI logs or bake Organization API keys into artifacts to make rotation easier.

  • Rotate from trusted infrastructure only.
  • Download and store returned secret material before deploying callers.
  • Update deployment secrets before revoking old runtime paths.
  • Watch error rates and runtime denials after rollout.
  • Never use organization API keys as a runtime-key substitute.
What should I log when runtime or support actions fail?
loggingdiagnosticssupportredaction

Use the SDK's redacted diagnostics with fixed operation labels, typed stages and categories, known numeric HTTP status, and recognized SDK rejection codes. DiagnosticCause helps explain a Runtime failure; an artifact failure exposes DiagnosticCategory. These observations do not prove authorization, payment or consumption completion, or that a failed request was rolled back. Keep your log writer prompt and nonthrowing, with limits on record size, retention and metric labels.

  • Use the linked SDK example to project only its fixed fields. It covers both DiagnosticCause and artifact DiagnosticCategory.
  • Do not log raw server problem text, correlation headers, exception messages, tokens, credentials, request bodies, claims, payloads, private keys, subscriber data, or decrypted .derf or .goon contents.
  • Use stable low-cardinality metric labels. Do not use user, organization, application, request, token, path, or provider identifiers as dimensions.
  • Keep the original recovery state when an outcome is uncertain; a diagnostic category is not permission to repeat a mutation.
How do application signing-key rotations work?
application signing keysrotationstandbyoverlaprollback

DPAuth keeps exactly one Active signing key and permits at most one Standby, one Overlap, and one retained Retired key per application. Create new signing key fills the Standby slot. Activation is available only while the Overlap slot is empty, then the former Active key moves to Overlap long enough to verify the tokens it signed plus a safety margin.

  • A second Standby key cannot be created until the existing Standby key is activated or otherwise leaves that slot.
  • Activation is disabled while an Overlap key exists; retire the elapsed Overlap key first.
  • Roll Back atomically promotes the sole unexpired Overlap key and moves the current Active key into that same Overlap slot.
  • The Overlap deadline is based on the latest live token expiry plus the configured safety window, not just a fixed short grace period.
  • Retirement waits for the overlap deadline and for issued-token, downloaded-credential-package and active-installation references to clear, then destroys the protected private key. The new retiree replaces the prior Retired record in the signing-key inventory. Public-only records of retired installations do not block signer retirement; their public package-verification keys remain in the separate provisioning trust set and never extend access-token verification.
Can my CI/CD pipeline rotate runtime credentials automatically?
ci cdrotationruntime credentialsecret manager

It can, but make rotation intentional. Automated rotation is useful when your deployment path can safely distribute the new runtime credential before old assumptions are removed. The pipeline should authenticate with an organization API key from a secret manager, call the rotation endpoint, store the returned runtime secret in the correct environment secret store, and avoid exposing it in logs, build output, artifacts, or test reports.

  • Rotate only from trusted automation.
  • Treat returned runtime secret material as one-time sensitive output.
  • Deploy the new secret before depending on it.
  • Keep rollback behavior clear.
  • Alert on unexpected runtime signature failures after rotation.
What if a plan claim update reports an error after saving?
plan payloadcustom claimsentitlement cleanupidempotency

When a plan update supplies custom claims, DPAuth saves the plan before removing obsolete consumable entitlement rows. A failure in that follow-up cleanup can return an error even though the plan change persisted. Read the plan and compare its payload, claim definitions, and signup settings with the intended request before starting another mutation. A retry of the same admitted request uses the same replay identity for cleanup; a new plan edit uses a separate identity.

  • Treat a post-save error as an uncertain outcome until the current plan is read.
  • Keep the original idempotency key when retrying within its accepted replay window.
  • Do not create a second plan edit merely because the first response was an error.
What happens to Runtime credentials when I permanently deactivate a plan?
plan deactivationplan retirementruntime credentialsubscriber migration

Permanent plan deactivation revokes active Runtime credentials across the application, including credentials used by another plan. It also invalidates issued and refresh tokens for subscribers on the deactivated plan. A revoked credential cannot be restored; provision a replacement for any continuing plan. Disabling a plan has the same credential-revocation consequence but can be enabled again. Retiring a plan closes new signup and disables auto-renew; a suggested replacement takes effect at term end only after the subscriber consents.

  • Review subscriptions and every client that uses an application Runtime credential before permanent deactivation.
  • Create and distribute a fresh Runtime credential for continuing authorized use; do not retry a revoked secret.
  • Treat retirement's replacement plan as a suggestion until the subscriber accepts through verified email.
What should I test before shipping a DPAuth integration?
testingnegative pathslaunch checklistfail closed

Test the negative paths as seriously as the happy path. A DPAuth integration is only production-ready when the product behaves correctly after bad signatures, stale tokens, missing headers, device changes, billing failures, subscription changes, runtime key rotation, and offline credential expiry. Protected behavior should fail closed while giving the user a clear recovery path where possible.

  • Missing or invalid runtime header.
  • Wrong body hash or stale timestamp.
  • Missing, changed, or mismatched hardwareHash.
  • Expired, stale, downloaded, persistent, and passive token behavior.
  • Canceled, suspended, refunded, expired, or past-due subscriptions.
  • Revoked runtime credential and rotated runtime key.
  • Lost devicePrivateKey and device unbind/rebind recovery.
  • Offline credential expiry and reconnect behavior.
Which plan fields can I edit, and how do Disable, Retire, and Deactivate differ?
planslifecyclecredentials

Test plans support the full plan editor with the same price entry and validation as creation. Name, description and base price preserve test subscriptions. Pure increases to hardware slots or concurrent users preserve existing subscriptions and billing periods when neither limit decreases and binding mode and every other structural setting stay unchanged. Other core rule changes require you to confirm a reset. This removes previous test access; reopen the Test Portal to start again with one license. Downloaded credentials keep their original expiry dates. Published plans retain their existing restricted editor. Disable, Retire and Deactivate keep their normal effects; a reset never turns test subscriptions or test consent into real purchases.