Skip to main content

Environments

Use separate API keys per environment.
EnvironmentBase URL
Sandboxhttps://dev-api.machines.cash
Productionhttps://api.machines.cash

Sandbox KYC shortcut

To bypass KYC in sandbox, set the applicant’s lastName to approved when calling POST /kyc/applications. The next status check returns approved.

Sandbox deposits (rUSD on Base Sepolia)

Sandbox deposits use rUSD on Base Sepolia. You need Base Sepolia ETH for gas.

1) Create a deposit intent

POST /deposits
{
  "currency": "rusd",
  "network": "base",
  "amount": 25
}
The response includes deposit.id and deposit.depositAddress (the Base Sepolia deposit address).

2) Mint rUSD

Mint rUSD on Base Sepolia, then send it to deposit.depositAddress.
  • Chain: Base Sepolia (84532)
  • rUSD contract: 0x10b5Be494C2962A7B318aFB63f0Ee30b959D000b
  • Mint function: mint(uint256 amountDollars_Max100)
  • Max per mint tx: 100 rUSD

3) Track status

Poll until the deposit completes:
GET /deposits/{"{depositId}"}
Sandbox deposits are for testing only. Production deposits use USDC on Base.