Gift Cards Buy with crypto on the 0fiat app
B2B Gift Card API

Ship gift cards.
Not the infrastructure.

Add a global gift-card catalog to your wallet, exchange or fintech product. Your users pay with stablecoins; your interface stays entirely yours.

9,000+ gift cards 45+ countries 6 networks USDT · USDC
Live API trace
GET /v2/whitelabel/vouchers
Query parameters 01 / 04
?
search = "amazon"
limit = 20
Order lifecycle SELECTED
Amazon

Amazon voucher

voucherId · 171

Catalog match selected for quoting

01 Catalog
02 Quote
03 Order
04 Delivered

Routes and request fields reflect the API v2 collection · response states are illustrative

Integration flow

Four calls from catalog to delivery.

Browse, quote, create the order and track its delivery from your server.

01

Browse the catalog

Search the catalog and limit the response to the products your interface needs.

GET /v2/whitelabel/vouchers
02

Get the quote

Pass voucherId and amount as query parameters to retrieve the current quote.

GET /v2/whitelabel/quote
03

Create the order

Submit your clientOrderId, voucher, amount and customer delivery details.

POST /v2/whitelabel/orders
04

Track delivery

Read status using the 0fiat order ID, or use clientOrderIdStatus with your own ID.

GET /v2/whitelabel/orderStatus
create-order.ts
import crypto from 'node:crypto';

const body = {
  clientOrderId: 'po_1001',
  voucherId: 171,
  amount: 500,
  email: 'buyer@example.com',
  phoneNumber: '+919876543210',
  ip: '203.0.113.4'
};

const payload = Buffer.from(JSON.stringify({
  timestamp: Date.now(),
  body
})).toString('base64');

const signature = crypto
  .createHmac('sha512', process.env.ZERO_FIAT_API_SECRET!)
  .update(payload)
  .digest('hex');

const order = await fetch(
  'https://api.0fiat.com/0fiat/api/v2/whitelabel/orders',
  {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-0fiat-apikey': process.env.ZERO_FIAT_API_KEY!,
      'x-0fiat-payload': payload,
      'x-0fiat-signature': signature
    },
    body: JSON.stringify(body)
  }
);

Example only. Request fields, signatures and production credentials are supplied in partner documentation.

Global catalog

Brands people already know.
Markets you want to reach.

Availability, denominations and payment pairs are always read live before checkout.

Amazon
Amazon
Walmart
Walmart
Netflix
Netflix
Uber
Uber
Airbnb
Airbnb
Nike
Nike
Steam
Steam
Google Play
Google Play
Target
Target
Domino’s
Domino’s
Sephora
Sephora
Best Buy
Best Buy
9,000+ Gift cards
45+ Countries
6 Networks
2 Core stablecoins

API primitives

One API.
No dead ends.

Every primitive maps to a real job in the gift-card lifecycle. Keep the secret server-side and shape the customer experience yourself.

https://api.0fiat.com/0fiat/api Discuss your integration

Browse

GET
/v2/whitelabel/vouchers

Search the catalog with search and limit query parameters.

Quote

GET
/v2/whitelabel/quote

Request the current quote using voucherId and amount.

Create

POST
/v2/whitelabel/orders

Create an order with a unique partner clientOrderId.

Order status

GET
/v2/whitelabel/orderStatus

Read the latest state using the 0fiat orderId query parameter.

Client status

GET
/v2/whitelabel/clientOrderIdStatus

Look up the same state using your own clientOrderId.

Balance

GET
/v2/whitelabel/balance

Read the current balance available to the partner account.

Ledger

GET
/v2/whitelabel/ledger

Reconcile account activity by entry type with a paginated ledger.

Authenticate

SHA-512
x-0fiat-* headers

Sign a Base64 timestamp-and-body payload with your server-side API secret.

Integration options

Meet your product where it is.

Choose the control surface that matches your team, architecture and launch timeline.

01 Full control

REST API

Build your own interface while 0fiat handles catalog, quotes, order state and delivery.

Best for

Wallets, exchanges and fintech products

02 AI-native

MCP

Let agents browse, quote and initiate supported gift-card orders through the official MCP server.

Best for

AI clients, agents and developer tools

03 Fast launch

Managed checkout

Use a partner-hosted purchase flow when your product does not need a fully custom checkout.

Best for

Lean teams and rapid validation

Stablecoin rails

Let users pay with what they hold.

Supported pairs vary by catalog item. Read live availability instead of assuming every coin works on every network.

Ethereum network
Ethereumerc20

USDT · USDC

BNB Chain network
BNB Chainbep20

USDT · USDC

TRON network
TRONtrc20

USDT

Polygon network
Polygonmatic20

USDT · USDC

Solana network
Solanaspl

USDC

Base network
Basebase

USDC

Partner economics

Turn checkout volume into a new revenue line.

Commercial terms are agreed during partner onboarding and can be tracked against the orders your integration originates.

Revenue share

Earn against eligible gift-card purchases generated by your product.

No integration licence fee

Scope the commercial model before launch without buying an API subscription.

Partner reporting

Reconcile orders, statuses and attributed activity from one integration.

Due diligence

Questions before production.

The answers that usually matter to product, engineering and compliance teams.

What does the B2B Gift Card API provide? +

It gives partner products a server-side path to browse available gift cards, request crypto quotes, create orders and follow delivery status without building the underlying catalog and payment orchestration.

Who is this designed for? +

Wallets, exchanges, fintech apps, dApps and AI products that want gift cards inside an existing user experience.

How quickly can we integrate? +

Timing depends on your interface, compliance needs and checkout model. The core integration follows familiar REST and HMAC-SHA512 patterns, and the 0fiat team can help scope the fastest path during onboarding.

How do we track an order? +

Use GET /v2/whitelabel/orderStatus?orderId={orderId} with the 0fiat order ID. If you want to reconcile against your own purchase reference, use GET /v2/whitelabel/clientOrderIdStatus?clientOrderId={clientOrderId}.

Which assets and networks are supported? +

The current catalog spans USDT and USDC across major networks including Ethereum, BNB Chain, TRON, Polygon, Solana and Base. Availability is pair-specific, so integrations should always read the live response before showing a payment option.

Do partners need to handle compliance? +

Requirements can vary by market, product and gift-card provider. 0fiat will clarify the applicable partner flow during onboarding; the API should not be presented as universally KYC-free.

Can the customer experience be white-labelled? +

Yes for API integrations: your product controls the interface while the API returns the catalog and transaction data required for the flow.

How do we get production access? +

Request partner access through 0fiat support. The team will confirm scope, credentials, current documentation and production requirements.

Partner onboarding

Your interface.
One gift-card API underneath.

Tell us what you are building. We’ll confirm the integration model, current catalog coverage and production-access path.