Create Wallet Credential
Related workflow: Working with Beams and credentials
POST
Issue a wallet credential for a target user with optional PDF, DOC, DOCX, PNG, JPG, or JPEG file attachments in one request.
Related: Create Wallet Share Link
apiKeyheader
apikey<token>multipart/form-data- body
orderId?stringuserId?stringpassTypeId?stringbeamId*stringdata*objectJSON payload; structure must match the BeamInputType schema
credentialData?objectattachments?array<WalletCredentialAttachment>The issued credential: its pass, beam input and output, status and stored files.
application/json- response
passId*string|nullbeamInputId*stringbeamOutputId*stringcredentialId*stringstatus*stringfiles*array<WalletCredentialFileResponse>curl -X POST 'https://api.cerebrum.com/v1/wallet/credentials' \ -H 'apikey: CEREBRUM_API_KEY' \ -F 'beamId=BEA-123' \ -F 'data={}'Example Response
{ "passId": "string", "beamInputId": "string", "beamOutputId": "string", "credentialId": "string", "status": "ACTIVE", "files": [ { "partName": "string", "fileId": "string", "name": "string", "type": "string" } ]}