Skip to content

Provider Service

The Provider Service enables the creation and management of ecosystems.

Named vs Anonymous ecosystems

There are two types of ecosystems: named and anonymous.

Named ecosystems are suitable for production, and will be prepared for you by Trinsic during onboarding.

Anonymous ecosystems have auto-generated names (such as eager-elephant-94jkn5h), and may be created by anyone at any time.

Using an anonymous ecosystem for purposes other than prototyping and testing is considered an unauthorized use of Trinsic's platform.


Service Creation

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>







Create Ecosystem

Creates a new ecosystem, along with a root controlling account.

If name is left empty, an anonymous ecosystem will be created.

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to create an ecosystem
name
optional string
Globally unique name for the Ecosystem. This name will be part of the ecosystem-specific URLs and namespaces. Allowed characters are lowercase letters, numbers, underscore and hyphen. If not passed, ecosystem name will be auto-generated.
description
optional string
Ecosystem description
uri
optional string
External URL associated with your organization or ecosystem entity
details
The account details of the owner of the ecosystem
Show child attributes
domain
string
New domain URL

Response to CreateEcosystemRequest
ecosystem
Details of the created ecosystem
Show child attributes
profile
Account profile for auth of the owner of the ecosystem
Show child attributes
confirmation_method
Indicates if confirmation of account is required.
Show enum values


Update Ecosystem

Deprecation Notice

This endpoint is deprecated, and will be removed May 1, 2023. Please use the dashboard to update.

Updates the active ecosystem's description or uri.

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to update an ecosystem's metadata
description
string
New description of the ecosystem
uri
string
New external URL associated with the organization or ecosystem entity
domain
string
New domain URL
display
Display details
Show child attributes

Response to UpdateEcosystemRequest
Ecosystem
Current ecosystem metadata, post-update
Show child attributes


Get Ecosystem Info

Fetches information about the active ecosystem.

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to fetch information about an ecosystem
This message has no fields

Response to InfoRequest
ecosystem
Ecosystem corresponding to current ecosystem in the account token
Show child attributes


Upgrade Wallet DID

Restricted API

This feature is not yet publicly available, and the list of supported DID Methods is not final.

Please contact Trinsic to enable this endpoint on your account.

Ledger Interactions

Depending on the DID Method chosen, you may be responsible for ledger write fees; additionally, there are some logistical concerns to be aware of.

Click here to learn more.

Upgrades a wallet's DID from the default did:key to another DID Method. This endpoint may only be called by an ecosystem provider.

Trinsic will register a DID Document for you, and update the wallet's public_did property to the newly-registered DID. Credentials previously issued by this wallet will not have their issuer field updated to the new DID, but they will still verify correctly.

Presently, once a wallet's DID has been upgraded, its DID Method cannot be changed again. However, it is possible to perform further upgrades within a method, to go from a testing to production network (for example, did:ion:test to did:ion).

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to upgrade a wallet
email
string
Email address of account to upgrade. Mutually exclusive with walletId and didUri.
wallet_id
string
Wallet ID of account to upgrade. Mutually exclusive with email and didUri.
did_uri
string
DID URI of the account to upgrade. Mutually exclusive with email and walletId.
method
DID Method to which wallet should be upgraded
Show enum values
ion_options
Configuration for creation of DID on ION network
Show child attributes
indy_options
Configuration for creation of DID on INDY network
Show child attributes

Response to UpgradeDIDRequest
did
string
New DID of wallet

Invite

This will be removed May 1, 2023 Invite a user to the ecosystem

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to invite a participant to an ecosystem
participant
Type of participant being invited (individual/organization)
Show enum values
description
optional string
Description of invitation
details
Account details of invitee
Show child attributes

Response to InviteRequest
invitation_id
string
ID of created invitation
invitation_code
string
Invitation code -- must be passed back in LoginRequest


InvitationStatus

This will be removed May 1, 2023 Check the status of an invitation

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request details for the status of an invitation
invitation_id
string
ID of invitation, received from InviteResponse

Response to InvitationStatusRequest
status
Status of invitation
Show enum values
status_details
string
Human-readable string with details about invitation status


GetOberonKey

Returns the public key being used to create/verify oberon tokens

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Request to fetch the Trinsic public key used to verify authentication token validity
This message has no fields

Response to GetOberonKeyRequest
key
string
Oberon Public Key as RAW base64-url encoded string


RetrieveDomainVerificationRecord

Retrieve a random hash TXT that can be used to verify domain ownership

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






This message has no fields

Response message containing a TXT record content for domain url verification
verification_record_name
string
TXT record name to use for domain verification
verification_record_Value
string
TXT code for domain verification


RefreshDomainVerificationStatus

Call to verify domain

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






This message has no fields

domain
string
Domain URL verified
domain_verified
bool
Specifies if the above domain was successfully verified


SearchWalletConfigurations

Search for issuers/providers/verifiers in the current ecosystem

trinsic vc issue --document <JSONLD_FILE> --out <OUTPUT_FILE>






Search for issuers/holders/verifiers
query_filter
string
SQL filter to execute. SELECT * FROM _ WHERE [**queryFilter**]
continuation_token
optional string
Token provided by previous SearchResponse if more data is available for query

results
Results matching the search query
Show child attributes
has_more
bool
Whether more results are available for this query via continuation_token
continuation_token
string
Token to fetch next set of results via SearchRequest