Interface: BillingPaymentRecord
Defined in: javascript/src/billing/types/documents.ts:36
Persisted payment state used by billing lifecycle handlers.
Properties
amountMinor
amountMinor:
number
Defined in: javascript/src/billing/types/documents.ts:42
currency
currency:
string
Defined in: javascript/src/billing/types/documents.ts:44
id
id:
string
Defined in: javascript/src/billing/types/documents.ts:37
metadata
metadata:
JsonObject
Defined in: javascript/src/billing/types/documents.ts:48
provider
provider:
string
Defined in: javascript/src/billing/types/documents.ts:38
providerInvoiceId
providerInvoiceId:
string|null
Defined in: javascript/src/billing/types/documents.ts:40
providerPaymentId
providerPaymentId:
string
Defined in: javascript/src/billing/types/documents.ts:39
providerUpdatedAt
providerUpdatedAt:
string
Defined in: javascript/src/billing/types/documents.ts:47
purpose
purpose:
"subscription"|"credit_topup"
Defined in: javascript/src/billing/types/documents.ts:45
status
status:
"pending"|"succeeded"|"failed"|"canceled"
Defined in: javascript/src/billing/types/documents.ts:46
taxMinor
taxMinor:
number
Defined in: javascript/src/billing/types/documents.ts:43
userId
userId:
string
Defined in: javascript/src/billing/types/documents.ts:41