Skip to main content

Payment

Stored in the payments collection. createdAt and updatedAt are maintained automatically.

Returned by GET /transaction-history, GET /transaction-history/:id.

FieldTypeNotes
transactionIDstring
companyObjectId -> Companyrequired
subscriptionObjectId -> Subscription
subscriptionChangeObjectId -> SubscriptionChange
seatsPaymentHistoryObjectId -> SeatsPaymentHistory
paymentForstringdefault subscription_purchase · one of subscription_purchase, scheduled_change, seat_addon, seats_upgrade, feature_addon
statusstringdefault pending · one of pending, success, failed
updatedByObjectId -> Member
createdByObjectId -> Member
invoiceFileObjectId -> File
amountnumber
currencystring
orderidstring
paymentidstring
signaturestring
paymethodstring
_idObjectIddefault "6a95712f932657988a91c0c8"
createdAtdateset once
updatedAtdate