Funding

Update funding config

Changed on

Creates or replaces the project's funding configuration.

put/v2/funding/config

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v2/funding/config
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

ecosystemstring required
defaultChainstring required
defaultCurrencystring required
crossChainBridgingboolean required
onrampEnabledboolean required
onrampMethodsstring[] required

Enabled web2 methods (FundingMethod values), in display order.

walletPayEnabledboolean required

Whether native wallet pay (Apple/Google Pay) is offered. Needs the project's own CDP keys.

stripeEnabledboolean required

Whether the Stripe rail is offered. With the project's own Link OAuth client it runs in-page (embedded); without one it degrades to the hosted popup on the project's secret key alone.

hostedCheckoutEnabledboolean required

Whether Coinbase hosted-checkout popup rows (including the rest-of-world fallback) are offered.

depositAddressEnabledboolean required
depositFromWalletEnabledboolean required
recommendedAmountstring nullable

Null and omitted both mean "no recommended amount".

stripePublishableKeystring nullable

Follows the credential rules, since it belongs to the same Stripe account: omit to keep what is stored, send an empty string to clear it.

Response

Funding config saved.

ecosystemstring required
defaultChainstring required
defaultCurrencystring required
recommendedAmountstring required
crossChainBridgingboolean required
onrampEnabledboolean required
onrampMethodsstring[] required

Enabled web2 methods (FundingMethod values), in display order.

walletPayEnabledboolean required

Whether native wallet pay (Apple/Google Pay) is offered. Needs the project's own CDP keys.

stripeEnabledboolean required

Whether the Stripe rail is offered. With the project's own Link OAuth client it runs in-page (embedded); without one it degrades to the hosted popup on the project's secret key alone.

hostedCheckoutEnabledboolean required

Whether Coinbase hosted-checkout popup rows (including the rest-of-world fallback) are offered.

depositAddressEnabledboolean required
depositFromWalletEnabledboolean required
stripePublishableKeystring required

The project's Stripe publishable key, handed to the client so the embedded component can initialize. Public by design — it belongs to the same Stripe account as the embedded credentials below, so it is per-project too.

coinbaseHeadlessConfiguredboolean required

The project's CDP key pair is set (webhook secret is separate and optional).

stripeConfiguredboolean required

The project's Stripe secret key is set (webhook secret is separate and optional).

stripeEmbeddedConfiguredboolean required

The project's Stripe secret key AND Link OAuth client are set — the embedded in-page rail is unlocked. Without the optional Link OAuth client, Stripe runs through the hosted popup on the secret key alone.

Changes