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