PayU Standing Instructions Parameters
Step 1: Create a SI parameters object
Create a class PayUSIParams object using the code similar to the following:
//Swift
let siParam = PayUSIParams(billingAmount: <String>,
paymentStartDate: <Date>,
paymentEndDate: <Date>,
billingCycle: <PayUBillingCycle>,
billingInterval: <NSNumber>,
billingLimit: <PayuBillingLimit>,
billingRule: <PayuBillingRule>)/* Objective C */
PayUSIParams *siParam = [[PayUSIParams alloc] initWithBillingAmount:<#(NSString * _Nonnull)#> paymentStartDate:<#(NSDate * _Nonnull)#>
paymentEndDate:<#(NSDate * _Nonnull)#> billingCycle:<#(enum PayUBillingCycle)#> billingInterval:<#(NSNumber * _Nonnull)#>];Step 2: Post parameters
EnableSImandatory for SI |
1: The request is eligible for SI 0: The request is eligible for SI
|
billingAmountmandatory for SI | String Contains the billing amount |
billingCyclemandatory for SI | String Billing Cycle defines whether the customer needs to be charged on a Daily, Weekly basis, Monthly, or Yearly basis or one time. |
billingIntervalmandatory for SI | NSNumber Billing Interval is closely coupled with the value of “billingCycle” and denotes at what frequency, the subscription plan needs to be executed. |
billingLimitmandatory for SI |
ON = On the specific date
|
billingRulemandatory for SI | StringMAX = Maximum amount. Lesser than this or equal to this amount can be debited in recurring debitsEXACT= Exact this amount can be debited in recurring debits
Note: If no value is passed, then by default this is considered as ‘MAX’. |
billingCurrencymandatory for SI | String Currency in which the amount needs to be collected. By default, it is 'INR'. |
paymentStartDatemandatory | Date Start date of recurring payment. |
paymentEndDatemandatory | Date End Date of recurring payment |
freeTrialoptional |
0: This is not a trial subscription. If this parameter is not posted, will be assumed as 0. 1: This is a trial subscription. |
isPreAuthTxnmandatory for UPI OTM |
0: This is normal SI transaction. 1: This is a UPI One time mandate transaction. |
Updated 8 months ago
