Java
Introduction

Introduction

Learn how to cash your first crypto payment using the vxpay Java SDK.

Prerequisites

1. Install

Get the vxpay Java SDK.

implementation 'com.vxpay:vxpay-java:0.0.1'

2. Accept onchain payment

main.java
import com.vxpay.*;
 
public class Main {
    public static void main(String[] args) {
        VXPAY vxpay = new VXPAY("YOUR_API_KEY");
 
       ...
    }
}
 
...

3. Try it yourself