Backend
Create credential offer
Generate and return a new credential offer
post/webapp/credential-offers
Request body
Example request
{
"credential_issuer": "https://agent.findynet.demo.sphereon.com/oid4vci",
"credential_configuration_ids": [
"PensionSdJwt"
],
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "d270fee1-9185-4e60-9901-d291e1338d7a",
"tx_code": {
"length": 4,
"description": "Please check your e-mail for a pin code"
}
}
},
"client_id": "https://wallet.example.com"
}Response
Successful response
Example response
{
"uri": "https://issuer.example.com/credential-offer/123",
"userPin": "1234"
}