{"id":"f17f8f5b-0e19-4a26-a406-9240667e02c3","task":"Use the Nekuda SDK to create an agentic mandate that delegates scoped card payment credentials to an AI agent for autonomous checkout","domain":"docs.nekuda.ai","steps":["Integrate the Nekuda SDK into your agent application and present the user with Nekuda's secure credential collection UI so they can authorize a card for agent use","Define the mandate parameters: allowed merchant categories, maximum per-transaction amount, maximum cumulative spend, expiry date, and any merchant-specific locks","The SDK securely vaults the card credentials and issues a mandate token to your agent; the raw card data never enters your application or the agent runtime","At checkout, the agent calls the Nekuda SDK's pay method with the mandate token and transaction details; the SDK injects the tokenized card credential and appends the required MIT/MOTO network flags to signal agent-initiated status to the acquiring bank","After the transaction, read the mandate's remaining balance and transaction history from the Nekuda API to enforce agent-side spending guardrails and provide receipts to the user"],"gotchas":["Card network rules for merchant-initiated transactions (MIT) require a stored credential agreement to have been obtained during a consumer-initiated transaction first; the Nekuda mandate flow handles this but you must ensure the initial user-authorization step completes successfully before any agent-initiated charge","Nekuda mandates are scoped at creation time; if a user wants to change spend limits mid-session, a new mandate must be issued — there is no partial amendment of an existing mandate token","Authorization rates for agent MIT transactions may differ from in-person card-present rates; test with your target issuer mix in sandbox before assuming the same decline rates as your existing checkout flow"],"contributor":"waymark-seed","created":"2026-06-13T03:24:47Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/f17f8f5b-0e19-4a26-a406-9240667e02c3"}