transactions

Retrieve a Transaction

Changed on

GET Transactions

/transactions endpoint allows you to operate on the Transaction entity.

Calling GET /transactions/{transactionId} will return the entire transaction payload and rule execution results for the transaction with the corresponding transactionId

get/transactions/{transactionId}

Request

  • Base URL
    https://sandbox.api.flagright.com
  • URL
    https://sandbox.api.flagright.com/transactions/{transactionId}
  • Auth
    API key in header x-api-key

Path parameters

transactionIdstring required

Unique Transaction Identifier

Response

OK

typestring required

Type of transaction (ex: DEPOSIT, WITHDRAWAL, TRANSFER, EXTERNAL_PAYMENT, REFUND, OTHER)

transactionIdstring required

Unique transaction identifier

timestampnumber double required

Timestamp of when transaction took place

originUserIdstring

UserId for where the transaction originates from

destinationUserIdstring

UserId for transaction's destination. In other words, where the value is being transferred to.

transactionState'CREATED' | 'PROCESSING' | 'SENT' | 'EXPIRED' | 'DECLINED' | 'SUSPENDED' | 'REFUNDED' | 'SUCCESSFUL' | 'REVERSED'

Model for transaction states. E.g. Processing, Refunded, Successful etc.

relatedTransactionIdsstring[]

IDs of transactions related to this transaction. Ex: refund, split bills

productTypestring

Type of produce being used by the consumer (ex wallets, payments etc)

promotionCodeUsedboolean

Whether a promotion code was used or not the transaction

referencestring

Reference field for the transaction indicating the purpose of the transaction etc.

jurisdictionstring

Legal authority or region governing the transaction

externalLinksstring[]

External links related to the transaction

customObjectTransactionWithRulesResultCustomObject

Typed Object defined on the console for additional data

status'ALLOW' | 'FLAG' | 'BLOCK' | 'SUSPEND' required

Model for rule action if a rule is hit. This is returned in the API response and can be configured on Console by operational accounts like a Compliance Analyst

