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.

Path Params
int64
required
Body Params
string
required
length between 0 and 24

Subscription ID

int32
required

Number of operations to be performed on this subscription

string
required
length between 0 and 256

Payment Account ID to Credit

int32

Amount to Debit Amounts are given as integer numbers in cents

int32

Your Fee Amounts are given as integer numbers in cents

string
length between 0 and 140

Comment Regarding the Transaction

boolean

If true:

  1. [amountCom] will be ignored and will be replaced with Lemonway's fee
  2. You will not receive any fee
Headers
string
required

Authorization bearer (OAuth 2)

string

Response language accepted by final client (PSU). English by default

string
required

IP address of the final client (PSU).

string

User-agent of the final client (PSU).

Responses

401

Unauthorized

500

InternalServerError

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json