get_payments

Gets list of incoming transfers by a given payment ID.

Outputs:
result — list of payments object.

payments object fields:

  • amount — unsigned int; amount of coins in atomic units.
  • block_height — unsigned int; height of the block containing corresponding transaction.
  • tx_hash — string; transaction’s hash.
  • unlock_time — unsigned int; if nonzero — unix timestamp since then this transfer’s coins can be spent. If it is less than 500000000, the value is treated as a minimum block height at which this transfer’s coin can be spent.
Language