---
title: "Get Transaction Details"
method: POST
path: "/api/{key}/transaction-details"
tags: ["Payment APIs"]
---

# Get Transaction Details

`POST /api/{key}/transaction-details`

Fetch the details of the Transaction.

## Path parameters

- `key` string, required

## Headers

- `X-Portone-Client-Key` string
- `Authorization` string

## Request body

- object
  - `order_ref` string, required — The unique Order reference generated by PortOne for transaction.

## Response `200`

Successful response

- object
  - `content` TransactionDetailsContent — The meta details of the transaction.
    - `currency` string — The currency of transaction
    - `amount` number, double — The amount of transaction, can be a floating-point number
    - `order_ref` string — The unique Order reference generated by PortOne for transaction.
    - `channel_order_ref` string — The unique Order reference generated by PSP for transaction.
    - `merchant_order_ref` string — The unique Order reference generated by merchant for transaction.
    - `country_code` string — 2 digit country code
    - `status` string — The status of the transaction.
    - `statusCode` string — The status code of the transaction.
    - `statusReason` string — The status reason of the transaction.
    - `status_channel_reason` string — The status reason provided by the PSP.
    - `channel_key` string — The channel key used for the transaction.
    - `method_name` string — The method name used for the transaction.
    - `method_key` string — The method key used for the transaction.
    - `channel_logo` string — The channel logo URL.
    - `method_sub_type` string — The method sub-type.
    - `buyer_name` string — The buyer's name.
    - `buyer_email` string — The buyer's email.
    - `buyer_phone` string — The buyer's phone.
    - `buyer_address1` string — The buyer's address line 1.
    - `buyer_address2` string — The buyer's address line 2.
    - `buyer_city` string — The buyer's city.
    - `buyer_country` string — The buyer's country.
    - `signature_hash` string — The signature hash.
    - `date` string — The date in ISO 8601 format.
    - `is_refund_allowed` boolean — Indicates if refund is allowed.
    - `is_multi_refund_allowed` boolean — Indicates if multi-refund is allowed.
    - `refund_completed` boolean — Indicates if refund is completed.
    - `user_agent` string — The user agent string of device used to make the api call.
    - `ip_address` string — The IP address of device used to make the api call.
    - `description` string — The description for the transaction.
    - `payment_link_ref` string — The payment link reference.
    - `source` string — The source.
    - `payment_method_used` string — The payment method used.
    - `merchant_name` string — The merchant name.
    - `merchant_key` string — The merchant key.
    - `merchant_email_address` string — The merchant email address.
    - `channel_name` string — The channel name.
    - `payment_link_merchant_order_ref` string — The payment link merchant order reference.
    - `customer_email_address` string — The customer email address.
    - `customer_phone_number` string — The customer phone number.
    - `customer_name` string — The customer name.
    - `created_by` string — The creator's email address.
    - `user_message` string — The user message.
    - `routing_enabled` boolean — Indicates if routing is enabled.
    - `payment_page_ref` string — The payment page reference.
    - `refund_status` string — The refund status.
    - `subscription_order_ref` string — The subscription order reference.
    - `order_details` object — The order details object.
      - `data` object — The data within the order details.
    - `user_configured_field1` string — Custom user configuration field 1
    - `user_configured_field2` string — Custom user configuration field 2
    - `user_configured_field3` string — Custom user configuration field 3
    - `user_configured_field4` string — Custom user configuration field 4
    - `user_configured_field5` string — Custom user configuration field 5
    - `user_uuid` string — The UUID of the user generated by merchant. Only supported by PayLetter PSP.
    - `auto_refund` boolean — Boolean flag to identify if auto refund is enabled. Default is false. Only supported by PayLetter PSP.
    - `is_cross_border_transaction` boolean — Boolean flag to identify if the transaction is a cross border transaction.
  - `message` string — The description of the API request execution result
  - `status_code` string — The status_code for API request execution result
  - `status_reason` string — The status_reason for API request execution result

## Other responses

- `400` — Failure response

---

[API](https://skmtc.net/portone/apis/payment-apis.md) · [All operations](https://skmtc.net/portone/apis/payment-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portone/payment-apis/revisions/f3ccea652555/schema)
