Add prepaid and reloadable cards, gift cards, eSIMs, agent purchasing and wallet payments to your app on any blockchain. Connect through the Bop API from Ethereum, Solana, Elysium or another network.
Bring Bop products to an app on any blockchain. Tell us the products your customers need, your integration scope and expected usage. Bop reviews access for each product and issues the agreed permissions.
Prepaid cards
Issue US and international prepaid cards from your application. Quote the exact price, track the order and retrieve delivery with a separately scoped request.
US prepaid: $5 to $1,000
International prepaid: whole USD amounts, $100 to $1,000
Offer a reloadable Mastercard that customers can keep using. Bring card issuance, balance top-ups and ongoing card management into your Bop integration.
Build rewards, gifting or a marketplace around a searchable country-specific catalog. Use current denominations and let the purchase quote confirm availability and price.
Add mobile data to your travel, wallet or payments product. Help customers find a plan for their destination, install an eSIM and manage the service with Bop.
Let an agent buy within the account owner's rules. Limit each order, the total budget and the rolling 24-hour spend, with approval for larger purchases.
Read balances, prepare stablecoin transfers and handle compatible x402 payment requests. Bop returns unsigned data for the customer's wallet to review and sign.
Request reloadable card and eSIM access with your integration brief. Bop will confirm the supported flow and permissions with you. The public v1 reference below covers prepaid cards, gift cards, agent purchasing and wallet payments.
Your product can live on Ethereum, Solana, Elysium or another network. Bop's HTTPS API connects to your server independently of your application's chain.
Chain-independent API access
With Bop-issued access, call Bop from your backend or agent using scoped Bearer keys. The integration does not require your product to move to Elysium.
Use the configured networks
Today, Bop checkout funding accepts USDC on Elysium, chain 99901. Purchase responses identify the funding network. Add funds through the Bop app before submitting orders.
Elysium transactions, signed by the owner
The wallet API prepares payments on eip155:99901. Any-chain integration does not enable deposits or transaction signing on other networks. Wallet funds and the Bop checkout balance are separate.
Make your first API request.
Read the guide and examples freely. To use the API, leave a message below. Bop reviews your integration and issues the key with the agreed permissions. Signing up, connecting a wallet or creating a consumer agent key does not grant partner access.
1
Receive your Bop-issued key.
Bop assigns the account, role, expiry and spending policy. Keep the issued key in a server-side secret store. The public examples use placeholders and never submit a purchase from this page.
bash
# Bop issues your partner key after reviewing your request.
# Load the assigned key from your server's private secret store.
curl 'https://boppay.app/v1/me' --header "Authorization: Bearer $BOP_API_KEY"
2
Ask for the exact price.
Quotes expire after two minutes and do not charge funds. Check the full total, expiry and any separate HYPE network fee before continuing.
Use quote.id as QUOTE_ID, a unique purchase intent as JOB_ID and the returned order.id as ORDER_ID. A 202 response means the request was accepted; read the order state to determine delivery.
bash
# Use the returned quote.id and one ID for this purchase intent.
curl --request POST 'https://boppay.app/v1/orders' \
--header "Authorization: Bearer $BOP_API_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $JOB_ID" \
--data '{"quote_id":"'"$QUOTE_ID"'"}'
# Read status until delivery is confirmed.
curl "https://boppay.app/v1/orders/$ORDER_ID?refresh=true" \
--header "Authorization: Bearer $BOP_API_KEY"
If the quote has a nonzero network_fee_hype, the owner must first pay it to network_fee_address and include the transaction hash as network_payment in the order body. The purchasing key cannot sign this transaction.
To access card numbers or gift codes, Bop must issue the key with secrets:read and call POST /v1/orders/{order_id}/reveal explicitly when delivery is available.
Keys and permissions
Send Authorization: Bearer $BOP_API_KEY to the purchasing API. Keep keys out of browser code, URLs and logs. Functional wallet endpoints also require a Bop-issued key with the relevant wallet permission.
BOP-ISSUED OWNER KEY
Manage the account's access
Read account agents, revoke an assigned agent and approve or reject a purchase. Bop handles key issuance and replacement. End an owner credential with POST /v1/auth/logout.
BOP-ISSUED PURCHASING KEY
Purchase within a policy
Quote and submit permitted products, read assigned orders and optionally reveal their delivery. An agent cannot raise its limits, create agents, approve its own orders or withdraw funds.
Purchasing key scopes
Scope
Permission
cards:purchase
Quote and buy US or international prepaid cards.
gifts:purchase
Quote and buy gift cards within the country and product policy.
orders:read
Read assigned orders, recover requests and read scoped events.
secrets:read
Explicitly reveal the assigned card or gift delivery details.
Budgets include the complete USD purchase total and pending reservations. The daily limit uses a rolling 24-hour window. Bop-issued purchasing keys retain their assigned spending caps without reserving the entire budget. Bop handles key replacement. Revocation blocks new requests; it does not cancel an already accepted payment or freeze an issued card.
Amounts and responses
Purchase base URL: https://boppay.app/v1. Send JSON objects with Content-Type: application/json for POST requests, including an empty {} for operations with no fields. Purchase request bodies are limited to 16,384 characters.
USD ledger amounts
Fields ending in _usdc retain their v1 compatibility names. They represent USD checkout amounts as decimal strings with up to six fractional digits, independent of the supported Elysium stablecoin used to fund the account.
Product amount
amount is the card face value or gift denomination in currency, with up to two fractional digits. Use the gift catalog's product currency and allowed denomination.
Quote total
total_usdc includes the product cost and Bop service fee. The legacy field provider_total_usdc is the product cost before the Bop fee. Its name is retained for API compatibility.
HYPE network fee
network_fee_hype is quoted separately in native HYPE when required. It is paid and confirmed by the owner before order submission.
Wallet token amounts
The wallet API uses token decimal strings, with up to 6 fractional digits for supported Elysium tokens. It returns unsigned transaction data and submitted: false.
Request tracing
Purchase responses include X-Request-Id. Standard errors also include error.request_id. Store the order ID and your idempotency key for recovery.
Bop's purchase service fee is 1% of the product cost, capped at $10 per order. Use the returned quote for the exact charge. The wallet API does not spend from the checkout ledger.
Approvals and order recovery
Send an Idempotency-Key on every order: 8 to 120 characters using letters, numbers, dots, underscores or hyphens. Reuse it with the same quote when retrying that intent. Reusing it for another quote returns idempotency_conflict. Each quote also maps to a single order.
If the full quote is above approval_above_usdc, the order enters awaiting_approval and reserves funds and agent budget. Bop can set the threshold to "0.00" to require approval for every purchase, or leave it unset for no approval threshold. The owner approves the exact order through the app or the owner API before the two-minute quote expires. Rejection or expiry releases the reservation.
awaiting_approval
Reserved, waiting for the owner to approve.
processing / pending / queued
Accepted or being fulfilled. Continue reading the existing order.
ready
Delivery is available through the explicit reveal operation.
review
The outcome needs reconciliation. Recover this order before another purchase.
failed / cancelled
Inspect the failure code and account balance before creating a new intent.
action_required / complete / archived
Follow the returned product state. HTTP success alone does not confirm usable delivery.
If the connection drops
Read the order by ID or recover it using the original idempotency key. Do not create a second purchase to resolve an unknown outcome.
Order, approval and event lists return up to the latest 100 records. Audit events are available through GET /v1/events; v1 does not expose partner webhook registration.
Errors and rate limits
json
{
"error": {
"code": "quote_expired",
"message": "The quote expired. Request a new quote before purchasing.",
"request_id": "00000000-0000-4000-8000-000000000001",
"retryable": false
}
}
Wait for the delay in Retry-After before sending another request.
503
request_unavailable, rails_unavailable
Check service availability and recover the original request before any new purchase.
Purchasing requests are limited to 60 per minute per credential. Rate-limited responses include Retry-After: 5. Only rate-limit errors set retryable: true; an uncertain payment is never an instruction to repeat the purchase.
Endpoint reference
Search an operation, expand it for fields and response shapes, or download the machine-readable contracts. Placeholder IDs and sample amounts show the response shape; use the live values returned by Bop.
POST/v1/auth/logoutOwner+Revoke the current owner CLI session
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
JSON request body
Send an empty JSON object.
Responses
200Current owner session revoked401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
GET/v1/meOwner or agent+Read owner balance or agent policy
Access: Owner or agent credential issued by Bop. Agents can access only their own records.
Responses
200Account balance for owners, or policy for agents401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
Responses
200Latest 100 account agents401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
POST/v1/agents/{agent_id}/revokeOwner+Revoke an agent key (owner)
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
Path, query & header parameters
agent_idpath · required
string
JSON request body
Send an empty JSON object.
Responses
200Future requests with this agent key are blocked401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
GET/v1/catalog/giftsOwner or agent+Search allowed gift products
Access: Owner or agent credential issued by Bop. Agents can access only their own records.
Path, query & header parameters
countryquery · optional
string
qquery · optional
string
Responses
200Catalog filtered to the agent policy when applicable401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
POST/v1/quotesAgent+Quote a card or gift purchase (agent)
Access: Agent key issued by Bop. Product permissions and spending policy apply.
JSON request body
kindstring · required
agent_card / international_card / gift_card
amountstring · required
Product face value as a decimal string, with up to two fractional digits. International prepaid cards use whole USD amounts.
currencystring · required
Three-letter product currency. Cards use USD; gift cards use the catalog currency.
countrystring
Two-letter uppercase gift redemption country, within the agent policy.
product_idstring
Gift product ID returned by the country catalog. Required for gift_card.
Responses
201Exact quote; no payment submitted401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
Quote response shape
Sample amounts show the wire format. Use the current totals and expiry from your own quote.
POST/v1/ordersAgent+Reserve and submit one purchase (agent)
Access: Agent key issued by Bop. Product permissions and spending policy apply.
Path, query & header parameters
Idempotency-Keyheader · required
^[A-Za-z0-9_.-]+$
JSON request body
quote_idstring · required
uuid
network_paymentstring
Owner-paid HYPE network fee receipt required only when the quote has a nonzero network_fee_hype.
Responses
200Existing terminal order or ready gift202Accepted or awaiting approval; inspect state, not HTTP success alone401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
202 covers processing, pending, queued, awaiting_approval and review. 200 can also return an existing order. Always inspect order.state.
Access: Owner or agent credential issued by Bop. Agents can access only their own records.
Responses
200Latest 100 owned orders; agents see only their orders401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
GET/v1/orders/{order_id}Owner or agent+Read an owned order, optionally refresh its card status
Access: Owner or agent credential issued by Bop. Agents can access only their own records.
Path, query & header parameters
order_idpath · required
string
refreshquery · optional
boolean
Responses
200Owned order status401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
POST/v1/orders/{order_id}/revealAgent+Reveal card or gift details (agent with secrets scope)
Access: Agent key issued by Bop. Product permissions and spending policy apply.
Path, query & header parameters
order_idpath · required
string
JSON request body
Send an empty JSON object.
Responses
200Owned delivery; keep secret data out of logs401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
Requires secrets:read. Gift delivery must be ready. Card details may be available for pending, ready, complete or archived issued cards. Keep all returned details out of logs.
POST/v1/orders/{order_id}/approveOwner+Approve an exact pending purchase (owner)
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
Path, query & header parameters
order_idpath · required
string
JSON request body
Send an empty JSON object.
Responses
202Approval processed; inspect the returned order state401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
POST/v1/orders/{order_id}/rejectOwner+Cancel a pending approval and release its reservation (owner)
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
Path, query & header parameters
order_idpath · required
string
JSON request body
Send an empty JSON object.
Responses
200True when an awaiting approval reservation was cancelled401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict413Request body exceeds 16,384 characters422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
GET/v1/requests/{request_key}Agent+Recover an order by its idempotency key (agent)
Access: Agent key issued by Bop. Product permissions and spending policy apply.
Path, query & header parameters
request_keypath · required
string
Responses
200Original order for this agent request key401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
Access: Owner credential issued by Bop. Consumer device authorization does not grant API access.
Responses
200Latest 100 pending owner approvals401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.
GET/v1/eventsOwner or agent+Read the scoped audit trail
Access: Owner or agent credential issued by Bop. Agents can access only their own records.
Responses
200Latest 100 scoped audit events401Key is missing, expired or revoked403Bop-issued partner access, the correct role, scope and product permissions are required.404Resource not available to this account or agent409Budget, balance, quote or order conflict422Invalid request429Rate limited. Respect Retry-After.503Service unavailable or outcome uncertain. Recover the existing request before another purchase.