ON-US Payment between Wallets


This function debits Wallet A and credits Wallet B. Wallets are internal to Lemonway, that's the reason we call those operations "ON US" operations. You can delay this payment by X days.

How it works

SendPayment debits a wallet and credits another, of the amount you set in the input.

  1. Your platform sends the ID of the wallet that is debited, the ID of the wallet that is credited, the amount to pay, and a comment.
  2. Lemonway answers


<SendPayment xmlns="Service_mb">
<?xml version="1.0" encoding="utf-8"?>
        <DATE> string </DATE>
        <SEN> string </SEN>
        <REC> string </REC>
        <DEB> string </DEB>
        <CRED> string </CRED>
        <COM> string </COM>
        <MSG> string </MSG>
        <STATUS> string</STATUS>


            "DATE":" string ",
            "SEN":" string ",
            "REC":" string ",
            "DEB":" string ",
            "CRED":" string ",
            "COM":" string ",
            "MSG":" string ",
            "STATUS":" string"

Request Input Description

debitWalletWallet ID to be debitedYes[0: 256] char33612345678 ou taxi67
creditWalletWallet ID to the creditYes[0: 256] char33612345678 ou taxi67
amountPayment amountYes2 decimals15
messageComment for the paymentNo[0:140] charOrder number 2457765AX2
scheduledDateIf scheduledDate is set, the following rules will apply:No[0:10] charyyyy/MM/dd
scheduledDate cannot be equal to the current date, Paris time
the payment will be inserted but not executed, the status will be pending and necessary checks like user balance or user status will not be checked.
at 1:00 am (CET), on [scheduledDate], the checks will be performed and the payment will be finalized.
This feature is available only for some contracts, contact commercial service for more information.
privateDataData with multiple fields that you can associate with payment and that you can search with GetPaymentDetails.No[0 : 5139] charMy data 1;My data 2;My data 3;;My data 5
You can add up to 20 fields
The field must be concatenated and separated with a semicolon
Each field can contain up to 256 chars
OriginTransactionId of the related MoneyIn transactionNoint12R
The payment method of the original transaction must be 3 (IBAN) or 15 (CHECK) otherwise API will return ERR_INVALID_TRANSACTION
referenceIf a reference is set, it must be unique in terms of P2P transactionsNo[0 : 36] charAF222233
isCommissionIndicate if the P2P is a partner commission or not.No[1] car0
0 or empty: simple P2P
1 : P2P commission. Put in the field OriginTransaction the transaction id of the bank wire or the cheque.

Response Output Description

IDRequest ID255
DATERequest Date10/9/2011 18:09
SENDebited WalletPizza56
RECBeneficiary Walletpizza
DEBAmount to debit15
CREDAmount to credit15
MSGCommentOrder number 2457765AX2
STATUS3: success3
0: pending (delayed payment)