Link the organisation's own Stripe account
POST
/payment-providers/stripe-connectValidates 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.