You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blueprint/api.apib
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2744,13 +2744,13 @@ This endpoint allows you to check whether a username is valid (by running a vali
2744
2744
2745
2745
Code Corps responds to [Stripe webhooks](https://stripe.com/docs/webhooks).
2746
2746
2747
-
Since Code Corps is a platform, we have two separate webhook endpoints for dealing with both Stripe Connect (the managed accounts) and the platform (shared data across customers).
2747
+
Since Code Corps is a platform, we have two separate webhook endpoints for dealing with both Stripe Connect (the custom accounts) and the platform (shared data across customers).
Handles Stripe Connect events for managed accounts for projects on the Code Corps platform.
2751
+
Handles Stripe Connect events for custom accounts for projects on the Code Corps platform.
2752
2752
2753
-
This endpoint provides information about the actual payments and subscriptions that occur on the managed accounts.
2753
+
This endpoint provides information about the actual payments and subscriptions that occur on the custom accounts.
2754
2754
2755
2755
### Stripe Connect Webhook [POST]
2756
2756
@@ -2772,7 +2772,7 @@ This endpoint provides information about the actual payments and subscriptions t
2772
2772
2773
2773
Handles Stripe events for the Code Corps platform itself.
2774
2774
2775
-
The platform stores Stripe customers and cards so they can be reused across different projects, and fan out updates to all the managed Stripe accounts.
2775
+
The platform stores Stripe customers and cards so they can be reused across different projects, and fan out updates to all the managed custom Stripe accounts.
2776
2776
2777
2777
### Stripe Platform Webhook [POST]
2778
2778
@@ -3169,7 +3169,7 @@ The platform stores Stripe customers and cards so they can be reused across diff
3169
3169
3170
3170
##Project Attributes (object)
3171
3171
+ approved: `true` (boolean) - Has the project been approved by Code Corps?
3172
-
+ `can-activate-donations`: `true` (boolean) - Can the project turn on donations? True only if the project has at least one Donation Goal and the Organization has a Stripe Connect Account where `charges-enabled` is `true` and `transfers-enabled` is `true`.
3172
+
+ `can-activate-donations`: `true` (boolean) - Can the project turn on donations? True only if the project has at least one Donation Goal and the Organization has a Stripe Connect Account where `charges-enabled` is `true` and `payouts-enabled` is `true`.
+ description: 'Help build and fund public software projects for social good.' (string) - A short plain text description for the project
3175
3175
+ `icon-large-url`: ``//res.cloudinary.com/dlfnmtoq1/image/upload/c_fill,h_500,w_500/pp0md2banaw7k6oa1ew9` (string) - A url pointing to a large icon for the project
@@ -3448,16 +3448,16 @@ The platform stores Stripe customers and cards so they can be reused across diff
3448
3448
+ `charges-enabled`: false (boolean) - Whether or not the account can create live charges
3449
3449
+ country: `US` (string)
3450
3450
+ `default-currency`: `usd` (string)
3451
-
+ `details-submitted`: false (boolean) - Whether or not account details have been submitted yet. Standalone accounts cannot receive transfers before this is true.
3451
+
+ `details-submitted`: false (boolean) - Whether or not account details have been submitted yet. Standalone accounts cannot receive payouts before this is true.
3452
3452
+ `display-name`: `Stripe.com` (string) - The display name for this account. This is used on the Stripe dashboard to help differentiate between accounts.
3453
3453
+ email: `site@stripe.com` (string) - The primary user’s email address
+ managed: false (boolean) - Whether or not the account is managed by your platform.
3457
3456
+ `support-email`: null (string) - A publicly shareable email address that can be reached for support for this account
3458
3457
+ `support-phone`: null (string) - The publicly visible support phone number for the business
3459
3458
+ `support-url`: null (string) - A publicly shareable URL that can be reached for support for this account
3460
-
+ `transfers-enabled`: false (boolean) - Whether or not Stripe will send automatic transfers for this account. This is only false when Stripe is waiting for additional information from the account holder.
3459
+
+ `payouts-enabled`: false (boolean) - Whether or not Stripe will send automatic payouts for this account. This is only false when Stripe is waiting for additional information from the account holder.
3460
+
+ type: `custom` (string) - The account type, as specified by Stripe. Can be `standard`, `express`, or `custom`. CodeCorps only deals with custom accounts.
0 commit comments