News for hackers. Stuff that matters.
Re:Launch HN: Cashfree (YC S17) – Automated Payouts and Bank... by tatsean on Monday October 23, 2017 @01:20AM (#15530890)
I just checked the API documentation. It seems that all the requests are through HTTP POST, including Get Status and Get Link, wonder how can that be considered as RESTful?
Re:Launch HN: Cashfree (YC S17) – Automated Payouts and Bank... by tehlike on Monday October 23, 2017 @02:33AM (#15531124)
Not "pure restful", but if it gets the job done, what's the problem?

Alternatively, if they need a body for their "GET" requests, that might be why it's a POST?

Re:Launch HN: Cashfree (YC S17) – Automated Payouts and Bank... by thepoet on Monday October 23, 2017 @05:06AM (#15531776)
Nope, not RESTful but still looks usable and they would surely iterate and improve. Violates third, fourth and last of Roy Fieldings constraints [1], last one being really helpful while using APIs [2]

[1] http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

[2] https://en.wikipedia.org/wiki/HATEOAS

Cashfree looks promising and something really needed in India especially the bank transfer API. Good luck to the team.

Re:Launch HN: Cashfree (YC S17) – Automated Payouts and Bank... by akashindya on Monday October 23, 2017 @01:47AM (#15530989)
Hi, Thanks for looking around. You might have seen the documentation of Cashfree Payment Gateway and yes, it's not restful.

Documentation of Bank transfer products (Payout and NEFT re-conciliation) is not public yet. We send it to our merchants during their on-boarding. We understand that it makes evaluation by new/prospective customers at bit harder and thus, are in-process of revamping our doc site to include documentation of all the products we support.

Do drop us a note at [email protected]. We will share it with you.