HomeAge Verification HeadlessAI Services for TerminalsAge Estimation VerifySupportTrust APIIdentity Verification LivenessDigital IDIdentity verificationDigital ID MigrationDBS RTWDigital IDDBS/RTW portaleSignaturesAge verificationAge estimationIn-Branch VerificationAge Estimation v2idv-portal-errorsIdentity ProfilesVerifiable Credentialssandbox-betaIdentity Verification APIAI Services APITrust APIProof of Age (PoA) API
Verifiable Credentials
v9.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Request the credential
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
You will then need to generate a QR code to retrieve the newly-issued credential. The share result will contain the QR code URL to present the dynamic QR code.
const dynamicPolicy = new DynamicPolicyBuilder()
.withWantedAttributeByName('com.example.someAttribute')
.build();
const dynamicScenario = (new DynamicScenarioBuilder())
.withCallbackEndpoint('/account/connect')
.withPolicy(dynamicPolicy)
.build();
const shareUrlResult = yotiClient.createShareUrl(dynamicScenario);
DynamicPolicy dynamicPolicy = DynamicPolicy.builder()
.withWantedAttribute(false, "com.example.someAttribute")
.build();
DynamicScenario dynamicScenario = DynamicScenario.builder()
.withCallbackEndpoint("/account/connect")
.withPolicy(dynamicPolicy)
.build();
<?php
use Yoti\ShareUrl\DynamicScenarioBuilder;
use Yoti\ShareUrl\Policy\DynamicPolicyBuilder;
$dynamicPolicy = (new DynamicPolicyBuilder())
->withWantedAttributeByName('com.example.someAttribute')
->build();
$dynamicScenario = (new DynamicScenarioBuilder())
->withCallbackEndpoint('/account/connect')
->withPolicy($dynamicPolicy)
->build();
$shareUrlResult = $yotiClient->createShareUrl($dynamicScenario)->getShareUrl();
from yoti_python_sdk import Client
from yoti_python_sdk.dynamic_sharing_service import (
create_share_url,
DynamicScenarioBuilder,
)
from yoti_python_sdk.dynamic_sharing_service.policy.dynamic_policy_builder import (
DynamicPolicyBuilder,
)
client = Client("CLIENT_SDK_ID", "/path/to/key.pem")
policy = (
DynamicPolicyBuilder()
.with_wanted_attribute_by_name("com.example.someAttribute")
.build()
)
scenario = (
DynamicScenarioBuilder()
.with_callback_endpoint("/account/connect")
.with_policy(policy)
.build()
)
share_url_result = share = create_share_url(client, scenario)
DynamicPolicy dynamicPolicy = new DynamicPolicyBuilder()
.WithWantedAttribute(_thirdPartyAttributeName)
.Build();
DynamicScenario dynamicScenario = new DynamicScenarioBuilder()
.WithCallbackEndpoint("/account/connect")
.WithPolicy(dynamicPolicy)
.Build();
ShareUrlResult shareUrlResult = yotiClient.CreateShareUrl(dynamicScenario);
policy, err := (&dynamic.PolicyBuilder{}).
WithWantedAttributeByName("com.example.someAttribute").
Build()
if err != nil {
panic(err)
}
var scenario dynamic.Scenario
scenario, err = (&dynamic.ScenarioBuilder{}).
WithCallbackEndpoint("/account/connect").
WithPolicy(policy).
Build()
if err != nil {
panic(err)
}
var shareUrlResult dynamic.ShareURL
shareUrlResult, err = client.CreateShareURL(&scenario)
policy = Yoti::DynamicSharingService::DynamicPolicy
.builder
.with_wanted_attribute_by_name('com.example.someAttribute')
.build
scenario = Yoti::DynamicSharingService::DynamicScenario
.builder
.with_callback_endpoint('/account/connect')
.with_policy(policy)
.build
share_url_result = Yoti::DynamicSharingService.create_share_url(scenario)
To generate your dynamic QR code on your front end you will need the shareURL and SDK ID from your application.
Last updated on
Was this page helpful?
Next to read:
Retrieve the credentialGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message