v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
MoneyIns | Cards

(Deprecated) Credit an Account with a non 3-D Secure Card Payment (PCI-DSS compliant only)

<b>If your system is not PCI-DSS do not to save any card data on your system.</b> This method enables you to credit an account with a non 3-D Secure card payment. Should only be used on mobile devices. For internet payments use 3-D Secure.<br /> This method allows our system to credit a wallet and debit a card in real time. Your server has to send us the wallet ID to credit, all card data, the amount, and a comment.<br /><b>Note:</b> Lemonway does not recommend you use the MoneyIn method from January 2021. You should now use POST /moneyins/card/direct/3dini and PUT /moneyins/card/direct/{transactionid}/3dconfirm only.

post/v2/moneyins/card/direct

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

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

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

isPreAuthboolean

Mercanet Only Indicates if the request is delayed and will require validation.

  1. If true, payment will only be pre-authorized, you will have to call MoneyInValidate within 6 days or [delayedDays] in order to request the card debit.
  2. If empty, the default behavior is no delay and no validation necessary (unless stated otherwise in your contract).
  3. If false, the card will be debited without delay and without validation necessary.
delayedDaysinteger

Mercanet Only If isPreAuth is not true, this will be ignored. Please use with caution, if delayedDays > 6, it is possible that the payment will be denied when you try to validate it, because a new authorization will be made.

specialConfigstring

Leave Empty

referencestring

Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details

accountIdstring required

Payment Account ID to Credit

totalAmountinteger required

Amount to Debit Amounts are given as integer numbers in cents

commissionAmountinteger

Your Fee Amounts are given as integer numbers in cents

commentstring

Comment Regarding the Transaction

autoCommissionboolean

If true:

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

Example request

{
  "card": {
    "cardType": 1,
    "cardNumber": "4716202982346875",
    "cardCode": "123",
    "cardDate": "06/2028"
  },
  "reference": "Dze8778",
  "accountId": "33612345678",
  "totalAmount": 1500,
  "commissionAmount": 100,
  "comment": "Order number 2457765AX2",
  "autoCommission": false
}

Response

OK