Skip to content

Commit f45e197

Browse files
Add fields to payment created event (#492)
1 parent edb798c commit f45e197

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/events.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ export type PaymentCreated = BaseEvent & {
343343
type: "payment.created"
344344
attributes: {
345345
status: string
346+
amount: number
347+
direction: Direction
346348
}
347349
relationships: PaymentRelationships
348350
}

0 commit comments

Comments
 (0)