> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyspend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get orders by creator

Retrieves all orders created by a specific address

` GET /orders `

Get orders by creator

Retrieves all orders created by a specific address

## Servers

- ` https://mainnet.anyspend.com ` — Production server

## Parameters

### ` creatorAddress ` (query, required)

Address of the order creator

- ` value `: type ` string `

Example:

```json
"0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1"
```

### ` limit ` (query, optional)

Maximum number of orders to return

- ` value `: type ` string `

Example:

```json
"20"
```

### ` offset ` (query, optional)

Number of orders to skip

- ` value `: type ` string `

Example:

```json
"0"
```

## Responses

### ` 200 ` — Orders retrieved successfully

Content type: ` application/json `

- ` value `: type ` object `

  - example: ` {"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} `

  - Required fields: ` success `, ` message `, ` data `, ` statusCode `

  - ` success `: type ` boolean `

    - example: ` true `

  - ` message `: type ` string `

    - example: ` "Get orders by creator successfully" `

  - ` data `: type ` array ` — Array of orders

    - ` array item `: type ` unknown `

      - ` oneOf alternative 1 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["swap"] `

          - ` payload `: type ` object ` — Swap-specific payload

            - Required fields: ` expectedDstAmount `

            - ` expectedDstAmount `: type ` string ` — Expected amount of destination tokens

              - example: ` "990000" `

          - ` metadata `: type ` object ` — Swap metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

      - ` oneOf alternative 2 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["x402_swap"] `

          - ` payload `: type ` object ` — X402 swap-specific payload

            - Required fields: ` expectedDstAmount `

            - ` expectedDstAmount `: type ` string ` — Expected amount of destination tokens

              - example: ` "990000" `

          - ` metadata `: type ` object ` — X402 swap metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

      - ` oneOf alternative 3 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["hype_duel"] `

          - ` payload `: type ` object ` — HypeDuel-specific payload

            - Required fields: ` expectedDstAmount `

            - ` expectedDstAmount `: type ` string ` — Expected amount of destination tokens

              - example: ` "990000" `

          - ` metadata `: type ` object ` — HypeDuel metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

      - ` oneOf alternative 4 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["custom"] `

          - ` payload `: type ` object ` — Custom execution payload

            - Required fields: ` data `, ` to `, ` amount `

            - ` data `: type ` string ` — Encoded transaction data

              - example: ` "0x1234567890abcdef..." `

            - ` to `: type ` string ` — Target contract address

              - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

            - ` spenderAddress `: type ` string ` — Optional spender address for token approval

              - example: ` "0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1" `

            - ` amount `: type ` string ` — Amount for the custom operation

              - example: ` "1000000" `

          - ` metadata `: type ` object ` — Custom metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` action `: type ` string ` — Optional custom action identifier

              - example: ` "claim-reward" `

      - ` oneOf alternative 5 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["custom_exact_in"] `

          - ` payload `: type ` object ` — Custom exact in execution payload

            - Required fields: ` amount `, ` expectedDstAmount `, ` functionAbi `, ` functionName `, ` functionArgs `, ` to `

            - ` amount `: type ` string ` — Amount used when executing the destination function

              - example: ` "1000000000000000000" `

            - ` expectedDstAmount `: type ` string ` — Expected amount of destination tokens

              - example: ` "1000000000000000000" `

            - ` functionAbi `: type ` string ` — JSON stringified ABI that includes the destination function

            - ` functionName `: type ` string ` — Destination function name

              - example: ` "stake" `

            - ` functionArgs `: type ` array ` — Destination function arguments (template variables allowed)

              - ` array item `: type ` string `

            - ` to `: type ` string ` — Destination contract address

              - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

            - ` spenderAddress `: type ` string ` — Optional spender address for token approval

              - example: ` "0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1" `

            - ` value `: type ` string ` — Native token value to send with the transaction (in wei)

              - example: ` "1000000000000000000" `

            - ` action `: type ` string ` — Optional action identifier used for display purposes

              - example: ` "stake B3" `

          - ` metadata `: type ` object ` — Custom metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` action `: type ` string ` — Optional custom action identifier

              - example: ` "claim-reward" `

      - ` oneOf alternative 6 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["mint_nft"] `

          - ` payload `: type ` object ` — NFT minting payload

            - Required fields: ` contractAddress `, ` tokenId `, ` contractType `, ` nftPrice `

            - ` contractAddress `: type ` string ` — NFT contract address

              - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

            - ` tokenId `: type ` number `; nullable — Token ID (for ERC1155, null for ERC721)

              - example: ` 1 `

            - ` contractType `: type ` string ` — Type of NFT contract

              - enum: ` ["erc721","erc1155"] `

              - example: ` "erc721" `

            - ` nftPrice `: type ` string ` — Price to mint the NFT

              - example: ` "1000000" `

          - ` metadata `: type ` object ` — NFT metadata

            - Required fields: ` srcToken `, ` dstToken `, ` nft `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` nft `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — ERC721 NFT

                - Required fields: ` type `, ` contractAddress `, ` name `, ` description `, ` imageUrl `

                - ` type `: type ` string ` — NFT type

                  - enum: ` ["erc721"] `

                - ` contractAddress `: type ` string ` — NFT contract address

                  - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

                - ` name `: type ` string ` — NFT name

                  - example: ` "Cool NFT" `

                - ` description `: type ` string ` — NFT description

                  - example: ` "A very cool NFT" `

                - ` imageUrl `: type ` string ` — NFT image URL

                  - example: ` "https://example.com/nft.png" `

              - ` oneOf alternative 2 `: type ` object ` — ERC1155 NFT

                - Required fields: ` type `, ` contractAddress `, ` name `, ` description `, ` imageUrl `, ` tokenId `

                - ` type `: type ` string ` — NFT type

                  - enum: ` ["erc1155"] `

                - ` contractAddress `: type ` string ` — NFT contract address

                  - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

                - ` name `: type ` string ` — NFT name

                  - example: ` "Cool NFT" `

                - ` description `: type ` string ` — NFT description

                  - example: ` "A very cool NFT" `

                - ` imageUrl `: type ` string ` — NFT image URL

                  - example: ` "https://example.com/nft.png" `

                - ` tokenId `: type ` number ` — Token ID for ERC1155

                  - example: ` 1 `

      - ` oneOf alternative 7 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["join_tournament"] `

          - ` payload `: type ` object ` — Tournament joining payload

            - Required fields: ` contractAddress `, ` entryPrice `

            - ` contractAddress `: type ` string ` — Tournament contract address

              - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

            - ` entryPrice `: type ` string ` — Tournament entry price

              - example: ` "1000000" `

          - ` metadata `: type ` object ` — Tournament metadata

            - Required fields: ` srcToken `, ` dstToken `, ` tournament `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` tournament `: type ` object ` — Tournament details

              - Required fields: ` slug `, ` name `, ` description `, ` imageUrl `

              - ` slug `: type ` string ` — Tournament slug identifier

                - example: ` "summer-championship-2024" `

              - ` name `: type ` string ` — Tournament name

                - example: ` "Summer Championship 2024" `

              - ` description `: type ` string ` — Tournament description

                - example: ` "The biggest tournament of the summer" `

              - ` imageUrl `: type ` string ` — Tournament image URL

                - example: ` "https://example.com/tournament.png" `

      - ` oneOf alternative 8 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type

            - enum: ` ["fund_tournament"] `

          - ` payload `: type ` object ` — Tournament funding payload

            - Required fields: ` contractAddress `, ` fundAmount `

            - ` contractAddress `: type ` string ` — Tournament contract address

              - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

            - ` fundAmount `: type ` string ` — Amount to fund the tournament

              - example: ` "1000000" `

          - ` metadata `: type ` object ` — Tournament metadata

            - Required fields: ` srcToken `, ` dstToken `, ` tournament `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` tournament `: type ` object ` — Tournament details

              - Required fields: ` slug `, ` name `, ` description `, ` imageUrl `

              - ` slug `: type ` string ` — Tournament slug identifier

                - example: ` "summer-championship-2024" `

              - ` name `: type ` string ` — Tournament name

                - example: ` "Summer Championship 2024" `

              - ` description `: type ` string ` — Tournament description

                - example: ` "The biggest tournament of the summer" `

              - ` imageUrl `: type ` string ` — Tournament image URL

                - example: ` "https://example.com/tournament.png" `

      - ` oneOf alternative 9 `: type ` unknown `

        - ` allOf constraint 1 `: type ` object ` — Base order fields

          - Required fields: ` id `, ` type `, ` recipientAddress `, ` globalAddress `, ` srcChain `, ` dstChain `, ` srcTokenAddress `, ` dstTokenAddress `, ` srcAmount `, ` status `, ` errorDetails `, ` createdAt `, ` expiredAt `, ` filledAt `, ` receivedDepositAt `, ` creatorAddress `, ` partnerId `, ` onrampMetadata `, ` oneClickBuyUrl `, ` stripePaymentIntentId `, ` settlement `, ` payload `, ` metadata `

          - ` id `: type ` string `; format ` uuid ` — Unique order identifier

            - example: ` "5392f7a7-d472-4d6b-9848-bd07117fb82d" `

          - ` recipientAddress `: type ` string ` — Address to receive tokens/NFT/etc

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` globalAddress `: type ` string ` — Global wallet address handling the order

            - example: ` "0xa640beaa78eeb64bb269f2baf8202b9a7316e123" `

          - ` srcChain `: type ` number ` — Source chain ID

            - example: ` 8453 `

          - ` dstChain `: type ` number ` — Destination chain ID

            - example: ` 8453 `

          - ` srcTokenAddress `: type ` string ` — Source token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` dstTokenAddress `: type ` string ` — Destination token contract address

            - example: ` "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" `

          - ` srcAmount `: type ` string ` — Source amount

            - example: ` "93354000" `

          - ` status `: type ` string ` — Current order status

            - enum: ` ["scanning_deposit_transaction","waiting_stripe_payment","expired","sending_token_from_vault","quoting_after_deposit","relay","executing","executed","refunding","refunded","failure"] `

            - example: ` "executed" `

          - ` errorDetails `: type ` string `; nullable — Error details if order failed

          - ` createdAt `: type ` number ` — Creation timestamp

            - example: ` 1752505794679 `

          - ` expiredAt `: type ` number ` — Expiration timestamp

            - example: ` 1752506694679 `

          - ` filledAt `: type ` number `; nullable — Timestamp when the order was filled/executed

          - ` receivedDepositAt `: type ` number `; nullable — Timestamp when the deposit was received

          - ` creatorAddress `: type ` string `; nullable — Optional creator address

            - example: ` "0xb34facb90a200251318e8841c05102366f2158cf" `

          - ` partnerId `: type ` string `; nullable — Optional partner identifier

          - ` clientReferenceId `: type ` string `; nullable — Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars)

            - maxLength: ` 255 `

            - pattern: ` "^[a-zA-Z0-9_-]*$" `

          - ` onrampMetadata `: type ` unknown `; nullable — Onramp configuration if used

            - ` allOf constraint 1 `: type ` object ` — Onramp configuration

              - Required fields: ` country `, ` vendor `, ` paymentMethod `, ` redirectUrl `

              - ` country `: type ` string ` — Country code

                - example: ` "US" `

              - ` vendor `: type ` string ` — Onramp vendor used

                - enum: ` ["coinbase","stripe","stripe-web2","none"] `

                - example: ` "stripe-web2" `

              - ` paymentMethod `: type ` string ` — Payment method used

                - example: ` "" `

              - ` redirectUrl `: type ` string ` — Redirect URL after payment

                - example: ` "https://www.anyspend.com" `

              - ` stripeAmountInCents `: type ` number ` — Stripe payment amount in cents

                - example: ` 9900 `

              - ` ipAddress `: type ` string `; format ` ipv4 ` — Optional IP address for location detection. Required for Stripe onramp requests in production and omitted from standard order responses.

                - example: ` "192.168.1.1" `

              - ` fingerprint `: type ` object ` — Optional fingerprint data for fraud detection

                - Required fields: ` requestId `, ` visitorId `

                - ` requestId `: type ` string ` — Fingerprint request ID

                  - example: ` "fp_req_12345" `

                - ` visitorId `: type ` string ` — Fingerprint visitor ID

                  - example: ` "fp_visitor_67890" `

          - ` oneClickBuyUrl `: type ` string `; nullable — Quick purchase URL if available

          - ` stripePaymentIntentId `: type ` string `; nullable — Stripe payment intent ID if using Stripe

            - example: ` "pi_3Rko0sJnoDg53PsP0PDLsHkR" `

          - ` settlement `: type ` object `; nullable — Settlement information for executed orders

            - ` actualDstAmount `: type ` string ` — Actual received amount after execution (only for swap/hypeduel orders). Optional - only present for swap/hypeduel orders.

              - example: ` "990000" `

            - ` relay `: type ` 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.

              - example: ` {"status":"success","metadata":{"currencyOut":{"amount":"990000"}}} `

          - ` fee `: type ` unknown `; nullable — Fee structure for the order including Stripe and AnySpend fees

            - ` allOf constraint 1 `: type ` unknown `

              - ` oneOf alternative 1 `: type ` object ` — Standard crypto fee structure (non-Stripe transactions)

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` anyspendFeeBps `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["standard_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final fee in basis points after all discounts applied

                  - example: ` 40 `

              - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 fee structure including both Stripe and AnySpend fees

                - Required fields: ` type `, ` feeVersion `, ` tokenToCheckBalance `, ` recipientBalance `, ` stripeFeeBps `, ` stripeFeeUsd `, ` anyspendFeeBps `, ` anyspendFeeUsd `, ` anyspendWhaleDiscountBps `, ` anyspendPartnerDiscountBps `, ` finalFeeBps `, ` finalFeeUsd `, ` originalAmount `, ` finalAmount `

                - ` type `: type ` string ` — Fee type identifier

                  - enum: ` ["stripeweb2_fee"] `

                - ` feeVersion `: type ` number ` — Fee version number

                  - example: ` 1 `

                - ` tokenToCheckBalance `: type ` string ` — Token contract address used to check balance for whale discount (B3 token)

                  - example: ` "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3" `

                - ` recipientBalance `: type ` string ` — Recipient's B3 token balance

                  - example: ` "302843673392800000000000" `

                - ` stripeFeeBps `: type ` number ` — Stripe fee percentage in basis points (5.4%)

                  - example: ` 540 `

                - ` stripeFeeUsd `: type ` number ` — Stripe fixed fee in USD

                  - example: ` 0.3 `

                - ` anyspendFeeBps `: type ` number ` — AnySpend base fee in basis points before discounts

                  - example: ` 80 `

                - ` anyspendFeeUsd `: type ` number ` — AnySpend fixed fee in USD before discounts

                  - example: ` 0 `

                - ` anyspendWhaleDiscountBps `: type ` number ` — Whale discount in basis points based on B3 balance

                  - example: ` 5000 `

                - ` anyspendPartnerDiscountBps `: type ` number ` — Partner discount in basis points (deprecated, always 0)

                  - example: ` 0 `

                - ` finalFeeBps `: type ` number ` — Final combined fee percentage in basis points after all discounts

                  - example: ` 580 `

                - ` finalFeeUsd `: type ` number ` — Final combined fixed fee in USD after all discounts

                  - example: ` 0.3 `

                - ` originalAmount `: type ` string ` — Original amount before fees in USDC units (6 decimals)

                  - example: ` "10000000" `

                - ` finalAmount `: type ` string ` — Final amount after applying all fees in USDC units (6 decimals)

                  - example: ` "9120000" `

        - ` allOf constraint 2 `: type ` object `

          - Required fields: ` type `, ` payload `, ` metadata `

          - ` type `: type ` string ` — Order type for deposit-first flow where amount is determined after deposit

            - enum: ` ["deposit_first"] `

          - ` payload `: type ` object ` — DepositFirst payload - empty at creation time, details determined after deposit is detected

          - ` metadata `: type ` object ` — DepositFirst metadata for display purposes

            - Required fields: ` srcToken `, ` dstToken `

            - ` srcToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

            - ` dstToken `: type ` object ` — Token details

              - Required fields: ` chainId `, ` address `, ` symbol `, ` name `, ` decimals `, ` metadata `

              - ` chainId `: type ` number ` — Token chain ID

                - example: ` 8453 `

              - ` address `: type ` string ` — Token contract address

                - example: ` "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" `

              - ` symbol `: type ` string ` — Token symbol

                - example: ` "USDC" `

              - ` name `: type ` string ` — Token name

                - example: ` "USD Coin" `

              - ` decimals `: type ` number ` — Token decimals

                - example: ` 6 `

              - ` metadata `: type ` object `

                - ` logoURI `: type ` string ` — Token logo URI

                  - example: ` "https://polygonscan.com/token/images/usdc_32.png" `

  - ` statusCode `: type ` number `

    - example: ` 200 `

Example:

```json
{
  "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
}
```

### ` 400 ` — Bad request

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` success `, ` message `, ` statusCode `

  - ` success `: type ` boolean `

    - example: ` false `

  - ` message `: type ` string `

    - example: ` "Bad request" `

  - ` statusCode `: type ` number `

    - example: ` 400 `

## Request examples

### cURL

```curl
curl -X GET 'https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1'
```

### JavaScript

```javascript
const response = await fetch('https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1', {
  method: 'GET'
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

response = requests.get('https://mainnet.anyspend.com/orders?creatorAddress=0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1')
print(response.json())
```