{
"event": "order.awaiting_approval",
"timestamp": "2026-02-04T01:30:47.000Z",
"data": {
"id": "ord_...",
"type": "order",
"status": "awaiting_approval",
"quoteId": "q_...",
"amountIn": "250000",
"amountOut": null,
"feeBps": 5,
"feeAmount": "100000",
"slippageBps": 0,
"source": {
"chain": "bitcoin",
"asset": "BTC",
"address": null,
"txHash": "<txid>",
"sweepTxHash": null
},
"destination": {
"chain": "base",
"asset": "USDC",
"address": "0x...",
"txHash": null
},
"depositAddress": "bc1q...",
"recipientAddress": "0x...",
"flashnetRequestId": null,
"sparkTxHash": null,
"refund": {
"asset": null,
"amount": null,
"txHash": null
},
"error": {
"code": "reprice_approval_required",
"message": "Received 249900 sats, requires at least 250000 sats"
},
"priceLock": {
"version": 1,
"mode": "approval_required",
"amountIn": "250000",
"quotedAmountOut": "100100000",
"lockedMinAmountOut": "100000000",
"slippageBps": 0,
"createdAt": "2026-02-04T01:00:00.000Z",
"expiresAt": "2026-02-04T01:30:00.000Z"
},
"reprice": {
"version": 1,
"status": "awaiting_approval",
"previousLockedMinAmountOut": "100000000",
"proposedMinAmountOut": "99800000",
"latestExpectedAmountOut": "99800000",
"requestedAt": "2026-02-04T01:30:47.000Z",
"resolvedAt": null,
"reason": "insufficient_input"
},
"paymentIntent": {
"version": 1,
"amountMode": "exact_out",
"targetAmountOut": "100000000",
"requiredAmountIn": "250000",
"maxAcceptedAmountIn": "250050",
"inputBufferBps": 2,
"actualAmountIn": "249900",
"refundAddress": "bc1q...",
"exactOutExecution": "strict"
},
"feePlan": {
"version": 1,
"settlementChain": "solana",
"settlementAsset": "USDC",
"appFees": [
{
"affiliateId": "swapkit",
"recipient": "So1AffiliateOne...",
"feeBps": 50
},
{
"recipient": "So1AffiliateTwo...",
"feeBps": 50
}
]
},
"feePayouts": {
"version": 1,
"entries": [
{
"idempotencyKey": "order:ord_...:full:appfee:0",
"leg": "full",
"chain": "solana",
"role": "app_fee",
"affiliateId": "swapkit",
"recipient": "So1AffiliateOne...",
"feeBps": 50,
"amount": "24750",
"txHash": "5kW...",
"recordedAt": "2026-02-04T01:35:00.000Z"
},
{
"idempotencyKey": "order:ord_...:full:payout",
"leg": "full",
"chain": "solana",
"role": "recipient_payout",
"recipient": "So1RecipientAddress...",
"feeBps": null,
"amount": "2475000",
"txHash": "3hN...",
"recordedAt": "2026-02-04T01:35:02.000Z"
}
]
},
"createdAt": "2026-02-04T01:30:00.000Z",
"updatedAt": "2026-02-04T01:30:47.000Z",
"completedAt": null
}
}