createInvoice

Creates a new invoice.

Return

A pair containing the created Invoice on success, or a NetworkingError on failure.

Parameters

request

The parameters for the invoice to create.


Creates a new invoice and delivers the result via a callback.

Parameters

request

The parameters for the invoice to create.

completionHandler

Invoked on completion with the created Invoice on success, or a NetworkingError on failure.