Standing Instruction Parameter Details
Step 1: Create a SI Parameters Object
Create a class PayUSIParams object using the code similar to the following
PayUSIParams siDetails = new PayUSIParams.Builder()
.setIsFreeTrial(true) //set it to true for free trial. Default value is false
.setBillingAmount("1.0")
.setBillingCycle(PayUBillingCycle.ONCE)
.setBillingCurrency("INR")
.setBillingInterval(1)
.setPaymentStartDate("2021-12-24")
.setPaymentEndDate("2021-12-31")
.setBillingRule(PayuBillingRule.MAX)
.setBillingLimit(PayuBillingLimit.ON)
.setRemarks("SI Txn")
.build();
val siDetails = PayUSIParams.Builder()
.setIsFreeTrial(true) //set it to true for free trial. Default value is false
.setBillingAmount("1.0")
.setBillingCycle(PayUBillingCycle.ONCE)
.setBillingCurrency("INR")
.setBillingInterval(1)
.setPaymentStartDate("2021-12-24")
.setPaymentEndDate("2021-12-31")
.setBillingRule(PayuBillingRule.MAX)
.setBillingLimit(PayuBillingLimit.ON)
.setRemarks("SI Txn")
.build()
Step 2: Post Parameters
Parameter | Description | Example |
---|---|---|
billingAmount
|
| 100.00 |
billingCycle |
| MONTHLY |
billingInterval |
| 1 |
billingLimit |
| ON |
billingRule |
MAX = Maximum amount. Lesser than this or equal to this amount can be debited in recurring debits EXACT= Exact to this amount can be debited in recurring debits | MAX |
billingCurrency |
| INR |
paymentStartDate |
| 2022-02-14 |
paymentEndDate |
| 2023-01-14 |
freeTrial |
0: This is not a trial subscription. If this parameter is not posted, will be assumed as 0. 1: This is a trial subscription. | 1 |
Updated 12 days ago