---
title: "Get merchant transaction"
method: GET
path: "/v2/merchants/{merchantId}/transactions/{merchantTransactionId}"
tags: ["Merchant transaction"]
---

# Get merchant transaction

`GET /v2/merchants/{merchantId}/transactions/{merchantTransactionId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/merchants`
- URL: `https://sandbox.pismolabs.io/merchants/v2/merchants/{merchantId}/transactions/{merchantTransactionId}`
- Auth: HTTP bearer

Get transaction details using merchant transaction ID

## Path parameters

- `merchantId` integer, required
- `merchantTransactionId` integer, required

## Headers

- `Content-Type` string
- `Authorization` string

## Response `200`

OK

- GETMerchantTransactionResponse
  - `id` integer: Merchant transaction ID
  - `authorization_id` string: Authorization ID
  - `parent_authorization_id` string: Parent authorization ID
  - `type` string: Transaction type. Examples of transaction types include cash-in and cash-out. See <a href="https://developers.pismo.io/pismo-docs/docs/transactions-overview#transaction-types">Transaction types</a> for the list of transaction types on the Pismo platform.
  - `status` 'PENDING' | 'SCHEDULED' | 'BLOCKED' | 'SETTLED' | 'PAID' | 'ADVANCED' | 'CANCELED' | 'RETURNED': Transaction status
  - `merchant_id` integer: Merchant ID
  - `org_operation_id` integer: 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>.
  - `creditor_id` integer: Creditor ID
  - `installment` integer: Installment number of transaction
  - `number_of_installments` integer: Number of installments
  - `amount` number, double: Transaction total (gross) amount
  - `mdr_amount` number, double: Merchant discount rate (MDR) amount
  - `mdr_tax` number, double: Merchant discount rate (MDR) tax amount
  - `transaction_fee` number, double: Fixed transaction fee
  - `mdr_without_fee` number: Merchant discount rate (MDR) minus transaction fee
  - `advancement_discount` number, double: Advancement discount
  - `advanced_amount` number, double: Advanced amount
  - `event_date` string, datetime: The transaction event date and time (sale or refund). UTC date/time - format: yyyy-MM-ddThh:mm:ssZ
  - `scheduled_payment_date` string, date: Scheduled payment date. Format = yyyy-mm-dd.
  - `origin_transaction_id` integer: ID of parent merchant transaction. If sale, this is null. If refund, this is the transaction ID of the sale.
  - `marketplace_id` integer: Marketplace ID
  - `discount_amount` number, double: Total discount amount applied to the transaction
  - `discount_details` DiscountDetail[]
    - `name` string: Discount name
    - `amount` number, double: Total discount amount

## Other responses

- `400`: Bad Request
- `401`: Access token is missing or invalid
- `404`: The specified resource was not found
- `408`: Request timeout
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/seller-management-merchants.md) - [All operations](https://skmtc.dev/pismo/apis/seller-management-merchants/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/seller-management-merchants/revisions/f0c2e31fbbc0?raw)
