Webhook event types
Webhooks notify you of specific events that occur within your Rafiki instance allowing you to integrate Interledger payments with your system and business processes. For example, Rafiki will notify you when one of your account holders has received an Interledger payment, at which point you would credit their account on your ledger.
The following is an enumeration of all of Rafiki’s webhook event types along with their descriptions, which you must listen to and handle.
Value | Description |
---|---|
incoming_payment.created | An incoming payment has been created. |
incoming_payment.completed | An incoming payment is complete and will not accept any additional incoming funds. |
incoming_payment.expired | An incoming payment expired and will not accept any additional incoming funds. |
outgoing_payment.created | An outgoing payment was created. |
outgoing_payment.completed | An outgoing payment completed. |
outgoing_payment.failed | An outgoing payment partially or completely failed. |
wallet_address.not_found | A requested wallet address was not found. |
wallet_address.web_monetization | Web Monetization payments received via STREAM. |
asset.liquidity_low | Asset liquidity has dropped below defined threshold. |
peer.liquidity_low | Peer liquidity has dropped below defined threshold. |