Makes a request to begin receiving events.
BPS_API int paymentservice_request_events(int flags)
- The types of events to deliver. A value of zero indicates that all events are requested. The meaning of non-zero values is reserved for future use.
The paymentservice_request_events() function starts to deliver Payment Service events to your application using BPS. Events will be posted to the currently active channel.
BPS_SUCCESS upon success, BPS_FAILURE with the errno value set otherwise.