Skip to documentation
Documentation v1Request access
On this page

Build with Bop.

Public documentation for partner integrations. Read how it works, explore the request formats and leave a message to request access.

Bop issues your partner key.

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.

bash
# 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.

Quote, submit once, then read status.

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.

Keep budgets, approvals and recovery intact.

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.

Wallet operations require assigned access too.

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.

Supported purchase operations.

GET/v1

Discover the purchasing API and documentation

POST/v1/auth/logout

Revoke the current owner CLI session

GET/v1/me

Read owner balance or agent policy

GET/v1/agents

List agents (owner)

POST/v1/agents/{agent_id}/revoke

Revoke an agent key (owner)

GET/v1/catalog/gifts

Search allowed gift products

POST/v1/quotes

Quote a card or gift purchase (agent)

POST/v1/orders

Reserve and submit one purchase (agent)

GET/v1/orders

List owned orders

GET/v1/orders/{order_id}

Read an owned order, optionally refresh its card status

POST/v1/orders/{order_id}/reveal

Reveal card or gift details (agent with secrets scope)

POST/v1/orders/{order_id}/approve

Approve an exact pending purchase (owner)

POST/v1/orders/{order_id}/reject

Cancel a pending approval and release its reservation (owner)

GET/v1/requests/{request_key}

Recover an order by its idempotency key (agent)

GET/v1/approvals

List pending approvals (owner)

GET/v1/events

Read the scoped audit trail