A presigned link to the invoice PDF (valid for 5 minutes)
Loading the operation...
What an invoice's payment is waiting for (a first charge that is held, a customer who has to confirm it) GET
Only `state` is always set. `PAYMENT_HELD`: the first charge was not sent because the payment gate said no (see `hold_reason`); `since_time` is when it began to be held and `next_check_time` when Payrudder looks again (it charges the invoice then if nothing holds it any more). `PAYMENT_ACTION_REQUIRED`: the card needs the customer to confirm the payment with their bank (3-D Secure); the customer was mailed a link to the invoice page at `since_time` (the mail log says whether it arrived), Payrudder asks the provider again at `next_check_time`, and if the customer has not confirmed by `window_ends_time` the payment counts as declined and dunning applies. Any other state answers the state alone.
List invoices (ordered by id, or searched, narrowed and sorted) GET
With `search`, `sort`, `kind`, `created_from`, `created_to` or more than one `status` the list is searched, narrowed and sorted on the server: it is ordered by `sort` (newest first when unset), pages by position and reports `total`. Without them it is in id order and pages by a keyset token.