API Reference

Create a challenge to cancel a transaction

posthttps://api.circle.com/v1/w3s/user/transactions/{id}/cancel

  • Reference
  • Playground

Generates a challenge to cancel a specific transaction from a user-controlled wallet. Gas fees may still apply.

Header parameters
X-User-Token
string
Required

Unique system generated JWT session token for specific user.

Path parameters
id
string
Required

The ID of the transaction to cancel.

Body parameters
idempotencyKey
string
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to uuidgenerator.net. If the same key is reused, it will be treated as the same request and the original response will be returned.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "challengeId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
4  }
5}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.