This interface shall be implemented by scrapers that support payment initiation.
public interface IScraperSessionPayments
The methods in this interface may only be invoked after a successful Login(JsonObject).
A scraper that implements this interface shall advertise it through the ImplementsPayments flag.
Cancel a previously initiated payment.
Authorize a previously initiated payment.
ScraperResult ContinuePayment(JsonObject jsAuthCredentials)
Optional authentication credentials for the given payment. If given, then these contain at least the authentication code. It may contain:
ScraperResult InitiatePayment(SepaDocument aPainDoc)
A complete and valid ISO 20022 pain document containing
the payment details. Must not be
If payment was initiated successfully, then a ScraperResult with
Success will be returned. If the service needs an
additional authentication code, then
ChallengeResponseNeeded is returned. If so, the
client shall obtain the authentication code from the given challenge and call
ContinuePayment(JsonObject), including the authentication code in the