Type aliases
AmountExactness
AmountExactness: "ANY" | "EXACT" | "EXACT_UP" | "EXACT_DOWN" | "RANGE"
CreatePaymentLinkParams
Create
Payment
Link
Params
: { additionalInfo
?: Record<string, string>; amountExactness
: AmountExactness; amountValue
: number; billerBillID
: string; campaignID
?: string; expiryDate
?: string; payeeName
?: string; settlement
?: Settlement; transactionNote
?: string; validationRules
?: ValidationRules }Type declaration
Optional Readonly additionalInfo?: Record<string, string>
Readonly amountValue: number
Readonly billerBillID: string
Optional Readonly campaignID?: string
Optional Readonly expiryDate?: string
Optional Readonly payeeName?: string
Optional Readonly settlement?: Settlement
Optional Readonly transactionNote?: string
Optional Readonly validationRules?: ValidationRules
RefundStatusIdentifierType
RefundStatusIdentifierType: "batch" | "bill"
SetuError
SetuError: { code: string; detail: string; docURL: string; errors: readonly unknown[]; title: string; traceID: string }
Type declaration
Readonly code: string
Readonly detail: string
Readonly docURL: string
Readonly errors: readonly unknown[]
Readonly title: string
Readonly traceID: string
SetuUPIDeepLinkInstance
SetuUPIDeepLinkInstance: { createPaymentLink: any; expireBill: any; getPaymentStatus: any; getRefundBatchStatus: any; getRefundStatus: any; getRefundStatusByIdentifier: any; initiateRefund: any; isSetuError: any; triggerMockPayment: any }
Type declaration
createPaymentLink:function
expireBill:function
- expireBill(platformBillID: string): Promise<void>
Parameters
Returns Promise<void>
getPaymentStatus:function
getRefundBatchStatus:function
getRefundStatus:function
getRefundStatusByIdentifier:function
initiateRefund:function
isSetuError:function
triggerMockPayment:function
TriggerMockPaymentParams
TriggerMockPaymentParams: { amountValue: number; platformBillID: string; vpa: string }
Type declaration
Readonly amountValue: number
Readonly platformBillID: string
Readonly vpa: string