create_agent_identity to provision the channels you need.
Steps
1
Initialize the vault
You must initialize the vault before creating an identity. The vault stores sensitive credentials that are returned during identity creation.
2
Create the identity
Call
create_agent_identity with the channels you want to provision. All three channels are optional — include only the ones you need.3
Store the card details
The response includes the virtual card’s PAN, CVV, and expiry. Save them to the vault immediately using Repeat the call for
save_secret_to_vault before the response is discarded.card_cvv and any other fields you want to persist.4
Retrieve the identity
Call
get_agent_identity to verify the identity was created successfully.Minimal identity
All channels are optional. You can create a shell identity with justagentId and intent — useful when you want to register an agent before deciding which channels it needs.