Skip to content
Sign up

Earn

Subscribe to Earn

Put money into a product and it starts earning: from the next day if it stays available, from the first day on a fixed term.

POST/api/v1/earn/subscribeGet a key
curl --request POST \
  --url "https://reirex.com/api/v1/earn/subscribe" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE" \
  --header "Content-Type: application/json" \
  --data '{"productId":"USDT-flexible-0","amount":"1000"}'

201 Createdapplication/json

{
  "positionId": 381,
  "productId": "USDT-flexible-0",
  "currency": "USDT",
  "kind": "flexible",
  "apr": "0.0420",
  "termDays": 0,
  "amount": "1000.00000000",
  "earned": "0.00000000",
  "startedAt": "2026-10-14T16:14:15.412Z",
  "endsAt": null,
  "redeemedAt": null
}

The amount leaves your balance at once. A balance that can't cover it answers insufficient_balance, an amount under the product's minimum below_minimum.

Bodyapplication/json

  • productIdstringrequired

    The product, from List Earn products.

  • amountstringrequired

    How much, in the product's currency, as a decimal string.

Response

  • positionIdinteger

    Our id for the position.

  • productIdstring

    The product it is in.

  • currencystring

    What it holds.

  • kindstring

    cash, flexible, fixed or staking.

  • aprstring

    The yearly rate: 0.0420 is 4.2 % a year.

  • termDaysinteger

    How long the money is held, in days; 0 for products that stay available.

  • amountstring

    The money put in.

  • earnedstring

    What it has earned so far, or paid out in all once redeemed.

  • startedAtstring

    When the money went in.

  • endsAtstring | null

    When a fixed term ends; null for the rest.

  • redeemedAtstring | null

    When it came back; null while it earns.