Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
travel.wink:trip-pay-sdk-java
Welcome to the Java SDK that enables you to communicate with all that the TripPay platform has to offer.
This SDK contains libraries you can leverage to communicate with the TripPay platform.
Maven artifacts were compiled with Java 21.
Spring is not required but we highly recommend you use. Our examples will be based on how to do it the "Spring way".
Download libraries from Maven Central Repository.
The Payment API exposes endpoints for affiliates and hotels to track bookings, analytics and funds availability. They can also choose to withdraw available funds to their bank account.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>payment-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(PaymentSDKConfiguration.class) or run a component scan over io.trippay.sdk.payment
and io.trippay.sdk.support
. That will give you access to the following Spring Beans:
The Payment Acquiring API exposes endpoints for affiliates to acquire a payment via our payment methods in their own applications. These are the same features we leverage in our payment Web Component.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>payment-acquiring-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(PaymentAcquiringSDKConfiguration.class) or run a component scan over io.trippay.sdk.payment.acquiring
and io.trippay.sdk.support
. That will give you access to the following Spring Beans:
You will need a client ID and a client secret to communicate with any of the Wink platform endpoints.
Steps:
Add your credentials to your property file:
Create 2 environment variables in your preferred way:
FAQs
Java libraries for all TripPay APIs.
We found that travel.wink:trip-pay-sdk-java demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.