---
title: "View transaction by payment ID"
method: GET
path: "/transaction/v3/paymentId/{paymentId}"
tags: ["Transactions"]
---

# View transaction by payment ID

`GET /transaction/v3/paymentId/{paymentId}`

Searches for transactions with the given payment ID. You get the payment ID in the [Run card transaction](https://docs.nexiopay.com/reference/runcardtransaction) or [Process transaction from terminal](https://docs.nexiopay.com/reference/processtransactionfromterminal) response as the `id`. Or, in the page event for the ecommerce or retail iframe.

Because you get the `paymentId` in the response for a transaction, this endpoint is useful for quickly getting transaction information and updates.

Also, you can use this endpoint instead of [View transactions](https://docs.nexiopay.com/reference/viewtransactions) when you only need to get information about a single transaction and in order to get all response parameters related to the transaction without needing to request them specifically.

<!-- theme: info -->
> 📘 Notes
> 
> - **It may take up to a minute after a transaction is run before you can see it in the response for this endpoint.**
> - Payment ID is <i>not</i> the same as the Nexio Transaction ID, which is returned as `id` in this endpoint or in the [View transaction by transaction ID](https://docs.nexiopay.com/reference/viewtransactiontransactionid) or [View transactions](https://docs.nexiopay.com/reference/viewtransactions) endpoints.
> - Certain transaction data will be returned as numerical values. The definitions are provided in the [Constant transaction values tables](https://docs.nexiopay.com/docs/constant-transaction-values).

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you can use the credentials for your [Sandbox API user](https://docs.nexiopay.com/docs/sandbox-environments).<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.
> username: `docs@nexiopay.com`
> password: `JZdzoXpdDeH6VA`<br/><br/>Include the payment ID in the path parameter of the request.

<div style="display:none;">

## Request parameters
- paymentId

## Response parameters
- id
- merchantId
- amount
- transactionDate
- transactionStatus
- authCode
- transactionType
- cardType
- cardNumber
- cardHolder
- processMethod
- achDetailId
- currencyId
- reportDate
- settledDate
- capturedDate
- originalTransactionId
- createdAt
- updatedAt
- customer
- customer.id
- customer.firstName
- customer.lastName
- customer.postalCode
- customer.phone
- customer.email
- customer.company
- customer.customerRef
- customer.transactionId
- kount
- kount.id
- kount.status
- kount.rules
- kount.refNumber
- kount.merc
- kount.score
- kount.ruleCount
- kount.warningCount
- kount.counterCount
- kount.wasDeviceFingerprinted
- kount.mode
- kount.velo
- kount.vmax
- kount.transactionId
- bankTransfer
- bankTransfer.account
- bankTransfer.checkNumber
- bankTransfer.id
- bankTransfer.routing
- bankTransfer.transactionId
- foreignProcessingCurrency
- foreignProcessingCurrency.amount
- foreignProcessingCurrency.currencyId
- foreignProcessingCurrency.id
- foreignProcessingCurrency.transactionId
- threeDS
- threeDS.id
- threeDS.ECI
- threeDS.type
- threeDS.transactionId
- gateway
- gateway.gatewayName
- gateway.refNumber
- gateway.nsu
- processor
- processor.id
- customerAddresses
- customerAddresses.billingAddressOne
- customerAddresses.billingAddressTwo
- customerAddresses.billingCity
- customerAddresses.billingCountry
- customerAddresses.billingPhone
- customerAddresses.billingPostal
- customerAddresses.billingState
- customerAddresses.shippingAddressOne
- customerAddresses.shippingAddressTwo
- customerAddresses.shippingCity
- customerAddresses.shippingCountry
- customerAddresses.shippingPhone
- customerAddresses.shippingPostal
- customerAddresses.shippingState
- customerAddresses.id
- customerAddresses.transactionId
- subscription
- subscription.id
- subscription.accountId
- subscription.initialBalance
- subscription.interval
- subscription.intervalCount
- subscription.remainingBalance
- subscription.scheduleType
- subscription.subscriptionRef
- subscription.transactionId
- cardMetaData
- cardMetaData.id
- cardMetaData.bin
- cardMetaData.cardBrand
- cardMetaData.class
- cardMetaData.countryCode
- cardMetaData.currencyCode
- cardMetaData.issuingBank
- cardMetaData.transactionId
- plugin
- plugin.id
- plugin.originalId
- plugin.invoice
- plugin.orderNumber
- plugin.description
- plugin.pluginType
- plugin.paymentOptionTag
- plugin.transactionId
- transactionDetails
- transactionDetails.id
- transactionDetails.clientIp
- transactionDetails.customFields
- transactionDetails.description
- transactionDetails.installments
- transactionDetails.installmentUnit
- transactionDetails.paymentType
- transactionDetails.retryCount
- transactionDetails.shoppingCart
- transactionDetails.userName
- transactionDetails.transactionId
- linkedChargebackId

</div>

## Path parameters

- `paymentId` string, required

## Response `200`

Success

- Schema — unresolved $ref

## Other responses

- `401` — Unauthorized. For help with this error and other error codes, see [Common errors](https://docs.nexiopay.com/docs/common-errors) in the Guides area.

---

[API](https://skmtc.dev/nexiopay/apis/payments-api-reference.md) · [All operations](https://skmtc.dev/nexiopay/apis/payments-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexiopay/payments-api-reference/revisions/b414b73979e5/schema)
