Skip to content

Type

Payment

Back to Index

Definition

let Payment: {
authorizations: [{
amount: number
authorizationNumber: text
authorizationState: 'pending'|'successful'|'failed'
createdAt: instant
paymentAuthorizationId: uuid
}]
captures: [{
capturedAmount: number
createdAt: instant
invoiceId: uuid
orderId: uuid
paymentCaptureId: uuid
state: 'pending'|'completed'
}]
createdAt: instant
currencyCode: text
dynamic: {text->value}
journalEntries: [{
amount: number
captureId: uuid|nothing
invoiceId: uuid|nothing
orderId: uuid|nothing
paymentJournalEntryId: uuid
paymentJournalEntryType: 'charge'|'capture'
timestamp: instant
}]
paymentId: uuid
paymentNumber: text
providerKey: text|nothing
tags: [text]
}

Availability

Discount Rule Reactor
Back to Index