Changes

    • warning

      added the new ANUBIS enum value to the // response property for the response status

    • warning

      added the new ANUBIS enum value to the // response property for the response status

    • warning

      added the new APTOS enum value to the // response property for the response status

    • warning

      added the new APTOS enum value to the // response property for the response status

    • warning

      added the new ARC enum value to the // response property for the response status

    • warning

      added the new ARC enum value to the // response property for the response status

    • warning

      added the new ARWEAVE enum value to the // response property for the response status

    • warning

      added the new ARWEAVE enum value to the // response property for the response status

    • warning

      added the new BERACHAIN enum value to the // response property for the response status

    • warning

      added the new BERACHAIN enum value to the // response property for the response status

    • warning

      added the new BIFROST_NETWORK enum value to the // response property for the response status

    • warning

      added the new BIFROST_NETWORK enum value to the // response property for the response status

    • warning

      added the new BITTENSOR enum value to the // response property for the response status

    • warning

      added the new BITTENSOR enum value to the // response property for the response status

    • warning

      added the new BLAST enum value to the // response property for the response status

    • warning

      added the new BLAST enum value to the // response property for the response status

    • warning

      added the new BOT_CHAIN enum value to the // response property for the response status

    • warning

      added the new BOT_CHAIN enum value to the // response property for the response status

    • warning

      added the new CANTON_NETWORK enum value to the // response property for the response status

    • warning

      added the new CANTON_NETWORK enum value to the // response property for the response status

    • warning

      added the new CELO enum value to the // response property for the response status

    • warning

      added the new CELO enum value to the // response property for the response status

    • warning

      added the new CHAINFLIP enum value to the // response property for the response status

    • warning

      added the new CHAINFLIP enum value to the // response property for the response status

    • warning

      added the new CRONOS enum value to the // response property for the response status

    • warning

      added the new CRONOS enum value to the // response property for the response status

    • warning

      added the new DYDX enum value to the // response property for the response status

    • warning

      added the new DYDX enum value to the // response property for the response status

    • warning

      added the new ETHEREUM_CLASSIC enum value to the // response property for the response status

    • warning

      added the new ETHEREUM_CLASSIC enum value to the // response property for the response status

    • warning

      added the new ETHERLINK enum value to the // response property for the response status

    • warning

      added the new ETHERLINK enum value to the // response property for the response status

    • warning

      added the new FILECOIN enum value to the // response property for the response status

    • warning

      added the new FILECOIN enum value to the // response property for the response status

    • warning

      added the new FLARE enum value to the // response property for the response status

    • warning

      added the new FLARE enum value to the // response property for the response status

    • warning

      added the new FLOW enum value to the // response property for the response status

    • warning

      added the new FLOW enum value to the // response property for the response status

    • warning

      added the new FRAXTAL enum value to the // response property for the response status

    • warning

      added the new FRAXTAL enum value to the // response property for the response status

    • warning

      added the new GNOSIS_CHAIN enum value to the // response property for the response status

    • warning

      added the new GNOSIS_CHAIN enum value to the // response property for the response status

    • warning

      added the new HYDRATION enum value to the // response property for the response status

    • warning

      added the new HYDRATION enum value to the // response property for the response status

    • warning

      added the new IMMUTABLE_X enum value to the // response property for the response status

    • warning

      added the new IMMUTABLE_X enum value to the // response property for the response status

    • warning

      added the new INJECTIVE enum value to the // response property for the response status

    • warning

      added the new INJECTIVE enum value to the // response property for the response status

    • warning

      added the new INK enum value to the // response property for the response status

    • warning

      added the new INK enum value to the // response property for the response status

    • warning

      added the new INTERNET_COMPUTER enum value to the // response property for the response status

    • warning

      added the new INTERNET_COMPUTER enum value to the // response property for the response status

    • warning

      added the new IOTA enum value to the // response property for the response status

    • warning

      added the new IOTA enum value to the // response property for the response status

    • warning

      added the new KAIA enum value to the // response property for the response status

    • warning

      added the new KAIA enum value to the // response property for the response status

    • warning

      added the new KATANA enum value to the // response property for the response status

    • warning

      added the new KATANA enum value to the // response property for the response status

    • warning

      added the new KAVA enum value to the // response property for the response status

    • warning

      added the new KAVA enum value to the // response property for the response status

    • warning

      added the new LINEA enum value to the // response property for the response status

    • warning

      added the new LINEA enum value to the // response property for the response status

    • warning

      added the new MANTLE enum value to the // response property for the response status

    • warning

      added the new MANTLE enum value to the // response property for the response status

    • warning

      added the new MEGAETH enum value to the // response property for the response status

    • warning

      added the new MEGAETH enum value to the // response property for the response status

    • warning

      added the new MEZO enum value to the // response property for the response status

    • warning

      added the new MEZO enum value to the // response property for the response status

    • warning

      added the new MIXIN enum value to the // response property for the response status

    • warning

      added the new MIXIN enum value to the // response property for the response status

    • warning

      added the new MONAD enum value to the // response property for the response status

    • warning

      added the new MONAD enum value to the // response property for the response status

    • warning

      added the new MORPH enum value to the // response property for the response status

    • warning

      added the new MORPH enum value to the // response property for the response status

    • warning

      added the new MULTIVERSX enum value to the // response property for the response status

    • warning

      added the new MULTIVERSX enum value to the // response property for the response status

    • warning

      added the new OSMOSIS enum value to the // response property for the response status

    • warning

      added the new OSMOSIS enum value to the // response property for the response status

    • warning

      added the new PHAROS enum value to the // response property for the response status

    • warning

      added the new PHAROS enum value to the // response property for the response status

    • warning

      added the new PLASMA enum value to the // response property for the response status

    • warning

      added the new PLASMA enum value to the // response property for the response status

    • warning

      added the new PROVENANCE enum value to the // response property for the response status

    • warning

      added the new PROVENANCE enum value to the // response property for the response status

    • warning

      added the new PULSECHAIN enum value to the // response property for the response status

    • warning

      added the new PULSECHAIN enum value to the // response property for the response status

    • warning

      added the new RISE enum value to the // response property for the response status

    • warning

      added the new RISE enum value to the // response property for the response status

    • warning

      added the new ROBINHOOD_CHAIN enum value to the // response property for the response status

    • warning

      added the new ROBINHOOD_CHAIN enum value to the // response property for the response status

    • warning

      added the new ROLLUX enum value to the // response property for the response status

    • warning

      added the new ROLLUX enum value to the // response property for the response status

    • warning

      added the new ROOTSTOCK enum value to the // response property for the response status

    • warning

      added the new ROOTSTOCK enum value to the // response property for the response status

    • warning

      added the new SCROLL enum value to the // response property for the response status

    • warning

      added the new SCROLL enum value to the // response property for the response status

    • warning

      added the new SEI enum value to the // response property for the response status

    • warning

      added the new SEI enum value to the // response property for the response status

    • warning

      added the new STABLE enum value to the // response property for the response status

    • warning

      added the new STABLE enum value to the // response property for the response status

    • warning

      added the new STACKS enum value to the // response property for the response status

    • warning

      added the new STACKS enum value to the // response property for the response status

    • warning

      added the new STARKNET enum value to the // response property for the response status

    • warning

      added the new STARKNET enum value to the // response property for the response status

    • warning

      added the new STORY enum value to the // response property for the response status

    • warning

      added the new STORY enum value to the // response property for the response status

    • warning

      added the new STRATO_CHAIN enum value to the // response property for the response status

    • warning

      added the new STRATO_CHAIN enum value to the // response property for the response status

    • warning

      added the new TAIKO enum value to the // response property for the response status

    • warning

      added the new TAIKO enum value to the // response property for the response status

    • warning

      added the new THORCHAIN enum value to the // response property for the response status

    • warning

      added the new THORCHAIN enum value to the // response property for the response status

    • warning

      added the new TON enum value to the // response property for the response status

    • warning

      added the new TON enum value to the // response property for the response status

    • warning

      added the new UNICHAIN enum value to the // response property for the response status

    • warning

      added the new UNICHAIN enum value to the // response property for the response status

    • warning

      added the new WORLD_CHAIN enum value to the // response property for the response status

    • warning

      added the new WORLD_CHAIN enum value to the // response property for the response status

    • warning

      added the new XDC_NETWORK enum value to the // response property for the response status

    • warning

      added the new XDC_NETWORK enum value to the // response property for the response status

    • warning

      added the new XPR_NETWORK enum value to the // response property for the response status

    • warning

      added the new XPR_NETWORK enum value to the // response property for the response status

    • warning

      added the new X_LAYER enum value to the // response property for the response status

    • warning

      added the new X_LAYER enum value to the // response property for the response status

    • warning

      added the new ZKSYNC_ERA enum value to the // response property for the response status

    • warning

      added the new ZKSYNC_ERA enum value to the // response property for the response status