Space Docs
Domain Model

Quote Payment

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
quoteIdstringYes—ID of the associated quote
milestoneIdunknownYes—ID of the associated milestone
amountnumberYes—Amount
surchargeAmountnumberYes—Surcharge amount
totalAmountnumberYes—Total amount
paymentMethodenum(credit_card, ach, wire, check)Yes—Payment method
statusenum(pending, processing, succeeded, failed, refunded)Yes—Status
stripePaymentIntentIdstring,nullYes—ID of the associated stripe payment intent
stripePaymentMethodTypestring,nullYes—Stripe payment method type
paidAtunknownYes—Paid at
failedAtunknownYes—Failed at
failureReasonstring,nullYes—Failure reason
notesstring,nullYes—Notes
recordedByUserIdunknownYes—ID of the associated recorded by user
workspaceIdstringYes—ID of the associated workspace

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
quoteIdstringYes—ID of the associated quote
milestoneIdstring.uuidNo—ID of the associated milestone
amountnumberYes—Amount
surchargeAmountnumberYes0Surcharge amount
totalAmountnumberYes—Total amount
paymentMethodenum(credit_card, ach, wire, check)Yes—Payment method
stripePaymentIntentIdstringNo—ID of the associated stripe payment intent
stripePaymentMethodTypestringNo—Stripe payment method type
workspaceIdstringYes—ID of the associated workspace

On this page