Properties
| Name | Type | Description |
|---|---|---|
| orderId | string | |
| product | string | |
| status | object | |
| asset | object | |
| direction | object | |
| chainId | object | |
| toAddress | stringnull | |
| depositAddress | string | |
| createdAt | stringnull | |
| updatedAt | stringnull | |
| fromChainId | object | |
| depositChainId | object | |
| fromToken | string | |
| depositToken | string | |
| fromTokenSymbol | string | |
| depositTokenSymbol | string | |
| fromTokenDecimals | object | |
| depositTokenDecimals | object | |
| fromAmount | string | |
| depositAmount | string | |
| toChainId | object | |
| toToken | string | |
| toTokenSymbol | string | |
| toTokenDecimals | object | |
| expectedOutput | string | |
| depositTxHash | stringnull | |
| receivingTxHash | stringnull | |
| sessionId | stringnull | |
| refundAddress | stringnull | |
| refundRequestedAt | stringnull | |
| expiresAt | string | |
| amountUsd | number | |
| bonusStage | string | |
| coinflipRequested | boolean | |
| fundingProvider | object | |
| integratorFeeUsd | numbernull | |
| customerState | object | |
| confirmations | number | |
| requiredConfirmations | number | |
| depositObserved | boolean | |
| errorMessage | stringnull | |
| actualOutput | string | What the customer received, in atomic units of `deliveredToken` when present, otherwise of `toToken`. Only on completed orders. |
| deliveredToken | object | Present only when the order completed in a different asset than `toToken`; `actualOutput` is then denominated in this token. |
| coinflipLost | boolean | |
| hasReview | boolean | |
| refundRecovery | object | |
| rewards | object | |
| maxPayoutUsd | number | |
| destination | string | |
| depositAddressForms | array | |
| coinflip | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/wagyu-xyz/json-schema/wagyu-xyz-coinflip-order-schema.json",
"title": "CoinflipOrder",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/wagyu-xyz-openapi.json#/components/schemas/CoinflipOrder",
"type": "object",
"properties": {
"orderId": {
"type": "string"
},
"product": {
"type": "string",
"enum": [
"coinflip"
]
},
"status": {
"$ref": "#/$defs/OrderStatus"
},
"asset": {
"$ref": "#/$defs/CoinflipPoolAsset"
},
"direction": {
"$ref": "#/$defs/BridgeDirection"
},
"chainId": {
"anyOf": [
{
"$ref": "#/$defs/ChainId"
},
{
"type": "null"
}
]
},
"toAddress": {
"type": [
"string",
"null"
]
},
"depositAddress": {
"type": "string"
},
"createdAt": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"fromChainId": {
"anyOf": [
{
"$ref": "#/$defs/ChainId"
},
{
"type": "null"
}
]
},
"depositChainId": {
"anyOf": [
{
"$ref": "#/$defs/ChainId"
},
{
"type": "null"
}
]
},
"fromToken": {
"type": "string"
},
"depositToken": {
"type": "string"
},
"fromTokenSymbol": {
"type": "string"
},
"depositTokenSymbol": {
"type": "string"
},
"fromTokenDecimals": {
"$ref": "#/$defs/TokenDecimals"
},
"depositTokenDecimals": {
"$ref": "#/$defs/TokenDecimals"
},
"fromAmount": {
"type": "string"
},
"depositAmount": {
"type": "string"
},
"toChainId": {
"anyOf": [
{
"$ref": "#/$defs/ChainId"
},
{
"type": "null"
}
]
},
"toToken": {
"type": "string"
},
"toTokenSymbol": {
"type": "string"
},
"toTokenDecimals": {
"$ref": "#/$defs/TokenDecimals"
},
"expectedOutput": {
"type": "string"
},
"depositTxHash": {
"type": [
"string",
"null"
]
},
"receivingTxHash": {
"type": [
"string",
"null"
]
},
"sessionId": {
"type": [
"string",
"null"
]
},
"refundAddress": {
"type": [
"string",
"null"
]
},
"refundRequestedAt": {
"type": [
"string",
"null"
]
},
"expiresAt": {
"type": "string"
},
"amountUsd": {
"type": "number"
},
"bonusStage": {
"type": "string",
"enum": [
"none",
"coinflip"
]
},
"coinflipRequested": {
"type": "boolean"
},
"fundingProvider": {
"anyOf": [
{
"type": "string",
"enum": [
"privy"
]
},
{
"type": "null"
}
]
},
"integratorFeeUsd": {
"type": [
"number",
"null"
]
},
"customerState": {
"$ref": "#/$defs/CustomerOrderState"
},
"confirmations": {
"type": "number"
},
"requiredConfirmations": {
"type": "number"
},
"depositObserved": {
"type": "boolean"
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"actualOutput": {
"description": "What the customer received, in atomic units of `deliveredToken` when present, otherwise of `toToken`. Only on completed orders.",
"type": "string"
},
"deliveredToken": {
"type": "object",
"properties": {
"chainId": {
"$ref": "#/$defs/ChainId"
},
"token": {
"type": "string"
},
"symbol": {
"type": "string"
},
"decimals": {
"$ref": "#/$defs/TokenDecimals"
}
},
"required": [
"chainId",
"token",
"symbol",
"decimals"
],
"additionalProperties": false,
"description": "Present only when the order completed in a different asset than `toToken`; `actualOutput` is then denominated in this token."
},
"coinflipLost": {
"type": "boolean"
},
"hasReview": {
"type": "boolean"
},
"refundRecovery": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"wrong_chain",
"source",
"table_deposit"
]
},
"phase": {
"type": "string",
"enum": [
"address_required",
"requested",
"in_progress"
]
},
"chainId": {
"$ref": "#/$defs/ChainId"
},
"asset": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"native",
"erc20",
"spl"
]
},
"token": {
"type": [
"string",
"null"
]
},
"symbol": {
"type": "string"
},
"decimals": {
"anyOf": [
{
"$ref": "#/$defs/TokenDecimals"
},
{
"type": "null"
}
]
}
},
"required": [
"type",
"token",
"symbol",
"decimals"
],
"additionalProperties": false
},
"amountAtomic": {
"type": "string"
},
"requestedAt": {
"type": [
"string",
"null"
]
},
"suggestedAddress": {
"description": "An address the order already has on file for this chain (for table_deposit, the table's payout address), offered as the prefill while phase is address_required. An offer only: nothing is sent to it until it is submitted.",
"type": "string"
},
"destination": {
"description": "Where the refund goes once that is decided (phase requested or in_progress). source is customer when someone submitted the address, sender when the refund returns to the wallet the deposit came from without anyone having to submit one.",
"type": "object",
"properties": {
"address": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"customer",
"sender"
]
}
},
"required": [
"address",
"source"
],
"additionalProperties": false
}
},
"required": [
"kind",
"phase",
"chainId",
"asset",
"amountAtomic",
"requestedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rewards": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending",
"earned",
"not_eligible"
]
},
"wagyuEarned": {
"type": "number"
},
"wagyuBonusEarned": {
"type": "number"
},
"wagyuCompensation": {
"type": "number",
"minimum": 0
},
"wagyuTotalEarned": {
"type": "number"
},
"policyKey": {
"type": [
"string",
"null"
]
}
},
"required": [
"status",
"wagyuEarned",
"wagyuBonusEarned",
"wagyuTotalEarned",
"policyKey"
],
"additionalProperties": false
},
"maxPayoutUsd": {
"type": "number",
"minimum": 0
},
"destination": {
"type": "string"
},
"depositAddressForms": {
"type": "array",
"items": {
"$ref": "#/$defs/DepositAddressForm"
}
},
"coinflip": {
"anyOf": [
{
"$ref": "#/$defs/CoinflipState"
},
{
"type": "null"
}
]
}
},
"required": [
"orderId",
"product",
"status",
"asset",
"chainId",
"toAddress",
"depositAddress",
"createdAt",
"updatedAt",
"customerState",
"errorMessage",
"coinflipLost",
"hasReview"
],
"additionalProperties": false,
"$defs": {
"AtomicAmount": {
"type": "string",
"pattern": "^0*[1-9][0-9]*$",
"description": "Positive base-10 integer in the asset’s atomic unit."
},
"AtomicBalance": {
"type": "string",
"pattern": "^0*[0-9]+$",
"description": "Non-negative base-10 integer in the asset’s atomic unit."
},
"BridgeAssetKey": {
"type": "string",
"enum": [
"xmr",
"trx",
"zec"
],
"description": "Registered native-bridge asset key, never a display symbol."
},
"BridgeDirection": {
"type": "string",
"enum": [
"deposit",
"withdraw"
],
"description": "deposit mints the wrapped asset from a native-coin deposit; withdraw returns the native coin against the wrapped asset."
},
"ChainId": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Non-negative integer chain identifier."
},
"CoinflipPoolAsset": {
"type": "string",
"enum": [
"xmr",
"btc",
"sol",
"eth",
"zec"
],
"description": "Coinflip-table pool asset key, never a display symbol."
},
"CoinflipState": {
"type": "object",
"properties": {
"eligible": {
"type": "boolean"
},
"accepted": {
"type": [
"boolean",
"null"
]
},
"seedHash": {
"type": "string"
},
"clientSeed": {
"type": "string"
},
"assetSymbol": {
"type": "string"
},
"assetKey": {
"$ref": "#/$defs/StakeAssetKey"
},
"result": {
"type": "number"
},
"won": {
"type": "boolean"
},
"serverSeed": {
"type": "string"
},
"resolvedAt": {
"type": "string"
},
"side": {
"anyOf": [
{
"type": "string",
"enum": [
"cow",
"milk"
]
},
{
"type": "null"
}
]
},
"currentRound": {
"type": "number"
},
"currentMultiplier": {
"type": "number"
},
"finalMultiplier": {
"type": [
"number",
"null"
]
},
"finalWon": {
"type": [
"boolean",
"null"
]
},
"rounds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"round": {
"type": "number"
},
"serverSeed": {
"type": "string"
},
"serverSeedHash": {
"type": "string"
},
"clientSeed": {
"type": "string"
},
"side": {
"type": "string",
"enum": [
"cow",
"milk"
]
},
"result": {
"type": "number"
},
"won": {
"type": "boolean"
},
"resolvedAt": {
"type": "string"
},
"stakeAtomic": {
"$ref": "#/$defs/AtomicAmount"
},
"balanceAfterAtomic": {
"$ref": "#/$defs/AtomicBalance"
}
},
"required": [
"round"
],
"additionalProperties": false
}
},
"policy": {
"type": "object",
"properties": {
"edgePercent": {
"type": "number"
},
"milkWinBelow": {
"type": "number"
},
"cowWinAbove": {
"type": "number"
},
"winChancePercent": {
"type": "number"
},
"maxWalletFractionPercent": {
"type": "number"
},
"maxPayoutAtomic": {
"$ref": "#/$defs/AtomicAmount"
}
},
"required": [
"edgePercent",
"milkWinBelow",
"cowWinAbove",
"winChancePercent"
],
"additionalProperties": false
},
"decisionDeadline": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"session"
]
},
"balanceAtomic": {
"$ref": "#/$defs/AtomicBalance"
},
"creditedInAtomic": {
"$ref": "#/$defs/AtomicBalance"
},
"wageredAtomic": {
"$ref": "#/$defs/AtomicBalance"
},
"minBetAtomic": {
"$ref": "#/$defs/AtomicBalance"
},
"maxBetAtomic": {
"$ref": "#/$defs/AtomicBalance"
},
"wagyuPoints": {
"type": "number"
},
"refusal": {
"type": "string",
"enum": [
"not_a_positive_amount",
"above_balance",
"below_minimum",
"below_payout_minimum",
"above_exposure_cap",
"limits_unavailable"
]
},
"pendingTopUp": {
"type": "object",
"properties": {
"atomic": {
"$ref": "#/$defs/AtomicAmount"
},
"confirmations": {
"type": "number"
},
"requiredConfirmations": {
"type": "number"
}
},
"required": [
"atomic",
"confirmations",
"requiredConfirmations"
],
"additionalProperties": false
}
},
"required": [
"eligible",
"accepted",
"seedHash",
"clientSeed"
],
"additionalProperties": false
},
"CustomerOrderState": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"awaiting_deposit"
]
},
"notice": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"below_expected"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"below_minimum"
]
},
"minimumDepositAmount": {
"$ref": "#/$defs/AtomicAmount"
}
},
"required": [
"kind",
"minimumDepositAmount"
],
"additionalProperties": false
}
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"processing"
]
},
"stage": {
"type": "string",
"enum": [
"processing",
"confirming",
"routing",
"trading",
"sending",
"refunding"
]
},
"notice": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"checking"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
}
},
"required": [
"kind",
"stage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"action_required"
]
},
"action": {
"type": "string",
"enum": [
"coinflip",
"refund_address",
"payout_address"
]
}
},
"required": [
"kind",
"action"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"paused"
]
},
"reason": {
"type": "string",
"enum": [
"preparing_refund",
"below_minimum"
]
},
"minimumDepositAmount": {
"$ref": "#/$defs/AtomicAmount"
}
},
"required": [
"kind",
"reason"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"completed"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"refunded"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"expired"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"failed"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
}
],
"description": "Authoritative customer display/action state. Clients must not infer lifecycle from status or resource presence."
},
"DepositAddressForm": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"shielded",
"transparent"
]
},
"address": {
"type": "string"
}
},
"required": [
"kind",
"address"
],
"additionalProperties": false
},
"OrderStatus": {
"type": "string",
"enum": [
"awaiting_deposit",
"awaiting_hxmr",
"awaiting_trx1",
"awaiting_zec1",
"awaiting_xmr1",
"processing",
"completed",
"failed",
"expired",
"refunded",
"needs_review"
]
},
"StakeAssetKey": {
"anyOf": [
{
"$ref": "#/$defs/BridgeAssetKey"
},
{
"$ref": "#/$defs/CoinflipPoolAsset"
}
],
"description": "Asset a coinflip was staked in: a table pool asset or a bridge asset."
},
"TokenDecimals": {
"type": "integer",
"minimum": 0,
"maximum": 36
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wagyu-xyz-coinflip-order"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.