Create a signed purchase offer
get_offerCreate or refresh a one-hour signed bearer offer for a chosen skill, bundle, audit, or fix. Do not call this after a paid search_fixes result or an unpaid get_fix/get_skill result because those responses already include both payment rails. Choose USDC for Base Pay or ETH for exact wei; with no product arguments, this returns the general settlement document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Settlement rail. Defaults to ETH for backward compatibility. | |
| productId | No | Exact fix, skill, bundle, or audit product id. | |
| productType | No | Catalog shelf that owns the product id; bundles use skill. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | ||
| spec | No | Offer or settlement-document specification. | |
| error | No | Machine-readable product, currency, or checkout failure. | |
| offer | No | ||
| payTo | No | ||
| token | No | Private signed bearer purchase credential; never publish it. | |
| detail | No | Human-readable failure detail. | |
| backend | No | ||
| basePay | No | ||
| catalog | No | ||
| chainId | No | ||
| network | No | ||
| currency | No | ||
| decimals | No | ||
| priceEth | No | ||
| priceUsd | No | ||
| priceWei | No | ||
| servedBy | No | ||
| expiresAt | No | ||
| productId | No | ||
| amountUsdc | No | ||
| paymentUri | No | ||
| redemption | No | ||
| settlement | No | ||
| productType | No | ||
| basePriceWei | No | ||
| usdcContract | No | ||
| tokenHandling | No | ||
| amountUsdcAtomic | No | ||
| baseAmountUsdcAtomic | No |