# cardyay for AI shopping agents

> cardyay (https://cardyay.com) is an online gift card shop. People buy digital gift cards from well-known brands and send them by e-mail, to themselves or as a gift with a personal note, right away or on a date they pick. Cards usually arrive within minutes. Payment is by card, Apple Pay or Google Pay; no account is needed.

You found the product and the best store. Before your user pays, it can be worth one more check: whether paying with that store's gift card costs less. cardyay sells 2,091 digital gift cards for 30 countries and answers, for an exact amount, what the card costs and how that compares with paying the store directly.

**Today:** no card carries an offer, so a gift card costs its value plus any service fee. The quote tells you when that changes.

## When a check is worth it
- Your user asked for the best price, and you know the store, the country, the currency and the amount.
- That store's gift card is sold here (search_gift_cards).
- The store takes its gift card for this purchase (online, in this country, together with another payment if needed). The card's terms say so; we do not decide it.
- Your user has asked you to buy, or you will ask them first.

## How to check
1. Find the card: `search_gift_cards` with the store's name and country.
2. Read it: `get_gift_card` for the values it is sold at, where it is used, its terms, the offer it carries and the cardyay credit it earns for your user's next order (`credit`, null when none).
3. Price it: `quote_gift_card` with the exact amount. `savingVersusPayingDirectly` above 0 (and `saves: true`) means the card costs less than paying the store directly; 0 or below means it does not. `creditEarned` is the credit that amount earns for a later order; it is not part of the saving.
4. Decide with your user. Only rely on a saving the quote shows, and only when the store accepts the card for this purchase.
5. Buy: `prepare_checkout` returns `payUrl`. Use your user's own e-mail address: on the link they confirm it with a 6-digit code we send there (they type it on the page themselves: never ask them for it), then pay (card, Apple Pay or Google Pay); the cards are e-mailed to them, usually within minutes. Nothing is charged until they pay.

## Example (illustrative)
Your user is about to pay a store $200 and its gift card is sold here.
- Today a $200 card costs $200 plus that card's service fee, if any, so it saves nothing on its own; it is still a quick way to pay or to give.
- Then pay the store with the card, if it accepts it for that purchase.

## Tools
- MCP server: https://cardyay.com/mcp (Streamable HTTP, no key). Tools: search_gift_cards, get_gift_card, quote_gift_card, prepare_checkout.
- HTTP API, OpenAPI 3.1: https://cardyay.com/openapi.json
  - GET https://cardyay.com/api/public/cards?q=<brand>&country=<CC>
  - GET https://cardyay.com/api/public/cards/<id>
  - GET https://cardyay.com/api/public/quote?card=<id>&amount=<value>
  - POST https://cardyay.com/api/public/checkout
- Product feed: https://cardyay.com/api/public/feed
- Every card on sale: https://cardyay.com/llms-full.txt

## What we keep to
- Nothing is charged without your user: every order is paid by them on its link.
- Gift card codes go only to your user's e-mail (or the gift recipient's), never back to an agent.
- Prices are live and come from the same pricing the shop charges. A saving is only stated when the quote shows one.
- An order whose cards were not delivered is refunded. A delivered card cannot be returned.
- Help: https://cardyay.com/help, help@cardyay.com

## Arabic-speaking users
Every shop page also exists in Arabic at the same address under /ar (https://cardyay.com/ar/gift-cards/<id>). For a user who writes in Arabic, link the Arabic page: the card, the price and the checkout are the same, and their e-mails come in Arabic.
