Conversions
Payins and Payouts move funds into and out of a Mural Account. Conversions move funds within one. A Conversion transfers value from one asset to another asset in the same Account, such as from a USD balance to USDC, or from USDC back to USD. No funds leave the Account.
You manage Conversions with the Conversions API, and Mural reports every status change through its own webhook event.

How a Conversion works
A Conversion names the Account, the asset to debit, the asset to credit and an amount. You can set either the source amount or the expected destination amount.
A Conversion runs in two steps:
- Create. Create a Conversion to get a quote. Mural returns the Conversion in the
createdstatus with itsquotedSettlementDetails: the amount credited, the fees and the exchange rate. No funds move yet. - Execute. Execute the Conversion to move the funds. This request requires your Transfer API key. The Conversion moves to
pending, then tocompletedwhen the destination asset is credited.
If you don't want to go ahead, cancel the Conversion while it is still created.
Exchange rate tolerance
The quote can change between the time you create a Conversion and the time you execute it. The exchange rate tolerance on the Conversion decides what happens then:
type | What happens at execution |
|---|---|
strict | The request fails if the quoted exchange rate, fees included, has changed. |
flexible | The Conversion proceeds at the current rate. Its actualSettlementDetails may differ from its quotedSettlementDetails. |
Once a Conversion is executed, its settlement is fixed and does not change while funds move.
Statuses
| Status | Meaning |
|---|---|
created | The Conversion is quoted and waiting to be executed. No funds have moved. |
pending | The Conversion was executed and funds are moving. |
completed | The funds were credited to the destination asset. |
canceled | The Conversion was canceled before it was executed. No funds moved. |
refundInProgress | The Conversion could not complete, and Mural is returning the funds to the source asset. |
refunded | The funds were returned to the source asset. |
completed, canceled and refunded are terminal statuses.
To list an Account's Conversions, use Search Conversions. To read one, use Get a Conversion.
Webhooks
Conversions have their own webhook category, CONVERSION. Mural sends a conversion_status_changed event when a Conversion leaves the created status and on every status change after that. No event is sent when a Conversion is created. See Event Types for the payload, and Webhooks to subscribe to events.
Updated about 2 hours ago

