post https://ws.staging.lemonway.com/mb/currentSandbox/prod/directkitrest/v2/moneyins/card//subscription
How to setup a recurring payment:
-
Initiate your first transaction
-
PSP‑Payment Page flow: call
POST /moneyins/card/webinit
with
registerCard=true
to register the card as part of the checkout. -
Direct‑Mode flow (PCI‑DSS required): call
POST /moneyins/card/register
to register the customer’s card directly.
-
-
Create the subscription
CallPOST /moneyins/card/{cardId}/subscription
where:
{cardId}
is the ID you received in step 1.- You include a
subscriptionId
(your own unique reference for this subscription). - Set
count
to the total number of payments you want to schedule. - Set
totalAmount
to the amount charged each time.
By default, payments will run on the 15th of each month.
-
Dashboard scheduling
Lemonway automatically creates scheduled transactions (in status 14) in your Dashboard for each installment. -
Execution & notification
On each payment date:- Lemonway debits the card, changes the transaction status from “pending” to “success,”
- then sends you a notification of the completed payment.