Create a connection

Create a connection between the Holder wallet and the Verifier wallet

From the Verifier

  • Create an invitation request as described in the page Create an invitation

  • Copy the invitation generated

From the Holder

  • Accept the invitation request as described in the page Accept an invitation (Paste the invitation generated from the Verifier in the "Body -> raw")

In a production environnement, the invitation will be integrated in a web page, email, SMS as a link, or in a QR code with the presentation request.

It could be similare to this: https://app.sandbox.archipels.io/presentation-requests/initialize?message=/kys&invitation=eyJAdHlwZSI6ICJodHRwczovL2RpZGNvbW0ub3JnL291dC1vZi1iYW5kLzEuMS9pbnZpdGF0aW9uIiwgIkBpZCI6ICJiNmMyOWIwOC0yOWRlLTRlN2UtODJiMS0wZDYwOWNhYjEzNGQiLCAibGFiZWwiOiAiaXNzdWVyIiwgImhhbmRzaGFrZV9wcm90b2NvbHMiOiBbImh0dHBzOi8vZGlkY29tbS5vcmcvZGlkZXhjaGFuZ2UvMS4wIl0sICJzZXJ2aWNlcyI6IFsiZGlkOnNvdjpLZGdDR2pxaUI5MnR3ZUd2TUYyQkJYIl19&walletType=business

Once the holder send the accept-invitation, the verifier receives a webhook notifying that a user is waiting for a presentation request

Once from the holder wallet you accept the invitation, the verifier receives a webhook with the connectionID that you will reuse ti send the presentation request.

{
  "type": "ConnectionInvitationAcceptanceReceived",
  "payload": {
    "connectionId": "0f42f1da-ab2d-41da-91e1-167c31d966a9",
    "walletDid": "5Y3i1nq5KZuLRYtQfWrBfP",
    "contactDid": "BB3KgdzQYQZjQywRU1uH2m"
  },
  "timestamp": "2024-10-01T15:49:00.387Z"
}

Dernière mise à jour