---
title: "Cancel on-ramp retry"
method: POST
path: "/api/v1/onramp/retry/cancel"
tags: ["External Wallet Access Mode"]
---

# Cancel on-ramp retry

`POST /api/v1/onramp/retry/cancel`

Cancels a pending on-ramp retry when the user explicitly abandons it. Use only when a retry-eligible transaction exists.

## Headers

- `tokenId` string, required
- `network` string, required
- `sign` string, required
- `hash` string, required
- `deadline` string, required

## Request body

- object
  - `originalTxHash` string, required — Original on-ramp transaction hash of the pending retry.

## Response `200`

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

- EwaEnvelope — Standard response envelope for the user API (api.ur.app).
  - `retCode` integer, required — 0 on success; non-zero indicates failure.
  - `retMsg` string, required — Human-readable message; error details when retCode is non-zero.
  - `result` unknown
  - `timeNow` integer — Server timestamp in milliseconds.

---

[API](https://skmtc.net/ur/apis/ur-api.md) · [All operations](https://skmtc.net/ur/apis/ur-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ur/ur-api/revisions/087dcf516ce2/schema)
