Get All Payments in Batch

Returns a collection of payments from a specified batch. Payments can be filtered by status or ids where each entry is separated with a comma.

Returned list is limited to 1,000 payments and is sorted by received timestamp by default. Additional sorting can be applied using the sortBy parameter.

Path Params
string
required

customerId

string
required

batchId

Query Params
string

Enter a single payment Id or multiple ids (separated by a comma) to return the required payment(s). Example:id=payment1, payment2, payment3

string

Enter a single payment status or multiple payment statuses (separated by a comma) to return all payments with the requested status(es). Example:status=created, processing, released

string

Enter a single payment field or multiple payment fields (separated by a comma) to display a subset of the payment field(s). Example:fields=id, paymentReference

string

Enter a sorting criteria. Example:id or createdOn. Default sorting criteria is by createdOn and in descending order.

string

Enter a date (YYYY-MM-DD) to return payment(s) which were created ‘From’ this date. When filtering by dates, the range limit is 2 years

string

Enter a date (YYYY-MM-DD) to return payment(s) which were created “To’ this date. When filtering by dates, the range limit is 2 years

integer

Enter the number of records that will be displayed on a page. Max Limit is 1000. Defaults to 1000 records if not specified.

integer

Enter the page number that the query will return.Defaults to 1 if not specified.

Responses

Language
URL
Choose an example:
application/json
text/json
Convera Logo

© 2022 All Rights Reserved