Skip to main content

Link the organisation's own Stripe account

POST/payment-providers/stripe-connect
Validates the keys against Stripe, stores them encrypted, registers the webhook endpoints and creates (or re-keys) the organisation's stripe_connect provider.

Request Body

secretKey*stringThe organisation's Stripe secret key (stored encrypted, never returned)
publishableKey*string
defaultMode*"direct" | "connected"How Accounts with no routing row of their own charge: direct on this Stripe account, or through a connected account each
namestring
applicationFeeobjectnullThe organisation's own fee on charges through its connected accounts
type*"percentage" | "fixed" | "percentage_plus_fixed"
valuenumberLegacy single value: percent for percentage, minor units for fixed
percentagenumberPercent of the charge
fixedintegerMinor units per charge
refundApplicationFeebooleanReturn the application fee (proportionally) when a charge is refunded

Response

Existing provider re-keyed

Code Samples
No code examples available for this operation.

Try It

Request Body
The organisation's Stripe secret key (stored encrypted, never returned)
How Accounts with no routing row of their own charge: direct on this Stripe account, or through a connected account each
The organisation's own fee on charges through its connected accounts
Return the application fee (proportionally) when a charge is refunded