#Bart
1 messages · Page 1 of 1 (latest)
What do you mean that it doesn't work? Do you try with unsupported bank or do you have a request ID (req_xxx) to share that you expected it to work? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Im talking about the error reporting not the API
API works fine, but issue is that
case stripe.ErrorCodeInstantPayoutsUnsupported:
fmt.Println("instant is unsupported by your card type")
}```
does not work, the error is SUPPOSED to return that the account dosent support instant payouts
How do you test ErrorCodeInstantPayoutsUnsupported to be thrown?
im using a test account that should return unsupported bank
for instant withdrawal
👋 taking over here. So when it runs you don't see the switch case catched it?