Issue from your existing database
Use this pattern for membership tiers, enrollment, subscriptions, or eligibility already recorded in your system. Example: Your database records that a customer is a current Gold member. You issue a credential containing the membership facts a partner needs to grant a benefit, without including the customer’s purchase history.- Choose the minimum claims with What data do you need?, then create your first schema.
- Connect your issuer backend to the records it needs. Keep source data and issuer signing keys on your servers; see Setting up your backend.
- Choose the trigger: a tier change, account creation, or another confirmed backend event. Use direct issuance when the user does not need to be present, or SDK issuance when the user should review and claim the credential.
- Resolve the intended recipient using the identifier your issuance flow expects. For the documented direct issuance flow, that is the recipient’s email, not a shared service account.
- Record the issuance and deduplicate repeated events. When the signed status changes, revoke the old credential and issue a replacement as appropriate.
Issue a credential from an existing KYC result
Use this pattern when you already verify users with a provider such as Persona or Sumsub and want to make an approved result presentable through AIR. Example: Your business attests that a customer passed a defined verification level on a given date. A receiving app checks that statement against its own issuer, assurance, and freshness requirements.- Agree which claims your business can attest to, such as verification level and check date. Keep raw identity documents out of the credential unless the use case specifically requires them.
- Receive and validate the provider’s result in your backend using the provider’s documented process. Match it to the correct customer record before issuing.
- Apply your own eligibility rules, then use your issuer backend to sign and encrypt the credential to the intended AIR Account.
- Set an appropriate validity period. Handle a later withdrawal or change in status through your revocation and reissuance process.
- The receiving app accepts only trusted issuers and checks that the disclosed result meets its own requirements before acting on it.