Test your integrationPrivate preview
Validate your automated platform funding in testing environments.
You can test your credit integration in a sandbox environment using the Credit API and following the same steps as live mode:
- Create a connected account.
- Request the
funding_
capability.credit - Update and activate the connected account’s
CreditPolicy
. - Pay off the connected account’s
FundingObligation
.
Test the Credit API 
As you test the Credit API on connected accounts, consider the following:
- Minute interval support: In testing environments, you can set the
credit_
of the platform or connected accountperiod_ interval CreditPolicy
tominute
to generate a newFundingObligation
as often as once every minute and streamline your testing cycle. - Simulate Issuing transactions: Use the Dashboard or Issuing API in testing environments to simulate issuing spend and disputes. The applicable
FundingObligation
updates asynchronously in a few seconds to reflect the activity, allowing you to test the webhook event and your handling of it. - Deactivate after testing: Stripe continues to generate new
FundingObligations
for as long as theCreditPolicy
status for an account remains active, so deactivate the account’sCreditPolicy
when you complete your testing. - Test retention: Stripe deletes prior test
FundingObligations
after 7 days.
Test post-funding your platform 
You can also simulate your platform’s daily payment of your FundingObligation
using the following test capabilities (not applicable in live mode):
- Update Stripe-controlled fields: Update the
status
andcredit_
fields of your platform’speriod_ interval_ count CreditPolicy
to simulate updates that are normally set by Stripe. - Deactivate your CreditPolicy: Set your
CreditPolicy
’sstatus
toinactive
to stop generating newFundingObligations
on your platform’s test account. - Test Post-Funding: Use the
/v1/test_
endpoint or add funds using the Dashboard in testing environments to simulate ahelpers/issuing/fund_ balance FundingObligation
payment.