List merchant transactions (V2)
List merchants transactions filtered using query parameters.
<b>NOTE</b>: By default, the endpoint returns only 60 days of merchant transactions. If you want a longer period (up to 365 days), you must provide the saleAuthorizationId parameter, and specify a desired date in both startEventDate and endEventDate.
Request
- Base URLhttps://sandbox.pismolabs.io/merchants
- URLhttps://sandbox.pismolabs.io/merchants/v2/merchants/{merchantId}/transactions
- AuthHTTP bearer
Path parameters
Merchant ID
Query parameters
Merchant's original transaction ID. If it's a sale, then it's null; if it's a refund, then it refers to the transaction ID of a sale.
Authorization ID. Automatically generated unique identifier used in any flow where a transaction is created, whether sale, resale or cancellation.
Authorization ID of sale. This refers to the authorization ID of a transaction to which the current transaction is tied. For example, when you cancel a transaction, saleAuthorizationId is the authorizationId of the transaction that you are cancelling.
Example of a sale: authorizationId: 101011
Cancelling this sale: authorizationId: 101012, saleAuthorizationId : 101011
Marketplace authorization (external or internal) ID
Transaction status
Date authorization is generated (and associated event emitted). Format is yyyy-mm-dd.
End date of transaction event. Format is yyyy-mm-dd.
Scheduled payment start date. Find scheduled payments between this date and endPaymentDate. Format = yyyy-mm-dd.
Scheduled payment end date. Format = yyyy-mm-dd. Find scheduled payments between startPaymentDate and this date.
Start date of merchant transaction settlement. Format is yyyy-mm-dd.
End date of merchant transaction settlement. Format is yyyy-mm-dd.
Transaction operation description
Processing code. See <a href="https://developers.pismo.io/pismo-docs/docs/processing-codes-and-transaction-types" target="_blank">Processing codes and transaction types</a>.
Gross amount of the transaction. startEventDate and endEventDate must be on the same date. For example: grossValue: 100, startEventDate: 2023-03-01, endEventDate: 2023-03-01,
Net amount of the transaction. startEventDate and endEventDate must be on the same date. For example: netValue: 101, startEventDate: 2023-04-01, endEventDate: 2023-04-01
Page number. Default is 1.
Items per page. Default is 10.
Headers
Content type
Authorization token. This is a regular access token, which does not need to include an account ID.
Response
OK
Example response
{
"total_items": 74,
"per_page": 10,
"pages": 8,
"current_page": 1,
"items": [
{
"id": 2,
"origin_transaction_id": 1,
"authorization_id": "13387693",
"sale_authorization_id": "13387693",
"order_id": 1,
"type": "SALES",
"number_of_installments": 3,
"installment": 2,
"gross_value": 3600.02,
"net_value": 3582.02,
"discount": -18,
"advanced_amount": 0.1,
"operation_type": 89,
"operation": "Credit card without quotas",
"event_date": "2020-07-14T00:41:29Z",
"payment_date": "2020-07-16",
"receipt_date": "2020-07-16",
"received_value": 0.1,
"status": "SCHEDULED",
"meta": [
{
"name": "MarketplaceAuthorization",
"value": "ashga-jwjh-huahu-wquiqw"
},
{
"name": "MarketplaceTransaction",
"value": "wquiqw-jwjh-huahu-ashga"
}
]
}
],
"tax": {
"mdr": [
{
"description": "Merchant Discount Rate",
"operation_type": 1,
"mdr": 0.03,
"days_to_payment": 30
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.