Retrieves many payment transactions. A particular transaction contains all transactions' events attached as an entries of the response body.
Required scopes
payment-gateway.paymenttransactions_read
Authorizations
Path parameters
tenantstring · min: 3 · max: 16Required
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
Pattern: ^[a-z][a-z0-9]+$
Query parameters
pageNumberinteger · min: 1Optional
The page number to be retrieved, where the size of the pages is specified by the pageSize parameter. The number of the first page is 1.
Default: 1
pageSizeinteger · min: 1 · max: 50Optional
The number of documents being retrieved on one page.
Default: 50
sortstringOptional
Fields to sort the response data by following the order of the parameters from left to right. Can contain multiple fields in the following format: field name:sort direction, separated by a comma. The colon preceding the sort direction parameter is optional, and the descending order is taken only if it is equal to desc or DESC. The ascending order is assumed in any other case.
Example: sort=name,metadata.createdAt:desc
Header parameters
X-Total-CountbooleanOptional
To get information how many entities meet the filtering requirements, the X-Total-Count header has been introduced. The header is optional and its default value is false. If the header is provided and it is set to true, then the total count is returned in the X-Total-Count response header. In both cases (X-Total-Count true, false or not provided), the response body has the same format (array of entities). This means that the information about the total count is returned only on demand, provided that the X-Total-Count header is present in a request.
Responses
200
Payment transactions response
application/json
401
Unauthorized
application/json
403
Access forbidden. The caller is not allowed to access this resource.
application/json
500
Internal Server Error.
application/json
get
GET /payment-gateway/{tenant}/transactions HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*