Get orders by creator
Retrieves all orders created by a specific address
GET
/orders
Retrieves all orders created by a specific address
Query Parameters
creatorAddress
string
required
query
Address of the order creator
Example:
"0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1"limit
string
optional
query
Maximum number of orders to return
Example:
"20"offset
string
optional
query
Number of orders to skip
Example:
"0"Responses
200
Orders retrieved successfully
application/jsonsuccess
boolean
REQUIRED
message
string
REQUIRED
data
unknown[]
REQUIRED
Array of orders
Array of:
One of:
Option 1
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
swappayload
object
REQUIRED
Swap-specific payload
expectedDstAmount
string
REQUIRED
Expected amount of destination tokens
metadata
object
REQUIRED
Swap metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
Option 2
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
x402_swappayload
object
REQUIRED
X402 swap-specific payload
expectedDstAmount
string
REQUIRED
Expected amount of destination tokens
metadata
object
REQUIRED
X402 swap metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
Option 3
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
hype_duelpayload
object
REQUIRED
HypeDuel-specific payload
expectedDstAmount
string
REQUIRED
Expected amount of destination tokens
metadata
object
REQUIRED
HypeDuel metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
Option 4
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
custompayload
object
REQUIRED
Custom execution payload
data
string
REQUIRED
Encoded transaction data
to
string
REQUIRED
Target contract address
spenderAddress
string
Optional spender address for token approval
amount
string
REQUIRED
Amount for the custom operation
metadata
object
REQUIRED
Custom metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
action
string
Optional custom action identifier
Option 5
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
custom_exact_inpayload
object
REQUIRED
Custom exact in execution payload
amount
string
REQUIRED
Amount used when executing the destination function
expectedDstAmount
string
REQUIRED
Expected amount of destination tokens
functionAbi
string
REQUIRED
JSON stringified ABI that includes the destination function
functionName
string
REQUIRED
Destination function name
functionArgs
string[]
REQUIRED
Destination function arguments (template variables allowed)
Array of:
to
string
REQUIRED
Destination contract address
spenderAddress
string
Optional spender address for token approval
value
string
Native token value to send with the transaction (in wei)
action
string
Optional action identifier used for display purposes
metadata
object
REQUIRED
Custom metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
action
string
Optional custom action identifier
Option 6
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
mint_nftpayload
object
REQUIRED
NFT minting payload
contractAddress
string
REQUIRED
NFT contract address
tokenId
number | null
REQUIRED
Token ID (for ERC1155, null for ERC721)
contractType
string
REQUIRED
Type of NFT contract
Enum:
erc721, erc1155nftPrice
string
REQUIRED
Price to mint the NFT
metadata
object
REQUIRED
NFT metadata
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
nft
unknown
REQUIRED
Option 7
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
join_tournamentpayload
object
REQUIRED
Tournament joining payload
contractAddress
string
REQUIRED
Tournament contract address
entryPrice
string
REQUIRED
Tournament entry price
metadata
object
REQUIRED
Tournament metadata
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
tournament
object
REQUIRED
Tournament details
slug
string
REQUIRED
Tournament slug identifier
name
string
REQUIRED
Tournament name
description
string
REQUIRED
Tournament description
imageUrl
string
REQUIRED
Tournament image URL
Option 8
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type
Enum:
fund_tournamentpayload
object
REQUIRED
Tournament funding payload
contractAddress
string
REQUIRED
Tournament contract address
fundAmount
string
REQUIRED
Amount to fund the tournament
metadata
object
REQUIRED
Tournament metadata
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
tournament
object
REQUIRED
Tournament details
slug
string
REQUIRED
Tournament slug identifier
name
string
REQUIRED
Tournament name
description
string
REQUIRED
Tournament description
imageUrl
string
REQUIRED
Tournament image URL
Option 9
id
string (uuid)
REQUIRED
Unique order identifier
recipientAddress
string
REQUIRED
Address to receive tokens/NFT/etc
globalAddress
string
REQUIRED
Global wallet address handling the order
srcChain
number
REQUIRED
Source chain ID
dstChain
number
REQUIRED
Destination chain ID
srcTokenAddress
string
REQUIRED
Source token contract address
dstTokenAddress
string
REQUIRED
Destination token contract address
srcAmount
string
REQUIRED
Source amount
status
string
REQUIRED
Current order status
Enum:
scanning_deposit_transaction, waiting_stripe_payment, expired, sending_token_from_vault, quoting_after_deposit, relay, executing, executed, refunding, refunded, failureerrorDetails
string | null
REQUIRED
Error details if order failed
createdAt
number
REQUIRED
Creation timestamp
expiredAt
number
REQUIRED
Expiration timestamp
filledAt
number | null
REQUIRED
Timestamp when the order was filled/executed
receivedDepositAt
number | null
REQUIRED
Timestamp when the deposit was received
creatorAddress
string | null
REQUIRED
Optional creator address
partnerId
string | null
REQUIRED
Optional partner identifier
clientReferenceId
string | null
Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)
onrampMetadata
unknown | null
REQUIRED
Onramp configuration if used
oneClickBuyUrl
string | null
REQUIRED
Quick purchase URL if available
stripePaymentIntentId
string | null
REQUIRED
Stripe payment intent ID if using Stripe
settlement
object | null
REQUIRED
Settlement information for executed orders
actualDstAmount
string
Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.
relay
object
Complete relay API response data. Contains transaction details, state changes, fees, and execution status. Optional - can be backfilled by querying Relay API /requests/v2 endpoint.
fee
unknown | null
Fee structure for the order including Stripe and AnySpend fees
type
string
REQUIRED
Order type for deposit-first flow where amount is determined after deposit
Enum:
deposit_firstpayload
object
REQUIRED
DepositFirst payload - empty at creation time, details determined after deposit is detected
metadata
object
REQUIRED
DepositFirst metadata for display purposes
srcToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
dstToken
object
REQUIRED
Token details
chainId
number
REQUIRED
Token chain ID
address
string
REQUIRED
Token contract address
symbol
string
REQUIRED
Token symbol
name
string
REQUIRED
Token name
decimals
number
REQUIRED
Token decimals
metadata
object
REQUIRED
logoURI
string
Token logo URI
statusCode
number
REQUIRED
400
Bad request
curl -X GET 'https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1'
const response = await fetch('https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1', {
method: 'GET'
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1')
print(response.json())
200
Response
{
"success": true,
"message": "Get orders by creator successfully",
"data": [
{
"id": "41fa39bf-1722-4735-9f36-58813b592854",
"recipientAddress": "0x55c71fca5e01cf246718748ae540473e608d0282",
"globalAddress": "0xcc524c104c2d52f9712db96b4e34cd85d20a4348",
"srcChain": 8453,
"dstChain": 8453,
"srcTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"dstTokenAddress": "0x0000000000000000000000000000000000000000",
"srcAmount": "4430000",
"status": "expired",
"errorDetails": null,
"createdAt": 1752244063160,
"expiredAt": 1752244963160,
"onrampMetadata": {
"country": "SG",
"vendor": "stripe-web2",
"paymentMethod": "",
"redirectUrl": "https://www.anyspend.com",
"stripeAmountInCents": 500
},
"creatorAddress": "0x55c71fca5e01cf246718748ae540473e608d0282",
"partnerId": null,
"oneClickBuyUrl": null,
"stripePaymentIntentId": "pi_3RjhvPJnoDg53PsP0yKq1gWq",
"settlement": null,
"type": "swap",
"payload": {
"expectedDstAmount": "1667766525695385"
},
"metadata": {
"srcToken": {
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://polygonscan.com/token/images/usdc_32.png"
}
},
"dstToken": {
"chainId": 8453,
"address": "0x0000000000000000000000000000000000000000",
"symbol": "ETH",
"name": "Ether",
"decimals": 18,
"metadata": {
"logoURI": "https://assets.relay.link/icons/1/light.png"
}
}
}
},
{
"id": "53f6901a-e840-446c-b2ee-0d8a606cfa4c",
"recipientAddress": "0x55c71fca5e01cf246718748ae540473e608d0282",
"globalAddress": "0x27ca6194e092bd8e316c4a6bfba0466189a0ac51",
"srcChain": 8453,
"dstChain": 8453,
"srcTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"dstTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"srcAmount": "10000",
"status": "refunding",
"errorDetails": "Error execute: Failed to receive a successful response for solver status check with hash '0xb01d2f97ad57182d7c6ad24dc048f035b97813bd974b6cc968c8d7f8bfa01623' after 300 attempt(s).",
"createdAt": 1752230834066,
"expiredAt": 1752231734066,
"onrampMetadata": null,
"creatorAddress": "0x55c71fca5e01cf246718748ae540473e608d0282",
"partnerId": null,
"oneClickBuyUrl": null,
"stripePaymentIntentId": null,
"settlement": null,
"type": "swap",
"payload": {
"expectedDstAmount": "10000"
},
"metadata": {
"srcToken": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694"
}
},
"dstToken": {
"chainId": 8453,
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://coin-images.coingecko.com/coins/images/6319/large/usdc.png?1696506694"
}
}
}
}
],
"statusCode": 200
}
GET
/orders