List of Payments
Changed onReturns a list of payments with metadata. Payments happen according to the payment frequency of the organization. They include and consider all relevant transactions and other payments during the specified period. You can use the limit, page, sortBy and sortDirection parameters to filter and sort the results.
Request
- Base URLhttps://partner-api.getpliant.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The ID of the organization to get the payments for.
The ID of the card account to get the payments for. Payments keep the card account id they were booked on. If a card account was superseded, filtering by the superseded id returns the payments booked before the switch and filtering by its successor (supersededBy) returns the ones booked after. Query both ids to get a complete list across the switch.
The type of the payments to filter by.
The status of the payments to filter by.
The date from which to return payments, zero-offset UTC time. The date boundary is inclusive. Meaning we compare with >=.
The date until which to return payments, zero-offset UTC time. The date boundary is inclusive. Meaning we compare with <=.
Desired date field to be filtered by if fromDate or toDate present.
The maximum number of items to return per page. The default value if not provided is 100, the maximum allowed value is 1000.
The page number to return, starting with 0, this counts up to the total number of pages. The total number of pages is determined by the total number of records divided by the limit.
The field to sort by.
The direction to sort by.
Response
Ok
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - warning
added the new
INTERNAL_TRANSFERenum value to the//response property for the response status - warning
added the new
INTERNAL_TRANSFER_REVERSALenum value to the//response property for the response status - warning
added the new
PAY_INenum value to the//response property for the response status - info
added the new enum value
PAY_INto thequeryrequest parametertype - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking