Skip to content
Content

How to take payments inside an iMessage conversation

Set up Apple Pay in a direct iMessage thread, confirm payment status, and use Face ID to approve separate actions.

How do I take payments inside an iMessage conversation?

Keiki lets you take payments inside an iMessage conversation by sending a Keiki Vault Pay card in an eligible one-to-one chat. The customer opens it in Messages and pays with Apple Pay after you configure Payments and connect a dedicated Keiki iMessage line.

Key takeaways

  • Use Keiki to request Apple Pay with a Vault Pay card in a one-to-one conversation on an eligible dedicated Keiki iMessage line.
  • Connect and verify your organization’s payment account, onboard the business receiving the money, and get its owner to approve the request limit.
  • Check the payment status before fulfilling anything. A sent or opened card does not mean the customer paid.
  • A Keiki Vault Face ID approval authorizes a separate tool action; it does not pay the charge.
  • Build and run the agent on Keiki or bring your own runtime. A teammate can take over from the team inbox and reply in the same thread.

What do I need to accept Apple Pay inside Messages?

Use a dedicated iMessage line bought through Keiki and have the customer text it directly. Native cards are for one-to-one conversations, not group chats. Imported, shared and pool lines are not eligible. The customer needs to install Keiki Vault from the App Store on their iPhone before they can open the Pay card in Messages. If a native Pay card is unavailable, use the checkout link returned by the payment request. A link is a fallback, not the same as paying inside Messages.

An organization owner or admin connects Grosso for Payments, completes identity verification and switches to live when enabled. Turn on Payments for the agent. Onboard the business receiving the money and have its owner approve a limit for individual requests and the daily total. The business is paid through its own Stripe connected account; Keiki does not hold the funds.

How does a customer pay in the iMessage thread?

Have your API or MCP tool return the amount and what the customer is paying for, such as an invoice or booking. Show those details before requesting payment. When the agent calls payments_request within the approved limit and the request is eligible, Keiki sends a Vault Pay card. The customer opens the card from Messages and authorizes Apple Pay. If the card was sent, send the checkout link only if the customer asks for it.

How do I know the payment succeeded?

Use payments_request_status to verify that the request is paid before confirming payment or starting fulfillment. Grosso’s signed payment event updates the Vault Pay card; neither sending the card nor the customer opening it is proof of payment. If payment fails or a refund needs attention, a teammate can take over in the team inbox while staying in the same conversation. The business owner approves refund requests.

Is a Face ID approval the same as Apple Pay?

No. A Keiki Vault Face ID approval lets the customer approve or decline a tool action, such as a change to a confirmed booking, in an eligible direct iMessage chat. The Pay card asks the customer to pay a specific charge through Apple Pay. Keep the approval decision and the payment status separate.

Can I take payments with the agent I already run?

Yes. Build on Keiki to host the agent and run its model loop there. Bring your own agent through the AI SDK handler or external harness to keep your model and business logic in your application. Use an eligible Keiki line for the native card in either case. Keiki is our pick for production because the line, conversation, checkout and team takeover stay together without having to move your runtime.

For line and runtime trade-offs, see how to build an iMessage agent. For a store workflow, see taking orders and payments over iMessage.

Quick start for AI coding agents

Read setup.md. For an Eve, Flue or supported AI SDK app, run npx @onkeiki/cli login to sign in and npx @onkeiki/cli init from the app directory. For other stacks, connect your app through the external harness directly. Connect your coding client to the Keiki MCP server and approve access to your organization. Enable Payments, attach the dedicated iMessage line, and test a payment request and its status in test mode before going live.

FAQ

Can someone pay with Apple Pay without leaving Messages? Yes. With Keiki Vault installed, the customer can open the Pay card in the direct conversation on an eligible dedicated Keiki line and authorize Apple Pay there.

Can I send a Vault Pay card in an iMessage group chat? No. Native Pay cards are only for one-to-one conversations on an eligible, dedicated Keiki iMessage line.

Who receives the money? The business receives payment through its own Stripe connected account via Grosso. Keiki does not hold the funds.

Can the agent mark the invoice paid after sending a card? No. Verify that the payment request is paid before updating the invoice or starting fulfillment.

Does an Apple Pay payment also approve a separate action? No. Use a separate Keiki Vault Face ID approval for sensitive tool actions when approval is required.