Initiate Monthly Recurring Payments

Use the following steps to ensure a recurring payment can be setup:

  1. Initiate a first transaction
    If you are using the PSP Payment Page, you need to have initiated a Web Payment using POST /moneyins/card/webinit with registerCard=true.
    If you are using the Direct Mode (PCI-DSS authorization required), you need to have registered a card using POST /moneyins/card/register.

  2. You then need to initiate POST /moneyins/card/{cardid}/subscription specifying the Card Id returned from the first transaction, and the Subscription Id (a unique reference you indicate for this subscription).You will also need to precise the number of Recurring Payments you want us to initiate in count. The TotalAmount corresponds to the amount of each recurring payment. By default, the payment will be processed 15th of the month.

  3. We will create scheduled transactions in the Lemonway Dashboard (status 14)

  4. On each payment execution date, Lemonway will debit the card and change the pending transaction status to success, and then notify you.

How to setup a recurring payment:

  1. 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.

  2. Create the subscription
    Call

    POST /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.

  3. Dashboard scheduling
    Lemonway automatically creates scheduled transactions (in status 14) in your Dashboard for each installment.

  4. 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.
Language
Click Try It! to start a request and see the response here!