---
title: "Search for Transactions between Payments Accounts"
method: GET
path: "/v2/p2p"
tags: ["P2Ps"]
---

# Search for Transactions between Payments Accounts

`GET /v2/p2p`

Returns a lit of payment transactions between payments accounts that match the search fields.

## Query parameters

- `transactionId` integer
- `transactionComment` string
- `reference` string
- `privateData.value` string[]
- `page` integer
- `limit` integer

## Headers

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

## Response `200`

OK

- GetPaymentDetailsOutput
  - `transactions` TransactionsTransactionP2P
    - `value` 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
  - `_links` Links
    - `first` Link
      - `href` string
      - `templated` boolean
      - `method` string
      - `type` string
      - `deprecation` string
      - `name` string
      - `profile` string
      - `title` string
      - `hreflang` string
    - `last` Link
      - `href` string
      - `templated` boolean
      - `method` string
      - `type` string
      - `deprecation` string
      - `name` string
      - `profile` string
      - `title` string
      - `hreflang` string
    - `previous` Link
      - `href` string
      - `templated` boolean
      - `method` string
      - `type` string
      - `deprecation` string
      - `name` string
      - `profile` string
      - `title` string
      - `hreflang` string
    - `next` Link
      - `href` string
      - `templated` boolean
      - `method` string
      - `type` string
      - `deprecation` string
      - `name` string
      - `profile` string
      - `title` string
      - `hreflang` string
    - `self` Link
      - `href` string
      - `templated` boolean
      - `method` string
      - `type` string
      - `deprecation` string
      - `name` string
      - `profile` string
      - `title` string
      - `hreflang` string
  - `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)
