← All work

Letting exporters keep their dollars · May – Jun 2026

Letting merchants keep their dollars as dollars

Our platform collected international payments for merchants and paid them out in rupees. Merchants who also spend in foreign currency wanted to keep the dollars, euros or pounds, in an EEFC account, instead of converting twice. Supporting that meant a new configuration for the operations team, and making every merchant-facing screen understand a payment that was never converted.

$₹$
Role
Frontend engineer
When
May – Jun 2026
Where
PayGlocal
Stack
ReactAnt DesignNext.jsTypeScript

The situation

An EEFC account lets an Indian business hold its foreign currency earnings as foreign currency. (The post linked below explains what one is and why exporters want it.) Our platform settled every international payment in INR, so the whole product assumed a conversion step: the transaction timeline, the settlement details, the columns in reports. Adding EEFC settlement meant three things. The operations team needed a safe way to record, per merchant and per currency, which EEFC account to pay into. Merchants needed timelines and reports that showed an EEFC settlement correctly, with no conversion that never happened. And only the right people should be able to change where a merchant’s money goes.

What I built

  • An EEFC section in the operations console’s settlement configuration: pick the currencies a merchant settles to EEFC, then for each one the account holder, account number with confirmation, IFSC, account type and bank, chosen from the partner banks that support it.
  • Proof before trust: a bank statement upload for each EEFC account, through a presigned link, viewable later from the same screen.
  • Validation that refuses to save a half-finished setup: every selected currency must have complete details and a statement. The IFSC check replaced an earlier BIC field, since these are Indian accounts.
  • A version number sent with every save, so two people editing the same merchant’s settlement can’t silently overwrite each other.
  • For merchants: the transaction timeline no longer shows an “FX converted” step for EEFC-settled payments, and shows the settlement details and the currency split up correctly; EEFC columns in the transaction lists; permissions for who can see and change EEFC settings. (These merchant-side changes come from my task notes; their commits don’t name EEFC.)
  • In the new operations console, a fix so EEFC reports are recognised by their report name only, case-insensitively, so a batch ID that happens to contain “eefc” can’t mislabel a file.
Try it

Where a $10,000 payment ends up

    Configuring it, per currency

    In the operations console's settlement configuration. A currency can't be saved until its account is complete and a bank statement proves it.

    Decisions

    Put it where people already look

    I first built EEFC as its own configuration page. It worked, but settlement setup would then live in two places, and someone would eventually update one and not the other. I moved it into the existing settlement configuration as a section and removed the separate page, about 180 lines thrown away for a clearer product.

    No money moves on an unproven account

    An account number typed into a form is a claim. A statement upload for each EEFC account, and validation that blocks saving without one, makes the configuration auditable before any money is paid into it.

    Don’t show steps that didn’t happen

    A timeline that says “converted at ₹83.10” on a payment that stayed in dollars is worse than no timeline: it’s confidently wrong. The merchant view follows the settlement type, not a fixed list of steps.

    Version every save

    Settlement configuration decides where money goes. Sending the version with each save turns a silent overwrite into a visible conflict.

    Outcome

    WhatBeforeAfterDetail
    Settlement options per currencyINR onlyINR or EEFCper merchant
    Conversion steps on EEFC paymentsalways shownnonetimeline follows the settlement
    Places to configure settlement1separate page removed
    Console changes+1,072 / −29311 commits

    What I learned

    ↑↓ move↵ openesc close