Path Parameters
Unique order identifier
curl --request GET \
--url https://mainnet.anyspend.com/orders/{orderId}/comprehensive{
"success": true,
"message": "Get comprehensive order detail successfully",
"data": {
"order": {
"id": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"recipientAddress": "0xb34facb90a200251318e8841c05102366f2158cf",
"globalAddress": "0xa640beaa78eeb64bb269f2baf8202b9a7316e123",
"srcChain": 8453,
"dstChain": 8453,
"srcTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"dstTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"srcAmount": "93354000",
"status": "executed",
"errorDetails": "<string>",
"createdAt": 1752505794679,
"expiredAt": 1752506694679,
"filledAt": 123,
"receivedDepositAt": 123,
"creatorAddress": "0xb34facb90a200251318e8841c05102366f2158cf",
"partnerId": "<string>",
"onrampMetadata": {
"country": "US",
"vendor": "stripe-web2",
"paymentMethod": "",
"redirectUrl": "https://www.anyspend.com",
"stripeAmountInCents": 9900,
"ipAddress": "192.168.1.1",
"fingerprint": {
"requestId": "fp_req_12345",
"visitorId": "fp_visitor_67890"
}
},
"oneClickBuyUrl": "<string>",
"stripePaymentIntentId": "pi_3Rko0sJnoDg53PsP0PDLsHkR",
"settlement": {
"actualDstAmount": "990000",
"relay": {
"status": "success",
"metadata": {
"currencyOut": {
"amount": "990000"
}
}
}
},
"fee": {
"type": "standard_fee",
"feeVersion": 1,
"tokenToCheckBalance": "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3",
"recipientBalance": "302843673392800000000000",
"anyspendFeeBps": 80,
"anyspendWhaleDiscountBps": 5000,
"anyspendPartnerDiscountBps": 0,
"finalFeeBps": 40
},
"type": "swap",
"payload": {
"expectedDstAmount": "990000"
},
"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": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://polygonscan.com/token/images/usdc_32.png"
}
}
}
},
"depositTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"from": "0xa7539e73700B1726aBA29526606442A491Ef5747",
"txHash": "0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8",
"amount": "93354000",
"createdAt": 1752505811105
}
],
"relayTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0x9df917e14bb089f74763d1d2662761d75c97a5a068b8a9e411c3d384c9c40d19",
"status": "success",
"createdAt": 1752505817654
}
],
"executeTx": {
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0x1234567890abcdef1234567890abcdef12345678",
"createdAt": 1752505820000,
"status": "success"
},
"refundTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0xabcdef1234567890abcdef1234567890abcdef12",
"amount": "93354000",
"status": "success",
"createdAt": 1752505825000
}
],
"points": {
"id": "points_123",
"time": "2025-07-12T19:23:45.000Z",
"userAddress": "0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1",
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"usdValue": 125.75,
"orderType": "swap",
"multiplier": 1.5,
"points": 100
}
},
"statusCode": 200
}Retrieves an order with associated transactions, settlement data, and awarded points without sanitization.
curl --request GET \
--url https://mainnet.anyspend.com/orders/{orderId}/comprehensive{
"success": true,
"message": "Get comprehensive order detail successfully",
"data": {
"order": {
"id": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"recipientAddress": "0xb34facb90a200251318e8841c05102366f2158cf",
"globalAddress": "0xa640beaa78eeb64bb269f2baf8202b9a7316e123",
"srcChain": 8453,
"dstChain": 8453,
"srcTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"dstTokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"srcAmount": "93354000",
"status": "executed",
"errorDetails": "<string>",
"createdAt": 1752505794679,
"expiredAt": 1752506694679,
"filledAt": 123,
"receivedDepositAt": 123,
"creatorAddress": "0xb34facb90a200251318e8841c05102366f2158cf",
"partnerId": "<string>",
"onrampMetadata": {
"country": "US",
"vendor": "stripe-web2",
"paymentMethod": "",
"redirectUrl": "https://www.anyspend.com",
"stripeAmountInCents": 9900,
"ipAddress": "192.168.1.1",
"fingerprint": {
"requestId": "fp_req_12345",
"visitorId": "fp_visitor_67890"
}
},
"oneClickBuyUrl": "<string>",
"stripePaymentIntentId": "pi_3Rko0sJnoDg53PsP0PDLsHkR",
"settlement": {
"actualDstAmount": "990000",
"relay": {
"status": "success",
"metadata": {
"currencyOut": {
"amount": "990000"
}
}
}
},
"fee": {
"type": "standard_fee",
"feeVersion": 1,
"tokenToCheckBalance": "0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3",
"recipientBalance": "302843673392800000000000",
"anyspendFeeBps": 80,
"anyspendWhaleDiscountBps": 5000,
"anyspendPartnerDiscountBps": 0,
"finalFeeBps": 40
},
"type": "swap",
"payload": {
"expectedDstAmount": "990000"
},
"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": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"metadata": {
"logoURI": "https://polygonscan.com/token/images/usdc_32.png"
}
}
}
},
"depositTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"from": "0xa7539e73700B1726aBA29526606442A491Ef5747",
"txHash": "0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8",
"amount": "93354000",
"createdAt": 1752505811105
}
],
"relayTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0x9df917e14bb089f74763d1d2662761d75c97a5a068b8a9e411c3d384c9c40d19",
"status": "success",
"createdAt": 1752505817654
}
],
"executeTx": {
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0x1234567890abcdef1234567890abcdef12345678",
"createdAt": 1752505820000,
"status": "success"
},
"refundTxs": [
{
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"chain": 8453,
"txHash": "0xabcdef1234567890abcdef1234567890abcdef12",
"amount": "93354000",
"status": "success",
"createdAt": 1752505825000
}
],
"points": {
"id": "points_123",
"time": "2025-07-12T19:23:45.000Z",
"userAddress": "0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1",
"orderId": "5392f7a7-d472-4d6b-9848-bd07117fb82d",
"usdValue": 125.75,
"orderType": "swap",
"multiplier": 1.5,
"points": 100
}
},
"statusCode": 200
}Unique order identifier
Comprehensive order retrieved successfully