---
title: "Payment between Payment Accounts (P2P)"
method: POST
path: "/v2/p2p"
tags: ["P2Ps"]
---

# Payment between Payment Accounts (P2P)

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

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Request body

- SendPaymentInput
  - `debitAccountId` string — Account ID to be Debited
  - `creditAccountId` string — Account ID to Credited
  - `amount` integer — Payment Amount
  - `comment` string — Payment Comment
  - `scheduledDate` string — 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.**
  - `privateData` PrivateData — Data with multiple fields that you can associate to a payment and that you can search with GetPaymentDetails.
    - `value` string[] — Up to 20 fields of 256 maximum length
  - `originTransactionId` integer — Origin Transaction Identification
  - `reference` string

## Response `200`

OK

- SendPaymentOutput
  - `transaction` TransactionP2P
    - `senderAccountId` string — Debited Account
    - `receiverAccountId` string — Credited Account
    - `debitAmount` integer — Debited Amount Amounts are represented in cents (Euro)
    - `creditAmount` integer — Credited Amount Amounts are represented in cents (Euro)
    - `privateData` PrivateData — Data with multiple fields that you can associate to a payment and that you can search with GetPaymentDetails.
      - `value` string[] — Up to 20 fields of 256 maximum length
    - `scheduledDate` string — Request date for a payment or payment date. UTC unix timestamp
    - `isFee` boolean — Returned 1 for a P2P commission transaction
    - `feeReference` integer — Original transaction ID
    - `id` integer — Transaction ID
    - `method` integer — Payment Method 0 Card 1 Bank transfer (MoneyIn) 3 Bank transfer (MoneyOut) 4 P2P 13 iDEAL 14 SEPA DirectDebit 15 Cheque 19 Multibanco 21 MBWAY 30 BNPL 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 25 Paytrail 26 WeChat 27 P24 28 MoneyIn by TPE 29 Trustly
    - `methodDetails` 0 | 1 — Payment Method Details 0 Standard 1 Pay By Bank<br/>0 = STANDARD.<br/>1 = PAY_BY_BANK.<br/>
    - `date` integer — Transaction initialization date, UTC Unix timestamp
    - `commissionAmount` integer — Your fee Amounts are given as integer numbers in cents
    - `comment` string — Comment
    - `status` integer — **For the following endpoints uses the below status code** /v2/accounts/{accountId}/transactions /v2/moneyins /v2/moneyins/card/direct /v2/moneyins/card/{cardid}/rebill /v2/moneyins/card/{cardid}/subscription /v2/moneyins/{transactionid}/validate /v2/moneyins/sdd/init /v2/moneyins/sdd /v2/moneyins/{transactionid}/cancel /v2/refund/{transactionid} /v2/refundcreate/{transactionId} 0: Success 3: Lemonway Error 4: Pending 6: PSP error 7: Cancelled 16: Validation pending **For the following endpoints uses the below status code** /v2/disputes /v2/moneyins/bankwire /v2/moneyins/card/direct/3dinit /v2/moneyouts /v2/p2p /v2/p2p/{transactionid?} 0: Waiting for finalization 3: Success 4: Lemonway Error
    - `executionDate` integer — Transaction execution date
    - `lemonWayCommission` LemonWayCommission
      - `idp2p` string
      - `amount` integer — Amounts are represented as integer in cents (Euro) Represented as an integer in cents (Euro)
    - `reference` string — Unique ID generated by your server
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string — Get the Error Message from PSP

## Other responses

- `401` — Unauthorized
- `500` — InternalServerError

---

[API](https://skmtc.net/lemonway/apis/account-onboarding-management-api.md) · [All operations](https://skmtc.net/lemonway/apis/account-onboarding-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lemonway/account-onboarding-management-api/versions/73309fe68e2d/schema)
