Retrieve a collection of PEER (P2P) payments
This API endpoint is intended to retrieve a collection of PEER (P2P) payments, specifically recent P2P payments for an account.
Query Parameters
- page integer
Default value:
1
The collection page number
- itemsPerPage integer
Possible values:
<= 50
Default value:
30
The number of items per page
- pagination boolean
Enable or disable pagination
- currency string
- amount[lt] string
- amount[lte] string
- amount[gt] string
- amount[gte] string
- executionDate[lte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[lt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[gte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[gt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id integer
- currency string
- amount string
- executionDate string
- collateral boolean
- side string
Possible values: [
sender
,receiver
] - senderCompanyName string
- receiverCompanyName string
- senderAccount integernull
- receiverAccount integernull
- comment stringnull
- contact integer
- status string
Possible values: [
created
,pending
,transferred
,canceled
] - fromAutomation boolean
- ]
[
{
"id": 1,
"currency": "CHF",
"amount": "100.00",
"executionDate": "2023-01-01T00:00:00+00:00",
"collateral": true,
"side": "sender",
"senderCompanyName": "Example Sender Company AG",
"receiverCompanyName": "Example Receiver Company AG",
"senderAccount": 1,
"receiverAccount": 2,
"comment": "Example comment",
"contact": 1,
"status": "transferred",
"fromAutomation": true
}
]
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}