OpenID4VCI Protocol
Create a credential offer
Create an OpenID4VCI credential offer using the pre-authorized_code flow. Authenticated with the tenant API key (Bearer). The issuer picks a credential template (scoped to the caller's tenant), embeds the claim values, and — by default — generates a 6-digit transaction code (PIN). Returns the offer identifier, the wallet deep-link URI, the issuer identifier, the pre-authorized code, the tx_code (if any), and the grants object the wallet uses to drive the token exchange. The offer expires 10 minutes after creation and is single-use.
post/v1/credential-offers
Request body
Example request
{
"template_id": "8f3b1c2d-4e5a-6b7c-8d9e-0f1a2b3c4d5e",
"claims": {
"member_id": "M-9042",
"level": "premium"
},
"tx_code": true
}Response
No response body