Skip to main content
PUT
Every pay link takes USDC on Base. This endpoint adds more networks and coins to one link, as the link’s Settings > Networks does in the dashboard. The payment still goes straight from the buyer’s wallet to yours, and the buyer pays that network’s fee. Subscriptions stay USDC on Base. For now, links with a tip, invoices that collect billing details before payment, and checkouts opened with the embed script or @xenarch/react also take USDC on Base only. USDT0 is Tether’s USDT on Monad. *Tron takes exact-amount transfers only: an exchange withdrawal or a Tron wallet app, never a connected wallet.

Authentication

The link’s owner only: a merchant key (Authorization: Bearer xm_live_...) or the dashboard’s wallet session. See Authentication.

Body

networks replaces the whole setting. Each key is a network; each value has tokens, a list of USDC and USDT. An empty list turns that network off, and {} goes back to Base USDC only. Base USDC is always on and can’t be turned off. On an EVM network the link’s own receiving wallet is used, so it must be a plain wallet there. A smart-contract wallet often doesn’t exist at the same address on another chain, so Xenarch refuses it with 409. Tron needs pay_to, your Tron receiving address (it starts with T); Xenarch checks its checksum. The setting isn’t part of the link’s signed terms, so open checkouts keep working when you change it.

Response

Errors

Headers

authorization
string | null

Path Parameters

Body

application/json

The networks and stablecoins the link takes beyond Base USDC. Replaces the whole setting; {} goes back to Base USDC only.

networks
object
required

Keyed by network. Each value has tokens (a list of USDC/USDT; an empty list turns the network off). Tron also needs pay_to, your Tron receiving address. Base USDC is always on.

Response

Successful Response

accepted_networks
object | null

The stored setting, as you sent it after normalising. null means Base USDC only.

networks
PayLinkNetwork · object[]

What the link takes now, as a pay page lists it.