Payment

  • How much of the payment has been allocated to invoice lines. A payment collected for an invoice (invoiceId set) counts as allocated to it in full. Integer minor units (cents for USD).

  • How much was paid (for a failed payment, how much was due). Integer minor units (cents for USD).

  • What's left to allocate: amount less allocatedAmount for a posted or draft payment, and 0 for a failed one. Integer minor units (cents for USD).

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Three-letter ISO 4217 code, upper case.

  • The customer who paid.

  • The payment's ID.

  • The invoice this payment was collected for: set on payments Stripe collected (or failed to collect) for an invoice and on invoices marked paid in the dashboard. Null on payments you record, which reach invoices through allocations.

  • Your own key-value data, as recorded; null when none.

    Properties: 1
  • A sequential number, in the order payments were recorded.

  • The order of the invoice in invoiceId, if any.

  • When the payment was made; when none was given, when it was recorded.

  • How it was paid. creditCard: a card (or Stripe Link). bankTransfer: a bank transfer or bank debit (including Bacs and SEPA Direct Debit). ach: a US ACH payment. cash. check: a cheque. manual: the invoice was marked paid in the dashboard without recording how.

    values
    creditCardbankTransferachcashcheckmanual
  • posted: received and confirmed; it can be allocated to invoice lines. draft: recorded but not confirmed, and can't be allocated. failed: an attempt to collect that failed (Stripe couldn't charge the card); nothing was received.

    values
    posteddraftfailed
  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z