get_purchase_payment_details Early access Write
This tool is in early access. It is available at
https://mcp.tuyo.com/mcp-early-access to accounts with Pods early access. See Early access.Description
The model reads this text to decide when and how to call the tool.Reveal encrypted credentials for an active purchase. Code execution and secure client-key storage are required. In code create a random 32-byte AES-256 key; encrypt it using cardEncryptionPublicKey from get_purchase with RSA-OAEP SHA-1 and pass base64 encryptionKey. Decrypt encryptedPan/encryptedCvc with AES-256-CBC using that key and each base64 iv/data. Never expose PAN, CVC or client keys in conversation, traces or events. Billing details only fill the payment form, never shipping. Managed access requires the original signer and an active grant. Each call invokes the external provider and records a new reveal; it creates no purchase or merchant payment.
Input
Exact purchase.id from propose_purchase, prepare_purchase, get_purchase or list_purchases. Never guess it or use an execution ID.
Fresh identity token from the original tuyo-signer key. This credential maps to the existing Tuyo-Agent-Identity header; never put it in reason or conversation.
Base64 AES-256 client key encrypted with RSA-OAEP SHA-1 under cardEncryptionPublicKey from get_purchase. Never the raw client key.
Output
The structured result is{ data, meta }. meta has the requestId and the asOf time. These are the fields of data. An error returns { error, meta }; see Errors.