rbpcp-api-0.1.0.0: RESTful Bitcoin Payment Channel Protocol Servant API description

Safe HaskellNone
LanguageHaskell2010

RBPCP.Callback.Api

Synopsis

Documentation

type PaymentCallback = "value_received" :> (ReqBody '[JSON] CallbackInfo :> Post '[JSON] CallbackResponse) Source #

A server implementing this API can be contacted by this server, and receive information about all incoming payments. The response delivered to this request can contain arbitrary application data, which will be included in the PaymentResult response delivered to the paying client.