Last active
January 6, 2019 03:40
-
-
Save A412/23cd531395f55c2dee979711c31b8a60 to your computer and use it in GitHub Desktop.
Revisions
-
A412 revised this gist
Aug 17, 2016 . 1 changed file with 27 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,11 @@ stripe {state: , message: , stripeid: } id token {state: , message: , stripeid: } PUT/PATCH id cc @@ -32,6 +37,11 @@ stripe cvc {state: , message: , stripeid: } id token {state: , message: , stripeid: } DELETE @@ -43,19 +53,29 @@ stripe account_number routing_number {state: , message: , stripeid: } id token {state: , message: , stripeid: } PUT/PATCH id account_number routing_number {state: , message: , stripeid: } id token {state: , message: , stripeid: } DELETE id {state: , message: } charge POST @@ -65,4 +85,8 @@ stripe fee {state: , message: , chargeid: } token GET id
-
A412 revised this gist
Jul 18, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,8 +4,8 @@ first two indentations are paths CAPITALS are request methods last identation is queries return is in {} state is 1 for success 0 for anything else message is "success" or failure message stripeid/chargeid is stripe internal id for object, already written to firebase so no need to site will use HTTPS/SSL in future but currently does not so stick to test ccs / bank accounts available from https://stripe.com/docs/testing -
A412 revised this gist
Jul 18, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,8 @@ return is in {} state is 1 for failure 0 for anything else message is failure message stripeid/chargeid is stripe internal id for object, already written to firebase so no need to site will use HTTPS/SSL in future but currently does not so stick to test ccs / bank accounts available from https://stripe.com/docs/testing example request curl -X POST www.geeni.org/stripe/customer?id=5ytnsd58DmdNV6OCfg4voI6WhkA2&cc=4242424242424242&expm=07&expy=19&cvc=788 -
A412 revised this gist
Jul 18, 2016 . 1 changed file with 29 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,49 +1,66 @@ base url is www.geeni.org first two indentations are paths CAPITALS are request methods last identation is queries return is in {} state is 1 for failure 0 for anything else message is failure message stripeid/chargeid is stripe internal id for object, already written to firebase so no need to example request curl -X POST www.geeni.org/stripe/customer?id=5ytnsd58DmdNV6OCfg4voI6WhkA2&cc=4242424242424242&expm=07&expy=19&cvc=788 stripe customer POST id cc expm expy cvc {state: , message: , stripeid: } PUT/PATCH id cc expm expy cvc {state: , message: , stripeid: } DELETE {state: , message: } tutor POST id account_number routing_number {state: , stripeid: } PUT/PATCH id account_number routing_number {state: , stripeid: } DELETE id {state: } charge POST from_id to_id amount fee {state: , message: , chargeid: }
-
A412 created this gist
Jul 17, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ stripe customer post id cc expm expy cvc {state: , stripeid: } put cc expm expy cvc {state: , stripeid: } delete {state: } account post id account_number routing_number {state: , stripeid: } put account_number routing_number {state: , stripeid: } delete {state: } charge post from_id to_id amount {state: , stripeid: }