Skip to main content
GET
/
v2
/
transactions
/
{transaction_id}
Retrieve a transaction
curl --request GET \
  --url https://dev.sbx.imprint.co/v2/transactions/{transaction_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "E777214A-2D11-4CAD-9E8F-E1BD71D9FE67",
  "customer_id": "9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4",
  "payment_method_id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
  "amount": 123,
  "currency": "USD",
  "status": "APPROVED",
  "network_transaction_id": "<string>",
  "created_at": "2025-02-13T19:08:07.000Z",
  "intent_id": "5B30532B-5B5B-4826-8DE2-429C57B705FD",
  "authorization_code": "ABCD",
  "purchase_method": "CHIP",
  "partner_transaction_id": "<string>",
  "updated_at": "2025-02-13T19:08:07.000Z",
  "merchant": {
    "network_id": "234923454545",
    "name": "Target",
    "category": "Grocery Stores",
    "category_code": "5411",
    "address": {
      "street_line1": "123 Main St",
      "street_line2": "Apt 4B",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94105",
      "country": "USA"
    }
  },
  "metadata": {
    "platform_version": "2.1.0"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

transaction_id
string
required

The unique identifier for the transaction

Example:

"4E6FE207-53E5-4EC0-BF51-5923BE5CEE2F"

Response

Transaction retrieved successfully

id
string
required
Example:

"E777214A-2D11-4CAD-9E8F-E1BD71D9FE67"

customer_id
string
required

The imprint customer ID for the transaction

Example:

"9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4"

payment_method_id
string
required

Identifies the payment method used for the transaction

Example:

"DCBFC736-2286-42DD-897D-160DCA80AED2"

amount
integer
required

Transaction amount in min units.

currency
string
required

The 3-character currency code of the amount in ISO 4217 format (e.g., "USD")

Example:

"USD"

status
enum<string>
required
Available options:
APPROVED,
UPDATED,
VOIDED,
CAPTURED,
REFUNDED
Example:

"APPROVED"

network_transaction_id
string
required

The network's unique identifier for the transaction. Examples include Visa Transaction ID, Mastercard Trace ID, and American Express Network Reference ID

created_at
string
required

the RFC-3339 timestamp when the transaction was created

Example:

"2025-02-13T19:08:07.000Z"

intent_id
string

Reference to the original transaction intent

Example:

"5B30532B-5B5B-4826-8DE2-429C57B705FD"

authorization_code
string

Code authorizing the transaction.

Example:

"ABCD"

purchase_method
enum<string> | null

How the purchase was completed.

Available options:
CHIP,
CONTACTLESS,
KEYEDIN,
ONLINE,
SWIPE,
QRCODE,
OCR,
UNKNOWN
Example:

"CHIP"

partner_transaction_id
string

The partner's unique transaction id

updated_at
string

the RFC-3339 timestamp when the transaction was last updated

Example:

"2025-02-13T19:08:07.000Z"

merchant
object
metadata
object
Example:
{ "platform_version": "2.1.0" }