Skip to main content
GET
/
v1
/
transactions
/
by-hash
/
{transactionHash}
Get transaction by hash
curl --request GET \
  --url https://api.meum.io/v1/transactions/by-hash/{transactionHash} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "invoice_id": "<string>",
  "type": "payment_origin",
  "network": "near",
  "token": "USDC",
  "amount": "100.00",
  "transaction_hash": "0xabc123def4567890abcdef1234567890abcdef1234567890abcdef1234567890",
  "from_wallet": "<string>",
  "to_wallet": "<string>",
  "confirmations": 123,
  "status": "confirmed",
  "verified": true,
  "confirmed_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Store-scoped API key. Prefix with sk_live_. Example: Authorization: Bearer sk_live_EXAMPLE_DO_NOT_USE

Path Parameters

transactionHash
string
required

On-chain transaction hash

Example:

"0xabc123def4567890abcdef1234567890abcdef1234567890abcdef1234567890"

Response

Transaction details

A payment, payout, or refund movement tied to an invoice.

id
string

Transaction ID (txn_...).

Pattern: ^(inv_|txn_|plink_|wh_|whd_|evt_|int_)[0-9a-z]{20,32}$
invoice_id
string

Invoice this transaction belongs to (inv_...).

Pattern: ^(inv_|txn_|plink_|wh_|whd_|evt_|int_)[0-9a-z]{20,32}$
type
enum<string>

What kind of movement this is:

  • payment_origin: money the customer sent
  • settlement: money paid out to your wallet
  • refund: money returned to the customer
Available options:
payment_origin,
settlement,
refund
Example:

"payment_origin"

network
string | null

Blockchain used (e.g. near, ethereum). null if not on-chain.

Example:

"near"

token
string | null

Token involved (e.g. USDC).

Example:

"USDC"

amount
string | null

Amount moved, as a decimal string (e.g. "100.00").

Example:

"100.00"

transaction_hash
string

On-chain transaction ID (block explorer lookup).

Example:

"0xabc123def4567890abcdef1234567890abcdef1234567890abcdef1234567890"

from_wallet
string | null

Wallet that sent the funds.

to_wallet
string | null

Wallet that received the funds.

confirmations
integer | null

How many blocks have confirmed this transaction. null if not tracked.

status
string

Current state (for example pending, confirmed).

Example:

"confirmed"

verified
boolean

true when the transaction has been verified on the blockchain.

confirmed_at
string<date-time> | null

When enough confirmations were reached (UTC). null if still pending.

created_at
string<date-time>

When this record was created (UTC).

updated_at
string<date-time>

When this record was last updated (UTC).