#Watiniox

1 messages · Page 1 of 1 (latest)

silver rainBOT
latent bobcat
#

Hello, can you tell me more about the situation? Are you an account that is connected to many platforms? Or are you an account that creates Platform Accounts below you?

charred cape
#

I have a marketplace creator, the owner connects his platform keys, and the sellers connect their accounts to the platform to sell

latent bobcat
#

Gotcha. So you have the keys to each of these platform accounts?

charred cape
#

Yes exactlyt

latent bobcat
#

In that case you can make a GET Account call without supplying any ID. That will return an Account object that represents the account that owns the keys

#

And that object will have a country property with the country that the account is in

charred cape
#

Oh! Great!! let me check

#
    "error": {
        "message": "Unrecognized request URL (GET: /v1/accounts/). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
        "type": "invalid_request_error"
    }
}```
latent bobcat
#

Interesting. Let me check how to do this for your own account and I will get back to you. I know I can do it with the client libraries, not sure how to with curl

#

Oh use /v1/account instead of /v1/accounts

charred cape
#

let me see

#

Perfect!

#

Okay, then it's solved, thank you very much for the speed!

latent bobcat
#

Awesome glad to hear!