Transaction Object

The Transaction Object holds details about a transaction.

Field

Type

Example

Description

id

String

"aaaaaaaaaaabbbbbbbbbbbbb"

The unique ID for the transaction.

userid

String

"aaaaaaaaaaabbbbbbbbbbbbb"

The ID of the user that made the transaction.

date

Date (Unix Timestamp)

"2020-01-01T08:00:00.000Z"

The date and time that the transaction was created.

address

String

"2MuRs4YMw1ecJcqKBAZoSVGE3S5DwcYhWbE"

The payment address to send crypto payments to.

cryptoSymbol

String

"BTC"

The selected crypto to use in the transaction.

amountUsd

Integer

20

The amount of USD transacted.

amountCrypto

String

"0.00273227"

The amount of cryptocurrency transacted.

status

String

"Confirming"

The status of the transaction.

paymentPath

String

"/invoice/<invoice-id>"

The generated invoice URL for the transaction. This URL can be used to view detailed information on the transaction.

processorid

String

"bl"

Used to determine the prefix for the invoice url. eg: "bl" = "https://pay.bitlaunch.io"