Solidgate logo in black and white.

Transaction ID

What is transaction ID?

Transaction ID (or transaction identification number) is a unique alphanumeric code assigned to each payment transaction during the electronic funds transfer process. This identifier lets merchants, , and banks track, locate, and reference specific transactions for recordkeeping, refunds, and dispute resolution.
Transaction IDs appear on receipts, invoices, and payment confirmations, usually alongside the merchant name, date, amount, and order number. A single purchase often carries more than one identifier across different systems – a gateway transaction ID, a processor reference number, and a bank authorization code – so the specific identifier is usually named when communicating with payment partners.

Key facts

  • Also known as: transaction identification number; some statements label it a transaction reference.
  • Format: an alphanumeric string – letters and digits combined – with no fixed industry-standard length, commonly 12–20 characters. The exact length and character set are set by the gateway, processor, or acquirer that issues it.
  • Generated by: the payment gateway, processor, or acquiring bank that handles the transaction.
  • Scope: assigned to each transaction attempt, including declined and failed attempts, not only successful payments.
  • Primary uses: refunds, investigations, , and customer support lookups.

Where to find a transaction ID

The same transaction is logged by every system that touches it, so the ID can be retrieved from any of them:
  • Customer-facing records: the email receipt, invoice, or order confirmation sent after checkout.
  • Merchant dashboard: the order or payment detail view in the processor or PSP back office.
  • Bank or card statement: shown next to the for the charge.
  • API responses and webhooks: returned as a field in the payment response for developers reconciling programmatically.

Transaction ID vs related identifiers

Several identifiers attach to a single payment, each created by a different party for a different purpose:
IdentifierGenerated byPrimary use
Transaction IDGateway, processor, or acquirerGeneral tracking, refunds, and support lookups
Card network (Visa, Mastercard)Linking related authorizations, such as merchant-initiated and recurring payments
Acquirer at authorizationLocating a transaction during retrieval requests
Acquirer at settlementTracing a settled transaction and its chargebacks

Why it matters

A transaction ID is the key that ties a payment to every action taken on it afterward. Without it, matching a refund, a , or a line back to the original charge means searching by amount and date, which breaks down as soon as two payments share both.
For finance teams, the ID is what makes reconciliation automatic – each bank deposit maps to the exact charge that produced it. For support and risk teams, quoting the ID removes ambiguity when one customer has several similar payments on file.

Related terms