Skip to main content
PATCH
Update (Re-quote) a Withdrawal Detail
Note: When using the production environment at moonpay.hel.io, set your API endpoint to api.hel.io/v1. For the development environment, use api.dev.hel.io/v1.
Prefer re-quote over calling Prepare a Withdrawal again so you keep the same withdrawalDetailId. Only withdrawal details in QUOTED state can be re-quoted; otherwise the API returns 409. Optional customerId is set on prepare only and is not applied on re-quote.

Path Parameters

id
string
required

The withdrawal detail ID from prepare.

Body

application/json
ownerAddress
string
required

Holder's source wallet address. Format is lane-specific (e.g. Solana base58 for Solana raw, EVM checksummed address for EVM raw/hyperliquid).

recipient
string
required

Destination address on any supported chain.

amount
string
required

Amount in atomic units as a decimal-free string (e.g. 1500000 for 1.5 USDC).

Pattern: ^\d+$
toCurrencyId
string
required

Destination currency Mongo ID.

sourceCurrencyId
string
required

Source currency Mongo ID from the withdrawal config.

customerId
string

Optional merchant identifier for the end user (max 255 characters). Persisted on prepare and echoed on the withdrawal detail and webhooks. Not applied on re-quote.

Maximum string length: 255

Response

Withdrawal re-quoted successfully.

withdrawalDetailId
string

Per-request ID. Use for submit and status polling.

token
string

JWT quote token. Pass verbatim on submit.

prepared
object
summary
object