createInvoice abstract method

Future<Invoice> createInvoice(
  1. CreateInvoice invoice
)

Creates an invoice, associated to your merchant.

Throw UnauthorizedException when the secret key is invalid, otherwise it throws exception TelePayException with any other error.

Implementation

Future<Invoice> createInvoice(CreateInvoice invoice);