Payment
- allocatedType: integer
Amount requiredHow much of the payment has been allocated to invoice lines. A payment collected for an invoice (
invoiceIdset) counts as allocated to it in full. Integer minor units (cents for USD). - amountType: integerrequired
How much was paid (for a failed payment, how much was due). Integer minor units (cents for USD).
- balanceType: integerrequired
What's left to allocate:
amountlessallocatedAmountfor a posted or draft payment, and 0 for a failed one. Integer minor units (cents for USD). - createdType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- currencyType: stringrequired
Three-letter ISO 4217 code, upper case.
- customerType: string
Id requiredThe customer who paid.
- idType: stringrequired
The payment's ID.
- invoiceType: string | null
Id requiredThe 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.
- metadataType: nullablerequiredProperties: 1
Your own key-value data, as recorded; null when none.
- numberType: integerrequired
A sequential number, in the order payments were recorded.
- orderType: string | null
Id requiredThe order of the invoice in
invoiceId, if any. - paymentType: stringFormat: date-time
Date requiredWhen the payment was made; when none was given, when it was recorded.
- paymentType: stringenum
Type requiredHow 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.valuescreditCardbankTransferachcashcheckmanual - statusType: enumrequired
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.valuesposteddraftfailed - updatedType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z