New Payment Subscription

The subscription below subscribes to new payments. This is useful if you're handling payments separately from the checkout mutation.

subscription {
payments(where: {
mutation_in: [CREATED]
}) {
node {
id
status
reference
currency
createdAt
order {
id
}
}
}
}