Getting started with Java

We speak Java too! Enjoy the tools we built with you in mind.

Flying-roller

Make your first payment in seconds with bunq Java Tinker

Just run this command to auto connect to sandbox! Switch to production by simply scanning a QR code.

bash <(curl -s https://tinker.bunq.com/java/setup.sh)Click to copy!

Integrate easily via the bunq Java SDK

1. Add the JitPack repository to your build file.

Click to copy!
allprojects {
	repositories {
		maven { url 'https://jitpack.io' }
	}
}Click to copy!

2. Add the dependency.

Click to copy!
dependencies {
	implementation 'com.github.bunq:sdk_java:Tag'
}Click to copy!

3. Create an API context.

Click to copy!
ApiContext apiContext = ApiContext.create(ENVIRONMENT_TYPE, API_KEY, DEVICE_DESCRIPTION);
apiContext.save(API_CONTEXT_FILE_PATH);Click to copy!

4. List monetary accounts.

Click to copy!
MonetaryAccountBank.list(
    pagination.getUrlParamsCountOnly()
);Click to copy!

5. List payments.

Click to copy!
Payment.list(
 	monetaryAccountBank.getId(),
    pagination.getUrlParamsCountOnly()
);Click to copy!

6. Make a payment.

Click to copy!
Payment.create(
	new Amount("1.00", "EUR"),
	new Pointer("EMAIL", "recipient@example.com"),
	"Some money because you’re awesome."
);Click to copy!