How it fits together
- Your agent receives a text through a Linq webhook (
message.received). - The first time, your agent asks Linq to connect the user to Agentcard. Linq texts them a native card; they add their card and approve with Face ID.
- When the user wants to buy, your agent creates a payment through Linq. Linq asks the user to approve, then hands your agent card credentials scoped to that purchase.
- Your agent checks out with those credentials, in a browser or through an ecommerce API.
Integrate
1. Connect your Linq account to Agentcard
Once per Linq account. Linq returns a hosted flow where you sign in with your Agentcard organization.2. Connect a user
Once per user, by their phone number (handle). Linq texts them the enrollment bubble. Wait for the connection.created webhook before creating payments.
3. Create a payment
When the cart is ready, create a payment with what the user will approve. Linq sends the approval bubble.4. Get the card and check out
When the payment’s status isready (webhook payment.authorized), fetch the credentials and complete the checkout.
payment.authorized, payment.declined, connection.created and connection.revoked so your agent reacts to facts, not to the conversation.