/v1Discover the purchasing API and documentation
Public documentation for partner integrations. Read how it works, explore the request formats and leave a message to request access.
Product API use requires a key issued by the Bop team after reviewing your integration. Signing up, connecting a wallet, CLI device authorization and self-created consumer keys do not grant partner API access.
Leave a message on the partner page. Bop assigns the account, role, permissions, spending policy and expiry. Keep the key in your server's protected secret store. Public examples use placeholders and do not execute purchases.
# Use only the partner key issued to you by Bop.
curl 'https://boppay.app/v1/me' \
--header "Authorization: Bearer $BOP_API_KEY"
curl --request POST 'https://boppay.app/v1/quotes' \
--header "Authorization: Bearer $BOP_API_KEY" \
--header 'Content-Type: application/json' \
--data '{"kind":"agent_card","amount":"10.00","currency":"USD"}'The normal consumer app keeps its signed-in purchasing and wallet flows. Consumer sessions and consumer-created keys are separate from partner access.
The purchase base URL is https://boppay.app/v1. Send the Bop-issued key in Authorization: Bearer. Purchasing keys use assigned cards:purchase, gifts:purchase, orders:read and optional secrets:read scopes.
Quote cards or a supported gift denomination before submitting an order. Quotes expire after two minutes. Order submission requires the returned quote_id and a unique Idempotency-Key of 8 to 120 allowed characters. A quote and intended purchase map to one order.
USD fields ending in _usdc retain their v1 compatibility names. The full total includes product costs and Bop fees. Customer funding currently accepts USDC on Elysium chain 99901. If quoted, the owner separately pays the native HYPE network fee and supplies network_payment.
Exact request fields, response schemas, errors and examples are in the searchable partner reference. Bop handles key issuance and replacement; public device and key-creation routes cannot issue partner access.
The assigned total, per-order and rolling 24-hour limits include full USD purchase totals and pending reservations. Orders above the policy's approval threshold enter awaiting_approval. The account owner can review these in Bop, or use an assigned Bop-issued owner key for the approval API.
After a timeout, recover the original intent through GET /v1/requests/{request_key}. Pending, queued, processing and review states are not delivery confirmation. Never submit a second purchase to resolve an unknown result.
Only explicit reveal with the required scope returns delivery details. Revocation blocks new API requests; an accepted payment and an already issued card retain their own lifecycle. Keep keys, card details and gift codes out of logs.
Functional /payments/v1 calls require a Bop-issued partner key with wallet:read for balance/status or wallet:prepare for unsigned transfer and x402 preparation. Read-only discovery at the API root remains public.
Wallet operations use Elysium eip155:99901. The owner reviews and signs separately. Bop does not accept wallet secrets, sign or broadcast transactions. Wallet balances are separate from the checkout ledger.
Your application can be built on any chain and integrate through HTTPS. This does not add deposits or transaction signing on unconfigured networks. Read the wallet contract.
/v1Discover the purchasing API and documentation
/v1/auth/logoutRevoke the current owner CLI session
/v1/meRead owner balance or agent policy
/v1/agentsList agents (owner)
/v1/agents/{agent_id}/revokeRevoke an agent key (owner)
/v1/catalog/giftsSearch allowed gift products
/v1/quotesQuote a card or gift purchase (agent)
/v1/ordersReserve and submit one purchase (agent)
/v1/ordersList owned orders
/v1/orders/{order_id}Read an owned order, optionally refresh its card status
/v1/orders/{order_id}/revealReveal card or gift details (agent with secrets scope)
/v1/orders/{order_id}/approveApprove an exact pending purchase (owner)
/v1/orders/{order_id}/rejectCancel a pending approval and release its reservation (owner)
/v1/requests/{request_key}Recover an order by its idempotency key (agent)
/v1/approvalsList pending approvals (owner)
/v1/eventsRead the scoped audit trail