v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
P2Ps

Payment between Payment Accounts (P2P)

This call debits Wallet A and credits Wallet B. Payment accounts are internal to Lemonway. You can schedule this payment if you do not want the payment to occure immediately. The following list corresponds to the payment type specified in the response attribute called:

0 Card
1 Bank transfert (Money-In)
3 Bank transfert (Money-Out)
4 P2P
13 IDEAL
14 DirectDebit
15 Cheque
19 Multibanco
20 Payshop
21 MB WAY
35 PayPal
Important: The following services have been discontinued: 16 Neosurf, 17 SoFort, 18 PFS Physical Card, 20 Payshop, 22 Polish Instant Transfer, 23 PAGARE, 24 MobilePay,26 WeChat (via PayTend),28 MoneyIn by TPE, 29 Trustly.

post/v2/p2p

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

debitAccountIdstring

Account ID to be Debited

creditAccountIdstring

Account ID to Credited

amountinteger

Payment Amount

commentstring

Payment Comment

scheduledDatestring

If scheduledDate is set, the following rules will apply:

  1. ScheduledDate cannot be equal to the current date, Paris time (CET).
  2. 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.
  3. At 1am, Paris time (CET), on [scheduledDate], the checks will be performed and the payment will be finalized. This feature is only available for some partners, contact commercial services for more information.
originTransactionIdinteger

Origin Transaction Identification

referencestring

Example request

{
  "debitAccountId": "33612345678",
  "creditAccountId": "taxi67",
  "amount": 1500,
  "comment": "Order number 2457765AX2",
  "scheduledDate": "2026/06/29",
  "privateData": {
    "value": [
      "My data 1",
      "My data 2",
      "My data 3",
      "",
      "My data 5"
    ]
  },
  "originTransactionId": 4086
}

Response

OK