Creates an invoice which is either a card_present
or a card_not_present
invoice.
Providing the reader_uid
property will create a card_present
invoice, but if no reader_uid
is provided a card_not_present
invoice will be created.
Card Present Invoice
A card-present-invoice is used to process an invoice through a card reader. After the invoice
is created, there is a callback to the card reader to complete the transaction. If no
accountUid
is given, the card reader's default account is used.
Card Not Present Invoice
A card-not-present-invoice is used to process an invoice asynchronously. After the invoice is
created, a payment link is sent to the customer from the merchants Podium account. The customer
can click on the link to complete the transaction. If no accountUid
is given, the most
recently created account is used.
Required scope: write_payments
.