How to create a dispute in shopify dev store to test out the disputes graphql API?

I want to test out the following query, but I don’t have any disputes on my dev store. How do I create a dispute in dev store

query {
shopifyPaymentsAccount {
disputes {
edges {
node {
id
}
}
}
}
}

Hi Nuula,

Thanks for your post. To create a test dispute in a dev store ensure the Shopify Payments payment gateway is enabled and in test mode, and then when creating a test order use credit card number 4000000000000259 to simulate a disputed transaction.

More information on how to set this up and the various test card numbers is available in the [“Testing orders in development stores”] documentation.

Hope you have a great day,