Create wallet unit
POST/v2/config/digital-wallet/openid/wallet-provider/wallet-unit
Creates a new wallet unit under the wallet provider for OID4VCI credential issuance and OpenID4VP presentation.
Request
- application/json
Body
Client identifier for the new wallet unit (DID or URL).
URL endpoint of the wallet instance.
Public key JWK of the wallet instance for cryptographic verification.
Set to true to authorize this wallet unit upon creation.
Responses
- 200
- 401
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
walletUnit object
Unique identifier for the wallet unit record.
Client identifier of the wallet instance, typically a DID or URL. Used to identify the wallet during OID4VCI and OpenID4VP protocol interactions.
URL endpoint of the wallet instance, used for direct communication.
Public key JWK of the wallet instance, used to verify Wallet Unit Attestation Proof of Possession.
When true, this wallet unit is authorized to interact with the Wallet Provider's services.
Client assertion JWT of the wallet unit, used for OAuth 2.0 client authentication.
Type of the client assertion token.
Unix timestamp (in seconds) when this wallet unit was registered.
Unix timestamp (in seconds) when this wallet unit record was last modified.
{
"walletUnit": {
"id": "string",
"clientId": "string",
"clientUrl": "string",
"clientPublicKey": {},
"isAuthorised": true,
"assertionToken": "string",
"assertionTokenType": "string",
"createdAt": 0,
"updatedAt": 0
}
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}