Skip to main content
POST
Deactivate a stablecoin destination

What this endpoint does

Deactivates a saved stablecoin destination for new withdrawals without rewriting withdrawal history.

When to use it

Use it when an address should no longer receive funds or when replacing its details with a newly validated destination.

Before you call

Use a secret API key with treasury:write and pass an active destination ID owned by this tenant account.

Money and balance effect

This changes a resource or configuration but does not directly reserve, debit, credit, or settle wallet money.

States and completion

Deactivation blocks new use. Existing accepted or historical withdrawals retain the exact destination snapshot used at submission.

Safe retries

Send a unique Idempotency-Key for the logical action. If the response is lost, retry the same payload with the same key; never create a new key merely because the first response timed out. Read Conversions and withdrawals for the complete workflow.

Authorizations

Authorization
string
header
required

Send the same Wayex API key as Authorization: Bearer <key>.

Headers

Idempotency-Key
string
required

A unique key for this logical action. Reuse the same key and identical payload when retrying after an unknown response.

Required string length: 8 - 255

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
Minimum string length: 1
clientId
string
required
Minimum string length: 1
name
string
required
Required string length: 1 - 120
asset
enum<string>
required
Available options:
USDC,
USDT
network
enum<string>
required
Available options:
ethereum,
base,
arbitrum,
optimism,
polygon,
bsc,
avalanche,
solana,
tron
address
string
required
Minimum string length: 1
externalReference
string
required
Minimum string length: 1
version
integer
required
Required range: x > 0
validationStatus
enum<string>
required
Available options:
validated
status
enum<string>
required
Available options:
active,
inactive
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
tag
string
Minimum string length: 1
deactivatedAt
string<date-time>