QRCodeRepository
public protocol QRCodeRepository
Undocumented
-
Create a new QR code for an existing payment request
Declaration
Swift
func createPaymentRequestQRCode( details: NewPaymentRequestQRCode, completion: @escaping ApiCompletion<QRCode> )
Parameters
details
The details for the new QR code.
-
Retrieve a
QRCode
that is associated to a Payment Request by its IDDeclaration
Swift
func getPaymentRequestQRCodeContentBy( qrCodeId: String, completion: @escaping ApiCompletion<QRCode> )
Parameters
qrCodeId
The ID to use.
-
Cancels a QR code making it unusable
Declaration
Swift
func cancelPaymentQRCode( qrCodeId: String, completion: @escaping ApiCompletion<Void> )
Parameters
qrCodeId
The ID of the QR code to cancel.