ProtectedaccountProtected OptionalappProtectedcurrentProtectedenvironmentProtectedenvironmentProtectedheliconeProtectednvmProtectedreturnProtectedschemeProtected OptionalversionThe email of the user
The country code of the user
The return URL after the Stripe connection is completed
The Stripe checkout result including the stripe account link, stripe account id, user id, user country code, link created at and link expires at. The stripe account link is the link that the user needs to click to connect with Stripe.
Create a new member in the organization
The unique external ID of the new member
OptionaluserEmail: stringThe email of the new member
OptionaluserRole: OrganizationMemberRoleThe role of the new member
The created member
It returns the account address associated with the NVM API Key used to initialize the Payments Library instance.
The account address extracted from the NVM API Key
ProtectedgetInternalReturns the HTTP options required to query the backend.
HTTP method.
Optionalbody: anyOptional request body.
OptionalextraHeaders: Record<string, string>Optional per-call header overrides. Use
{ 'X-Current-Org-Id': orgId } to target a specific workspace for
one call without mutating the instance-level pin.
HTTP options object.
Returns the environment name used to initialize the Payments instance.
The environment name (e.g. 'sandbox', 'live')
Optionalrole: OrganizationMemberRoleThe role of the members to get
OptionalisActive: booleanThe active status of the members to get
The page of the members to get
The number of members to get per page
The list of members
Lists every organization the authenticated user is an active member of, with their role and the organization's tier.
Powers workspace pickers in third-party tools built on the SDK, and the "where will this publish?" UX when a user belongs to multiple orgs.
An array of MyMembership — empty when the user has no active memberships and operates as a personal account.
Lists events emitted into the activity feed of an organization the caller is an active member of (member invites, customer events, subscription transitions, webhook deliveries, …).
Requires the caller to be a Member or Admin of orgId; the backend
returns 403 otherwise. Premium+ entitlement is enforced server-side.
The organization id (e.g. org-…) whose feed to read.
Optional filter set — see OrganizationActivityFilters.
A paginated OrganizationActivityPage.
Returns the current organization context applied to every authenticated
backend request via the X-Current-Org-Id header.
null means "no pinned workspace" — the backend falls back to the
caller's API-key tag or most-recent active membership.
ProtectedgetInternalGet HTTP options for public backend requests (no authorization header). Converts body keys from snake_case to camelCase for consistency.
HTTP method
Optionalbody: anyOptional request body (keys will be converted to camelCase)
HTTP options object
ProtectedparseSets the organization context applied to every subsequent authenticated
backend request via the X-Current-Org-Id header.
Pass null to clear the pin and fall back to the backend default.
Org ID (e.g. org-…) or null to clear.
Staticget
Connect user with Stripe