Force payment errors in sandbox

When creating payments in the sandbox, is there a set of defined values that will give specific known errors so we can test error handling in new code? For example, if the amount is 1313 the capture will fail with an an INSUFFICIENT_FUNDS error.

Take a look at our sandbox guide - there’s test values you can use for a variety of success and error conditions: https://developer.squareup.com/docs/testing/test-values#square-api-endpoint-testing

Thanks, that’s what I was looking for.