Skip to main content
The “Get Transaction by ID” API allows to retrieve information for a specific transaction using its unique identifier. Use this endpoint to fetch details for a single transaction based on the provided transaction ID.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
default:"61dd0feac077f72010f78804"
required
ID of the transaction that needs to be returned

Query parameters

string
default:"3SwdhCu3svxI8AKsPJt6"
LocationId is the id of the account.
string
default:"3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier e.g: account id.
string
default:"account"
required
AltType is the type of identifier.

Respuestas

string
default:"61dd0feac077f72010f78804"
required
The unique identifier for the transaction.
string
default:"account"
required
AltType is the type of identifier.
string
default:"3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier eg: account id.
string
default:"XPLSw2SVagl12LMDeTmQ"
Contact id corresponding to the transaction.
object
Contact details of the transaction.
string
default:"USD"
Currency in which transaction was made.
number
default:"100"
Transaction value.
object
default:"succeeded"
Transaction status.
boolean
default:"false"
Transaction is in live / test mode.
string
default:"2023-11-20T10:23:36.515Z"
required
The creation timestamp of the transaction.
string
default:"2024-01-23T09:57:04.846Z"
required
The last update timestamp of the transaction.
string
default:"order"
Entity type of transaction (eg: order).
string
default:"61dd0fe9c077f73e67f78803"
Entity id for the transaction. e.g: order id
object
Entity source details for the transaction.
string
default:"in_1KGcXDCScnf89tZohCsmImwE"
Charge id for transaction.
object
Charge snapshot of transaction.
string
default:"in_1KGcXDCScnf89tZohCsmImwE"
Invoice id for the transaction.
string
default:"sub_1KGcXDCScnf89tZoVkoEMCEL"
Subscription id for transaction.
object
Payment provider details of the transaction.
string
default:"107.178.194.224"
Ip address from where transaction was initiated.
object
Meta details of the transaction.
boolean
default:"false"
Is test transaction.
boolean
default:"false"
Is parent transaction.
number
default:"10"
Transaction amount refunded.
string
default:"6492fbea489bc07892c6defb"
Receipt id for transaction.
boolean
default:"false"
Is transaction qbo synced.
object
Qbo details of the transaction.
string
default:"d3b16a92-a8ed-4e6b-8467-844750f78ed5"
Trace id of the transaction.
string
default:"XPLSw2SVagl12LMDeTmQ"
ID of the contact that was merged from.
string
default:"user123"
User ID who created the transaction.

Ejemplo