Stripe Java examples
This repository contains example projects showing how to implement some of Stripe's features using the Java programming language.
Charge creation examples
These example projects illustrate how to create a charge.
- stripe-charge-spark1 uses the Spark framework version 1.x and is suitable for use with Java 1.7.
- stripe-charge-spark2 uses the Spark framework version 2.x and is suitable for use with Java 1.8 and later.
Charge creation with Plaid examples
These example projects illustrate how to create a charge with Plaid.
- stripe-charge-plaid-spark1 uses the Spark framework version 1.x and is suitable for use with Java 1.7.
- stripe-charge-plaid-spark2 uses the Spark framework version 2.x and is suitable for use with Java 1.8 and later.
Webhooks examples
These example projects illustrate how to implement a Stripe webhooks endpoint.
- stripe-webhooks-spark1 uses the Spark framework version 1.x and is suitable for use with Java 1.7.
- stripe-webhooks-spark2 uses the Spark framework version 2.x and is suitable for use with Java 1.8 and later.
OAuth examples
These example projects illustrate how to implement Stripe's OAuth flow to connect standalone accounts to a platform.
- stripe-oauth-spark1 uses the Spark framework version 1.x and is suitable for use with Java 1.7.
- stripe-oauth-spark2 uses the Spark framework version 2.x and is suitable for use with Java 1.8 and later.