# Depositing

Now it's time to create your first deposit.&#x20;

* [Step 1: Create a deposit](#step-1-create-a-deposit)
* [Step 2: Deposit fiat using provided reference](#step-3-deposit-fiat-using-provided-refence)

## Step 1: Create a deposit

Start by creating a `POST` request to the `/transactions` [endpoint](https://developers.publicmint.io/reference/transactions#create-a-new-transaction), indicating the destination address on-chain and the the identity of the entity executing the deposit. This identity will be verified upon reception of funds, to ensure it matches the underlying bank transaction.

{% tabs %}
{% tab title="Request" %}
{% code title="POST /transactions" %}

```
{
  "amount": "10",
  "code": "deposit:wire:usd",
  "currency": "USD",
  "destinationAddress": "0x71c7656ec7ab88b098defb751b7401b5f6d8976f",
  "identityId": "e7941059-74c6-4b3f-b029-d3aa03d1ea44",
  "paymentMethod": "wire"
}
```

{% endcode %}
{% endtab %}

{% tab title="Response" %}
{% code title="POST /transactions" %}

```
{
  "data": {
    "addressId": "e7941059-74c6-4b3f-b029-d3aa03d1ea42",
    "amount": "10.00000000",
    "appId": "e7941059-74c6-4b3f-b029-d3aa03d1ea44",
    "code": "deposit:wire:usd",
    "createdAt": "2020-10-28T17:40:55.501Z",
    "currency": "USD",
    "deletedAt": null,
    "destinationAddress": "0x71c7656ec7ab88b098defb751b7401b5f6d8976f",
    "externalReference": "e7941059-74c6-4b3f-b029-d3aa03d1ea43",
    "id": "e7941059-74c6-4b3f-b029-d3aa03d1ea44",
    "identityId": "e7941059-74c6-4b3f-b029-d3aa03d1ea44",
    "metadata": {
      "paymentMethod": "wire",
      "transactionDetails": {
        "bankName": "ROYAL BUSINESS BANK",
        "reference": "CUSCTW6GA",
        "swiftCode": "RBBCUS6L",
        "bankAccountName": "Prime Trust, LLC",
        "bankAccountNumber": "2030136050"
      }
    },
    "originAddress": null,
    "status": "pending",
    "transactionDetails": {
      "bankName": "ROYAL BUSINESS BANK",
      "reference": "CUSCTW6GA",
      "swiftCode": "RBBCUS6L",
      "bankAccountName": "Prime Trust, LLC",
      "bankAccountNumber": "2030136050"
    },
    "transactionHash": null,
    "type": "deposit",
    "updatedAt": "2020-10-28T17:40:55.501Z"
  }
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Step 2: Deposit fiat using provided reference&#x20;

Using the `transactionDetails` returned by the service, simply transfer funds to the custodian's bank account. Bear in mind that wire transfers can take a few working days to clear through the traditional banking system.

Once the deposit is processed and confirmed, the update details will automatically be forwarded to Public Mint. This will programmatically trigger the minting of tokenized fiat and send the funds to the recipient user's wallet address on the Public Mint blockchain.

Congratulations! Your fiat is now available for you to transact all [across the blockchain](https://developers.publicmint.io/blockchain-1/transacting)!
