PAYCHAIN_ACTIVE_INTENT_CONFLICT, inspect the returned conflict.activeIntent data and decide whether to ask the customer to wait or resend the order with overrideActiveIntent: true.
Get the active window
GET /api/developer/orders/intent
Query parameters
customerId- the customer or user identifier used when the order was createdtoken- the token symbol, such asUSDTorUSDCnetwork- the network for the order, such asbase,bsc, orsolana
Example request
Example response
404.
How API clients should use this
- Call this endpoint before order creation if you want to show the active window first.
- Handle
PAYCHAIN_ACTIVE_INTENT_CONFLICTfromPOST /api/developer/ordersas a normal product flow, not as a fatal error. - If the customer chooses to continue and replace the active order, resend the order request with
overrideActiveIntent: true.
Conflict response from order creation
When an active window already exists, the order create endpoint can return a structured response like this:conflict object to show the current window to the customer, then either wait or resend the order with overrideActiveIntent: true.