> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# OMS fiat wallets

> Hold a USD balance for a customer at OMS's partner bank, fund it from bank or crypto deposits, and withdraw it to a bank account.

A fiat wallet holds a USD balance for a customer at OMS's partner bank. It works like an OMS [custodial wallet](https://docs.polygon.technology/wallets/custodial-wallets.md): you create it with `POST /wallets`, fund it, and withdraw with a quote and transaction. The difference is where the balance lives. A fiat wallet is an internal ledger balance with no network and no onchain address. Its ID uses the same `wlt_` prefix as a custodial wallet; the `type` field on the wallet tells them apart: `walletFiat` for a fiat wallet and `walletCrypto` for a custodial wallet.

| | Fiat wallet | Custodial wallet | Virtual account |
| - | - | - | - |
| Holds | A USD balance | A stablecoin balance on one chain | Nothing: it receives and routes |
| Identifier | `wlt_...` | `wlt_...` with an onchain address | Bank account and routing numbers |
| Created with | `POST /wallets` (`type: fiat`) | `POST /wallets` (`type: custodial`) | `POST /virtual-accounts` |

## Before you start

Fiat wallets must be enabled for your project, along with the internal book-transfer rail they settle on, and the customer must be registered with the partner bank. `POST /wallets` returns `403 EreborConfigMissing` or `403 destinationRailNotAllowed` when the project is not set up, and `400 EreborCustomerNotMapped` when the customer is not registered. [Contact us](https://polygon.technology/get-access?utm_source=docs\&utm_medium=card\&utm_campaign=oms_access) to enable fiat wallets.

## Create a fiat wallet

```bash theme={null}
curl -X POST https://api.polygon.technology/v0.13/wallets \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "customerId": "cst_...",
    "type": "fiat",
    "details": { "asset": "usd" },
    "label": "USD balance"
  }'
```

`usd` is the only supported asset; any other asset returns `422 UnsupportedAsset`. A customer can hold a limited number of fiat wallets, and a create past that limit returns `409 FiatWalletLimitReached`.

The wallet starts `pending` and becomes `active` once the partner bank opens the backing account. The `customerWallet.created` webhook fires when the wallet is first recorded and carries `pending`; `customerWallet.statusChanged` to `active` follows when the bank opens the account. Wait for `active` before you use the wallet.

## Fund it

A fiat wallet is funded the same way OMS delivers to any destination: point a [virtual account](https://docs.polygon.technology/payments/virtual-accounts.md) or a [deposit address](https://docs.polygon.technology/payments/deposit-addresses.md) at it with a `walletFiat` destination.

```json theme={null}
"destination": {
  "type": "walletFiat",
  "details": { "id": "wlt_...", "asset": "usd" }
}
```

* **From a bank transfer:** a virtual account with a `walletFiat` destination credits each inbound deposit to the wallet.
* **From crypto:** a deposit address with a `walletFiat` destination converts inbound USDC or USDT and credits the USD.

OMS credits the wallet by a transfer inside the partner bank, so the resolved destination instrument on the transaction reads `network: intraBank`, with the same-bank rail in `intraBankRail`, or `network: bookTransfer`. The wallet must belong to the same customer as the virtual account or deposit address.

## Withdraw to a bank account

Withdraw the same way you would from a custodial wallet: create a quote with the fiat wallet as the `source`, then execute it.

```json theme={null}
{
  "customerId": "cst_...",
  "source": {
    "type": "walletFiat",
    "details": { "id": "wlt_...", "asset": "usd" },
    "amount": "100.00"
  },
  "destination": {
    "type": "bankUs",
    "details": { "id": "ext_...", "asset": "usd", "network": "ach" }
  }
}
```

Send this to `POST /quotes`, then call `POST /transactions` with the returned `quoteId`. The destination can be any registered bank [external account](https://docs.polygon.technology/payments/external-accounts.md): `bankUs`, `bankIban`, or `bankCanada`. The quote's `sourceToDestination` is `fiatAccountToFiatAccount`.

> [!NOTE]
>
> Sending from a fiat wallet to a crypto destination is not supported in this release. A quote with a fiat wallet source and a crypto destination returns `CryptoOutNotSupported`.

## Read the balance

`GET /wallets/{id}` returns a fiat wallet with `type: walletFiat` and `asset: usd`. A fiat balance always renders as a decimal string with two places: `"0.00"` for a wallet that has never been funded, and a negative value such as `"-25.00"` if the wallet is overdrawn. To list a customer's transactions on the wallet, call `GET /transactions?walletId=wlt_...`.

## Related

* [Custodial wallets](https://docs.polygon.technology/wallets/custodial-wallets.md): OMS-held stablecoin balances
* [Entities and relationships](https://docs.polygon.technology/payments/core-concepts/entities.md): how wallets, quotes, and transactions fit together
* [Create a wallet](https://docs.polygon.technology/api-reference/wallet/create-a-wallet.md): API reference for `POST /wallets`
