List Payments
List payments with optional filtering.
Request
- Base URLhttps://api.upflow.io/v1
- AuthAPI key in header X-Api-Key and API key in header X-Api-Secret
Query parameters
The 0-based index of the first item to return.
The page number to retrieve (1-based). If both page and offset are provided, offset takes priority.
Maximum number of items to return per page.
Sort payments by a specific column.
Sort order.
{
"updatedAt.gt": "2015-05-05T12:30:00Z",
"updatedAt.gte": "2015-05-05T12:30:00Z",
"updatedAt.lt": "2015-05-05T12:30:00Z",
"updatedAt.lte": "2015-05-05T12:30:00Z"
}{
"validatedAt.gt": "2015-05-05T12:30:00Z",
"validatedAt.gte": "2015-05-05T12:30:00Z",
"validatedAt.lt": "2015-05-05T12:30:00Z",
"validatedAt.lte": "2015-05-05T12:30:00Z"
}Return payments where allocated amount is equal to this value (in cents).
Return payments where allocated amount is greater than this value (in cents).
Return payments where allocated amount is greater than or equal to this value (in cents).
Return payments where allocated amount is lower than this value (in cents).
Return payments where allocated amount is lower than or equal to this value (in cents).
Return payments where amount is equal to this value (in cents).
Return payments where amount is greater than this value (in cents).
Return payments where amount is greater than or equal to this value (in cents).
Return payments where amount is lower than this value (in cents).
Return payments where amount is lower than or equal to this value (in cents).
Filter payments by Customer ID.
Filter payments by external Customer ID.
{
"modifiedAt.gt": "2015-05-05T12:30:00Z",
"modifiedAt.gte": "2015-05-05T12:30:00Z",
"modifiedAt.lt": "2015-05-05T12:30:00Z",
"modifiedAt.lte": "2015-05-05T12:30:00Z"
}Response
Paginated list of payments.
Example response
{
"page": 1,
"limit": 50,
"total": 100,
"items": [
{
"refNumber": "PYMT123",
"currency": "EUR",
"amount": 1700,
"validatedAt": "2015-05-05T12:30:00Z",
"externalId": "92842AB37",
"customFields": [
{
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"externalId": "AEGaaZD"
}
],
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"amountLinked": 1700,
"modifiedAt": "2015-05-05T12:30:00Z",
"linkedInvoices": [
{
"linkedAmount": 3000,
"invoice": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"currency": "EUR",
"amountOutstanding": 1500,
"customId": "FAC123",
"grossAmount": 2200,
"netAmount": 2000,
"name": "Facture couvrant les prestations de service de Decembre",
"issuedAt": "2015-05-05T12:30:00Z",
"dueDate": "2015-05-05T12:30:00Z",
"paidDate": "2015-05-05T12:30:00Z",
"externalId": "92842AB37"
}
}
],
"customer": {
"id": "00a70b35-2be3-4c43-aefb-397190134655",
"externalId": "1a2c3b",
"companyName": "Upflow SAS",
"accountingRef": "UPFL-SAS"
},
"createdAt": "2015-05-05T12:30:00Z",
"updatedAt": "2015-05-05T12:30:00Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.