ProtectedaccountProtected OptionalappProtectedcurrentProtectedenvironmentProtectedenvironmentProtectedheliconeProtectednvmProtectedreturnProtectedschemeProtected OptionalversionIt 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.
Get a contract address by name (e.g., "PayAsYouGoTemplate").
Fetch deployment info (including contract addresses) from the API root. The result is cached after the first call.
Returns the environment name used to initialize the Payments instance.
The environment name (e.g. 'sandbox', 'live')
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.
Get the PayAsYouGoTemplate contract address (convenience accessor).
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.
Contracts API for accessing contract addresses from the Nevermined API info endpoint.