HTTP Method | Resource | Description |
GET | ​ ​ | Payment history |
POST | ​ ​ | Initiate a payment |
[{"event": "EventPaymentSentSuccess","amount": "20","target": "0x82641569b2062B545431cF6D7F0A418582865ba7","identifier": "3","log_time": "2018-10-30T07:10:13.122","token_address": "0x62083c80353Df771426D209eF578619EE68D5C7A"},{"target": "0x82641569b2062B545431cF6D7F0A418582865ba7","event": "EventPaymentSentFailed","log_time": "2018-10-30T07:04:22.293","reason": "there is no route available","token_address": "0x62083c80353Df771426D209eF578619EE68D5C7A"},{"event": "EventPaymentReceivedSuccess","amount": "5","initiator": "0x82641569b2062B545431cF6D7F0A418582865ba7","identifier": "1","log_time": "2018-10-30T07:03:52.193","token_address": "0x62083c80353Df771426D209eF578619EE68D5C7A"}]
The token address is not a valid EIP55-encoded Ethereum addressThe target address is not a valid EIP55-encoded Ethereum address
An invalid token address has been provided
Internal Raiden node error
{"initiator_address": "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8","target_address": "0x61C808D82A3Ac53231750daDc13c777b59310bD9","token_address": "0x2a65Aca4D5fC5B5C859090a6c34d164135398226","amount": "200","identifier": "42"}
The provided JSON is in some way incorrect
The payment can't start due to insufficient balande
The token address is not a valid EIP55-encoded Ethereum addressThe target address is not a valid EIP55-encoded Ethereum address
A timeout happened during the payment
An invalid token and/or target address has been providedAn invalid token amount has been providedThere is no path to the receiving nodeThe identifier is already in use for a different payment
Internal Raiden node error
{"amount": "200","identifier" "42"}
Failing Payments
A payment can fail due to:
The secret for opening the hashlock not being revealed in time and the lock expires
The target node being offline
The channels leading to the target node not having enough settle timeout
and reveal_timeout
The funds not being enough