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

# Flow 3: Receive money

<div className="hop-lede">Fiat arrives through <span className="hop-strong">deposit instructions</span>, crypto through a <span className="hop-strong">wallet</span>. Either way the result is a payin (<code>pi\_</code>) that names the balance it credited.</div>

<div className="hop-flow hop-flow-steps">
  <div className="hop-prereq">↳ <span className="hop-strong">Memo</span> decides what the payer must do. A dedicated account number (<code>memo</code> null) needs nothing extra. A shared account (<code>memo</code> set) needs the memo on the payment, or the deposit cannot be credited automatically. Named virtual accounts need flow 2 first.</div>

  <div className="hop-legend" aria-label="Flow legend">
    <span className="hop-legend-item"><span className="hop-chip hop-chip-platform">You</span>the API caller</span>
    <span className="hop-legend-item"><span className="hop-chip hop-chip-hop">Hop</span>automatic</span>
    <span className="hop-legend-item"><span className="hop-chip hop-chip-customer">Payer</span>third party</span>
  </div>

  <ol className="hop-steps">
    <li className="hop-step-row">
      <span className="hop-step-n">1</span>
      <span className="hop-chip hop-chip-platform">You</span>

      <div className="hop-step-body">
        <span className="hop-step-title">Get the details the payer needs</span>

        <ol className="hop-steps hop-steps-sub">
          <li className="hop-step-row">
            <span className="hop-step-n">1a</span>

            <div className="hop-step-body">
              <a href="/fx/api-reference/deposit-instructions/list-deposit-instructions" className="hop-step-title">To the trading account by bank transfer: read the deposit instructions</a>
              <span className="hop-step-pills"><span className="hop-pill hop-get"><span className="hop-method">GET</span>/accounts/\{aid}/deposit-instructions</span></span>
            </div>
          </li>

          <li className="hop-step-row">
            <span className="hop-step-n">1b</span>

            <div className="hop-step-body">
              <a href="/fx/api-reference/virtual-accounts/get-virtual-account" className="hop-step-title">To a virtual account: read its bank details</a>
              <span className="hop-step-pills"><span className="hop-pill hop-get"><span className="hop-method">GET</span>/accounts/\{aid}/virtual-account-groups/\{gid}/virtual-accounts/\{va\_id}</span></span>
            </div>
          </li>

          <li className="hop-step-row">
            <span className="hop-step-n">1c</span>

            <div className="hop-step-body">
              <a href="/fx/api-reference/wallets/create-wallet" className="hop-step-title">In crypto, to the trading account: create a wallet for the currency and network</a>
              <span className="hop-step-pills"><span className="hop-pill hop-post"><span className="hop-method">POST</span>/accounts/\{aid}/wallets</span> <span className="hop-pill hop-object">wal\_</span></span>
            </div>
          </li>
        </ol>
      </div>
    </li>

    <li className="hop-step-row">
      <span className="hop-step-n">2</span>
      <span className="hop-chip hop-chip-platform">You</span>

      <div className="hop-step-body">
        <a href="/fx/guides/deposit-flows" className="hop-step-title">Give the payer the bank details or address; show memo as mandatory when required</a>
        <span className="hop-step-pills"><span className="hop-pill hop-webhook">memo when set</span></span>
      </div>
    </li>

    <li className="hop-step-row">
      <span className="hop-step-n">3</span>
      <span className="hop-chip hop-chip-customer">Payer</span>

      <div className="hop-step-body">
        <span className="hop-step-title">Sends funds over a supported rail or on-chain</span>
        <span className="hop-step-pills"><span className="hop-pill hop-rail">ACH · Fedwire · SWIFT · SEPA · SPEI · PIX · FPS</span></span>
      </div>
    </li>

    <li className="hop-step-row">
      <span className="hop-step-n">4</span>
      <span className="hop-chip hop-chip-hop">Hop</span>

      <div className="hop-step-body">
        <a href="/fx/webhooks/events" className="hop-step-title">Credits the virtual account or trading account and raises a payin</a>
        <span className="hop-step-pills"><span className="hop-pill hop-webhook">payin.received</span><span className="hop-pill hop-object">pi\_</span></span>
      </div>
    </li>

    <li className="hop-step-row">
      <span className="hop-step-n">5</span>
      <span className="hop-chip hop-chip-platform">You</span>

      <div className="hop-step-body">
        <a href="/fx/webhooks/security" className="hop-step-title">Verify the signature, dedupe on the envelope id, match on deposit\_destination and note</a>
        <span className="hop-step-pills"><span className="hop-pill hop-webhook">X-Webhook-Signature</span></span>
      </div>
    </li>

    <li className="hop-step-row">
      <span className="hop-step-n">6</span>
      <span className="hop-chip hop-chip-platform">You</span>

      <div className="hop-step-body">
        <a href="/fx/api-reference/payins/list-payins" className="hop-step-title">Reconcile per virtual account and date window</a>
        <span className="hop-step-pills"><span className="hop-pill hop-get"><span className="hop-method">GET</span>/accounts/\{aid}/payins?virtual\_account\_id=va\_…</span></span>
      </div>
    </li>
  </ol>

  <div className="hop-footnote">Known gaps: a <code>pending</code> payin has no documented duration and no settlement event beyond the single <code>payin.received</code>. Returned deposits have no event (<code>payin.returned</code> is reserved); detect them by re-reading <code>status</code>. A deposit in a currency the account has no instruction for has no documented outcome.</div>
</div>

## Troubleshooting

| Signal | Meaning | Do this |
| - | - | - |
| No instruction for the currency | The list has no entry and the single-currency endpoint returns `status: unavailable`. | Ask Hop to enable the currency. |
| Payer omitted or altered the memo | The deposit is not attributed automatically and requires offline review and attribution, there is no API signal until it is credited. | Contact Hop for offline attribution |
| Wallet `address` is `null` | The wallet is not yet available | Poll [Get Wallet](/fx/api-reference/wallets/get-wallet); do not publish a null address. |
