public protocol PaymentServiceProtocol : AnyObject
Creates a payment request.
func createPaymentRequest(sourceDocumentLocation: String?, paymentProvider: String, recipient: String, iban: String, bic: String?, amount: String, purpose: String, completion: @escaping CompletionResult<String>)
The URI of the source document whenever the payment details were extracted by the Gini system beforehand (optional)
The id of the target payment provider - see payment providers
The recipient of the payment
The iban (international bank account number) of the payment recipient
The bic (bank identifier code) for the payment
The amount of the paymentt
The purpose of the payment, eg. the invoice or the customer identifier
A completion callback, returning the payment request on success
Returns a list of payment requests.
The maximum number of payment requests to return (default 20), (optional)
A starting offset (default 0), (optional)
A completion callback, returning the request list on success