Buy a gift card from ~550 US brands (Amazon, Target, DoorDash, Uber ...) and mor
Buy a gift card from ~550 US brands (Amazon, Target, DoorDash, Uber ...) and more countries; the card is issued to the agent's owner (registered STB agent key with gift cards turned on required). This call prices one card for a $0.02 USDC fee on Base and returns the exact USDC total, a pay_url and a claim token. Find product ids and amounts with GET /x402/giftcards/catalog/?country=USA.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.spendthebits.com/x402/giftcards/quote/
| Category | Commerce and shopping |
|---|---|
| Provider host | x402.spendthebits.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"amount": 10,
"brand": "Amazon.com",
"country": "USA",
"product_id": "103188916708"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"amount": {
"description": "Face value in the card's own currency; a fixed-denomination card takes one of its listed denominations",
"exclusiveMinimum": 0,
"type": "number"
},
"brand": {
"description": "Optional brand name; only used to suggest real products when product_id is not found",
"maxLength": 80,
"type": "string"
},
"country": {
"description": "Catalogue country name, e.g. USA, Canada, UK",
"minLength": 1,
"type": "string"
},
"product_id": {
"description": "Product id from GET /x402/giftcards/catalog/?country=<country>",
"minLength": 1,
"type": "string"
},
"ref": {
"description": "Optional referrer STB handle (@name) that earns part of the service fee",
"maxLength": 80,
"type": "string"
}
},
"required": [
"product_id",
"country",
"amount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}