Overview
Your agent can order gift cards from a multi-brand catalog (Amazon, Uber, streaming services, gaming, travel, and more) using the Laso Finance API. Ordering a gift card is a two-call flow:GET /search-gift-cards— browse the catalog and find thelaso_server_idfor the brand you want.GET /order-gift-card— pay for the card via x402 and receive the redemption details.
/order-gift-card already contains the redemption_code, pin_code, or redemption_url your agent needs. No polling step.
How it works
Discover the catalog
Your agent calls
GET /search-gift-cards (free, Bearer token) and reads the facets object in the response to learn every valid category, currency, and country value.Search for a brand
Filter the catalog with
q, country, currency, and category to find the gift card. Each result includes a laso_server_id, allowed min/max amount, and the currency for the product.Order the card
Your agent calls
GET /order-gift-card?amount=X&laso_server_id=Y as an x402 request. The USDC price equals the face value (with optional FX conversion for non-USD products).Step 1: Browse the catalog
The catalog is large, so the workflow is “discover the filters, then filter.” A single unfiltered request returns afacets object listing every valid value for category, currency, and country.
facets:
| Parameter | Description |
|---|---|
q | Search query that matches the brand name (e.g. amazon, uber). |
country | ISO 3166-1 alpha-2 code (e.g. US, GB). Returns cards available in that country plus borderless products with no restriction. |
currency | Currency code (e.g. USD, EUR, GBP). |
category | Catalog category (e.g. ecommerce, travel, gaming, streaming). |
Response
min, max, increment, and denominations fields tell your agent what amounts the brand accepts. Honor them before calling /order-gift-card.
Step 2: Order the gift card
| Parameter | Description |
|---|---|
amount | Gift card face value in the product’s currency. Must respect the brand’s min, max, and increment rules. |
laso_server_id | Product identifier from the catalog (/search-gift-cards). |
country | Optional ISO 3166-1 alpha-2 code. Defaults to US. |
Response
| Field | Description |
|---|---|
card_id | Internal Laso identifier for this gift card order. |
redemption_code | The code the recipient enters at checkout to redeem the card. Present for most brands. |
pin_code | Some brands return a separate PIN alongside the code. Present it together with redemption_code. |
redemption_url | Some brands return a URL to redeem the card directly. Present this instead of (or in addition to) the code. |
status | Should be completed on a successful order. |
Redemption details vary by brand. Check
redemption_code, pin_code, and redemption_url — different brands return different combinations.Tell your agent
Order a \$50 Amazon gift card
Order a \$50 Amazon gift card
Browse categories before ordering
Browse categories before ordering
Order a non-USD gift card
Order a non-USD gift card
Limits and pricing
| Property | Value |
|---|---|
| Minimum amount | $5 USDC (or brand-specific min from the catalog) |
| Maximum amount | $9,000 USDC (or brand-specific max from the catalog) |
| Pricing | Dynamic — the x402 USDC price matches the amount parameter |
| Increments | Brand-specific — respect increment and denominations from the catalog |
| Fulfillment | Instant — redemption details are returned in the order response |