This API gives you the status of the transaction. PayU recommends this API to reconcile with PayU’s database after you receive the response, where var1 is your transaction id.
Following features are supported in the PayU JAVA web SDK:
- Create Payment Link.
- Verify transactions, check the transaction status, transaction details, or discount rate for a transaction
- Initiated refunds, cancel refund, check refund status.
- Retrieve settlement details which the bank has to settle you.
- Get information of the payment options, offers, recommendations, and downtime details.
- Check the customer’s eligibility for EMI and get the EMI amount according to interest
- Pay by link To get started with PayU, visit our Developer Guide
Please follow the installation instruction and execute the following JS code for creating the instance of PayU Object:
PayuClient payuClient = PayuClient.init("KEY", "SALT");
// Need to set merchant key and salt
- Prerequisites:
Install the latest version of [Java](https://java.com) and [Maven](https://maven.apache.org/download.html).
Set the environment variable: `export GOOGLE_APPLICATION_CREDENTIALS=your-key-filename.json`
You may need to set your `JAVA_HOME`.
bash
cd java-docs-samples/storage/xml-api/cmdline-sample
# Compile and run
mvn compile install
mvn -q exec:java -Dexec.args="your-bucket-name"
-
Run
- Right-click on project
- Run As > Java Application
- If asked, type "StorageSample" and click OK
Method | Description |
---|---|
Verify_payment [async] |
Provides the details of a transaction |
TransactionDetails [async] |
Provides the details of a transactions for a specfic timeperiod |
ValidateVPA [async] |
Used to validate VPA of a user. |
RefundTransaction [async] |
Initiate refunds. |
DowntimeCheck [async] |
Check downtime through bin number. |
InvoiceAPI [async] |
Used to create and expire invoice link. |
EMI [async] |
Used for checking the card eligibilty for EMI through the bin number and Check Emi amount according to interest. |
Check_isDomesticapi[async] |
The BIN API or check_isDomestic API is used to detect whether a particular BIN number is international or domestic. |
CheckoutDetails [async] |
The get_checkout_details API is a generic API using which they can get information when you create the custom checkout-pages. |