THE GIFT API
Send flowers & chocolate with one API call.
Guaranteed delivery dates. Human pays via SMS link. Built for AI agents.
QUICK START
curl https://api.giftapi.anfang.me/v1/products
# โ Pick a product_id, then:
curl -X POST https://api.giftapi.anfang.me/v1/orders \
-H "Content-Type: application/json" \
-d '{
"product_id": "prod_ABC123",
"delivery_date": "2026-04-15",
"recipient": {"name":"Jane","address":"123 Main St","city":"NYC","state":"NY","zip":"10001"},
"payer": {"name":"John","phone":"+12125550100"},
"mode": "test"
}' โ John gets an SMS. Jane gets flowers.
Agent calls /v1/orders
Payer gets SMS + link
Stripe payment (Apple/Google Pay)
Delivered! Guaranteed
Supplier ships (Teleflora / Goldbelly)
Webhook triggers order instantly
via Teleflora โ guaranteed same/next-day delivery
via Goldbelly โ temperature-controlled nationwide shipping
Preznt is designed for LLM agents. No API key, structured JSON, guaranteed outcomes.
Rate-limited by IP and phone. Just call the API.
Machine-readable docs at /llms.txt and /openapi.json.
Set "mode":"test" โ no real payments or deliveries.
Supplier SLA-backed dates. We refund if missed.
GET /v1/orders/:id returns real-time order status.
All 50 states via Teleflora and Goldbelly networks.
IP Rate Limiting
3 orders/hour, 10/day per IP โ blocks mass abuse
Phone Rate Limit
Max 2 pending orders per payer phone per 24h
US-Only
Geo-restriction via Cloudflare CF-IPCountry header
Signed Tokens
HMAC-signed payment URLs โ single-use, 48h expiry
STOP Blocklist
SMS reply STOP โ permanent opt-out, Redis + DB
Webhook Verification
Stripe signature + AWS SNS message validation on all webhooks