Recurring buys
Change a recurring buy
Change a plan's amount or rhythm, or pause and resume it.
curl --request PATCH \
--url "https://reirex.com/api/v1/recurring/RB-7K2M4Q" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE" \
--header "Content-Type: application/json" \
--data '{"amount":"75"}'200 OKapplication/json
{
"reference": "RB-7K2M4Q",
"symbol": "BTC",
"amount": "75.00",
"frequency": "weekly",
"status": "active",
"nextRunAt": "2026-10-21T16:14:15.412Z",
"buys": 12,
"invested": "600.00",
"units": "0.00824710",
"value": "612.40",
"createdAt": "2026-07-29T16:14:15.412Z"
}The next buy keeps its date. Pausing and resuming always work, even while your account can't trade, and a plan brought back buys next on its rhythm from today.
Path parameters
referencestringrequiredThe plan's reference, such as
RB-7K2M4Q.
Bodyapplication/json
amountstringThe new amount, in euro.
frequencystringThe new rhythm.
One of
dailyweeklybiweeklymonthlystatusstringpausedto pause the plan,activeto resume it.One of
activepaused
Response
referencestringThe plan's reference, such as
RB-7K2M4Q.symbolstringWhat it buys.
amountstringWhat it spends each time, in euro.
frequencystringdaily,weekly,biweeklyormonthly.statusstringactiveorpaused.nextRunAtstringWhen it buys next.
buysintegerHow many buys it has made.
investedstringWhat it has spent so far, in euro.
unitsstringWhat it has bought so far.
valuestringWhat that is worth now, in euro.
createdAtstringWhen the plan started.

