#slim-shaggy_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1409560851429462016
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is the full text of the error:
Please note that the type of payment method "promptpay" is incorrect. Please make sure that the specified type is activated in your personal account (https://dashboard.stripe.com/account/payments/settings ) and all the preview features you're trying to use are enabled in your account. {"User ID":2,"exception":"[object] (Stripe\Exception\InvalidRequestException(code: 0): The type of payment method "promptpay" is invalid. Please make sure that the specified type is activated in your personal account (https://dashboard.stripe.com/account/payments/settings ), and all the preview features you're trying to use are enabled in your account.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hello, looking in to this. Can you send the request ID (req_123) from one of the times that you got this error?
Where can I find it?
You can either get them through your dashboard's log page or you can print it after making a request in the API
This cannot be due to the fact that the main account is not registered in Thailand?
That could definitely be it, according to our docs we only support it on Thai accounts. Can you try adding on_behalf_of: 'acct_1234' to your API call where the account ID is replaced with the ID of your connected account? That will change the merchant of record and business location to the connected account's, so if promptpay works with that OBO parameter, that means that the account location is the reason behind the error
https://docs.stripe.com/api/payment_intents/create?api-version=2025-07-30.preview#create_payment_intent-on_behalf_of
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Got it, I'll try it now.
That's right, the request passed
req_Cv7NT2cRd18Rxj
And the connected accounts must also be Thai?
Thank you for testing, glad that narrowed it down. And yes, promptpay is only available for TH Stripe accounts
On that note, OBO has some implciations beyond just what payment methods are available. I'd reccommend reading this doc section https://docs.stripe.com/connect/destination-charges?platform=android#settlement-merchant
So you need users to create new accounts in Thailand?
OK, I'll get acquainted, thanks for the information!
And what does OBO stand for?
Doing that would require them to live in Thailand, or to own a legal entity in Thailand. So I think it is moreso that Thai merchants can have that available, but registering a thai account would be done just to be able to offer promptpay
OBO = on_behalf_of , the parameter that we tested to see if that helped with the error
ok, thanks
Is there a possibility of moving the connected account from one region to another?
The account owner can reach out to Stripe support if they are looking to do that I believe