Stripe_Link
REST API for obtaining single-use card credentials from a user's Link wallet. Enables minds to collect context about a purchase, ask the wallet to mint a one-time card, and present that card to a merchant checkout form on the user's behalf.
Creates a spend request describing a purchase the mind wants to make on the user's behalf. Used to initiate the minting of a one-time card credential. You must collect the total amount, currency, merchant name, merchant URL, line items, totals breakdown, and a clear context rationale (at least 100 characters) before calling this.
Retrieves the current state of a spend request. Poll this periodically until status is 'approved'. Note: secure card credentials will always be fetched and included in the response payload when available.
Fetches all saved payment instruments associated with the human's Link wallet. The mind must call this prior to creating a spend request to select a valid funding source ID (payment_details parameter) to back the newly minted one-time card.
Transitions a spend request from 'created' to 'pending_approval', triggering the generation of an interactive approval URL. This tool should only be used if the spend request was initialized with request_approval set to false. The mind must present the returned URL to the human via message to obtain authorization.