public final class PaymentService : PaymentServiceProtocol
The payment service. Interacts with the
Gini Health API to support Gini Pay Connect functionality.
Creates a payment request.
public 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
public var apiDomain: APIDomain