#Ahmed123

1 messages ยท Page 1 of 1 (latest)

covert totemBOT
brittle lotus
#

Hello there

#

We can help answer your questions about our API here

#

But we can't help you with the project itself per-say in terms of actually writing your code or anything like that

agile minnow
#

I understand, not even if its a paid project? I need som help with implementing a crucial feature to comply with Norwegian accounting laws

brittle lotus
#

Yeah we can't be hired to work on projects here. I recommend taking a look at our Partner directory (https://stripe.com/partners/directory) which will have lots of options for developers that are familiar with our API that you could work with

agile minnow
#

I see, could I ask you about if the solution im looking for is actually possible to create?

brittle lotus
#

Yep

agile minnow
#

Okay, so I have these connected express accounts which I use to receive payments through on a platform called Gloriafood

#

For me as a middleman, its as simple as creating a connected express account, and use my API-keys to have Destination Charges.

#

So for my sake i just type the API-key, account-id for the express accounts and the percentage i want to collect from the restaurant

#

Just to not making it confusing, you with me so far?

brittle lotus
#

Yep

#

You want to take payments as a platform for your Express Accounts and take a percentage and you are using destination charges

#

All sounds good

agile minnow
#

Exactly

charred bear
agile minnow
#

So the problem is that to comply with accounting laws, i need a receipt for each transaction to a business account, meaning i need to create a receipt for the payouts with details about each payment that is included in the the payout, its value before and after fees, alongside date etc.

#

But i want this process to be automated so it automatically generates a pdf based on the information, and sends this to the connected express accounts

#

As far is i have understood, this is possible to achieve using the API, but i dont really know how API coding works. But i would assume i could use the stripe api to check for payouts, get the relevant info, and thereafter use another api to generate pdf-documents which automatically gets sent in emails

brittle lotus
#

Yep that's definitely possible via the API, and a lot of it is possible with our out-of-the-box Reports

#

But you likely want to be creating a custom report using the API to pull the exact information you need.

#

But yeah, either way, to automate this you will want to work with a dev

agile minnow
#

You mentioned that its possible the the out-of-the-box reports, which i agree on, not a single person from the regular customers service has been able to tell me how to automate reports

#

I dont mind having a out-of-the-box report with more information than i need, as long as its got what i need. The extra information does not hurt at all

brittle lotus
#

However, to automate the receiving of these reports you would still need to use the API

agile minnow
#

I see

#

I know i may sound dumb now, but what really is an API? I know c++ and python coding, and i think i understand what APIs are, but not 100%

#

As far as i have understood, and API is a way for lets say my website, to contact "stripe" to get the info i need to further perform my codes functions?

brittle lotus
#

Yep exactly

#

An API is basically like a server at a restaurant

#

It allows you to pass it information and then it responds based on the information you pass it

agile minnow
#

The thing is i use squarespace as my website platform. Would i have to perhaps code my way to the API using my website to push and pull info?

brittle lotus
#

It mostly depends on what you are building

#

At this point I would really recommend hiring a developer to help you with this!

agile minnow
#

Yeh i will hire one, i just like to know how my systems works

#

Because the thing i dont understand with creating an API with this is how would it know when to do stuff? Do I literally just create an infinite loop which looks for info about lets say payouts? That is like the complete opposite that ive learnt that you should do, that a code should not run unless you run it yourself

#

Would i like to have a seprate page on the website which is dedicated to this API stuff?

brittle lotus
#

For something like generating a Report you would likely want to use something like a cron-job that schedules it to run once per day

brittle lotus
agile minnow
#

Cron-job! That seems like exactly what i need!

#

Im sorry if im taking your time, but you are the first one to give me proper help with this problem since i have been looking for a soltuion

#

solution*

brittle lotus
#

Np, we are here to help.

#

We just can only help with developer questions about our API ๐Ÿ™‚

#

We can't help with Support questions

agile minnow
#

To make my project a bit simpler, i can create a script on cron-job that automatically runs on a specified interval, which can retrieve information from the stripe api, which i thereafter could use another api to create my pdf-documents and have these be automatically sent to my partner-restaurants

brittle lotus
#

Yep

#

That's likely what you want

agile minnow
#

Golden! Hats of to you mate! You really know how to explain shit to dumb people lol

brittle lotus
#

lol not at all... this stuff is complicated! Lot of moving pieces

#

Good luck with the project and let us know if you have any clarifying questions we can help with!

agile minnow