Skip to main content
GET
Retrieve a transaction

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Path Parameters

id
string
required

The object id, as the API returned it.

Response

The transaction.

id
string
required
Pattern: ^txn_
type
string
required
amount
integer
required
currency
string
required
direction
string
required
status
string
required
livemode
boolean
required
created
string<date-time>
required
account
string | null
customer
string | null
transfer
string | null
checkout_session
string | null
description
string | null