Lightspark
Lightspark

Outgoing Payment Attempt

This object represents an attempted Lightning Network payment sent from a Lightspark Node. You can retrieve this object to receive payment related information about any payment attempt sent from your Lightspark Node on the Lightning Network, including any potential reasons the payment may have failed.Fields (13)
id
The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.
created_at
The date and time when the entity was first created.
updated_at
The date and time when the entity was last updated.
The status of an outgoing payment attempt.
failure_code
If the payment attempt failed, then this contains the Bolt #4 failure code.
failure_source_index
Int (optional)
If the payment attempt failed, then this contains the index of the hop at which the problem occurred.
attempted_at
The date and time when the attempt was initiated.
resolved_at
DateTime (optional)
The time the outgoing payment attempt failed or succeeded.
amount
CurrencyAmount (optional)
The total amount of funds required to complete a payment over this route. This value includes the cumulative fees for each hop. As a result, the attempt extended to the first-hop in the route will need to have at least this much value, otherwise the route will fail at an intermediate node due to an insufficient amount.
fees
CurrencyAmount (optional)
The sum of the fees paid at each hop within the route of this attempt. In the case of a one-hop payment, this value will be zero as we don't need to pay a fee to ourselves.
A list of hops that represent the route from the sender node to the recipient node.
outgoing_payment
The outgoing payment for this attempt.
channel_snapshot
ChannelSnapshot (optional)
The channel snapshot at the time the outgoing payment attempt was made.
DEPRECATED: Not supported.
Interfaces (1)
  • Entity