Skip to main content
POST
/
orders
/
price
/
confirm-cancel
/
{orderId}
Confirm order cancellation
curl --request POST \
  --url https://api.jup.ag/trigger/v2/orders/price/confirm-cancel/{orderId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "signedTransaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAEN...",
  "cancelRequestId": "cancel-request-uuid"
}
'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "txSignature": "3PDo3pMJLqvAfNXwYjY7BSP57ZNQ5DgYDeK6xYszUVMn..."
}

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Authorization
string
header
required

JWT token from the challenge-response auth flow

Path Parameters

orderId
string
required

Body

application/json
signedTransaction
string
required

Base64-encoded signed withdrawal transaction

cancelRequestId
string
required

Cancel request ID from the initiate step

Response

Cancellation confirmed

id
string
required

Order UUID

txSignature
string
required

On-chain transaction signature