Type aliases
Account
Account: { id: string; ifsc: string }
Type declaration
Readonly id: string
Readonly ifsc: string
Amount
Amount: { currencyCode: string; value: number }
Type declaration
Readonly currencyCode: string
Readonly value: number
AmountValidation
AmountValidation: { maximum: number; minimum: number }
Type declaration
Readonly maximum: number
Readonly minimum: number
BatchRefundStatusResponseData
BillStatus
BillStatus: "BILL_CREATED" | "PAYMENT_SUCCESSFUL" | "PAYMENT_FAILED" | "CREDIT_RECEIVED" | "SETTLEMENT_SUCCESSFUL" | "SETTLEMENT_FAILED" | "BILL_EXPIRED"
CreatePaymentLinkResponseData
Create
Payment
Link
Response
Data
: { name
: string; paymentLink
: PaymentLink; platformBillID
: string }Type declaration
Readonly name: string
Readonly platformBillID: string
GetPaymentStatusResponseData
Get
Payment
Status
Response
Data
: { amountPaid
: Amount; billerBillID
: string; createdAt
: string; expiresAt
: string; name
: string; payerVpa
: string; paymentLink
: PaymentLink; platformBillID
: string; receipt
: Receipt; status
: BillStatus; transactionNote
: string }Type declaration
Readonly amountPaid: Amount
Readonly billerBillID: string
Readonly createdAt: string
Readonly expiresAt: string
Readonly name: string
Readonly payerVpa: string
Readonly platformBillID: string
Readonly receipt: Receipt
Readonly transactionNote: string
InitiateRefundAmountParams
InitiateRefundFullAmount
InitiateRefundFullAmount: { refundType: "FULL" }
Type declaration
Readonly refundType: "FULL"
InitiateRefundPartialAmountParams
InitiateRefundPartialAmountParams: { refundAmount: number; refundType: "PARTIAL" }
Type declaration
Readonly refundAmount: number
Readonly refundType: "PARTIAL"
InitiateRefundResponseData
PaymentLink
PaymentLink: { shortURL: string; upiID: string; upiLink: string }
Type declaration
Readonly shortURL: string
Readonly upiID: string
Readonly upiLink: string
Receipt
Receipt: { date: string; id: string }
Type declaration
Readonly date: string
Readonly id: string
Record
Record<K, T>: { [ P in K]: T }
Type parameters
RefundResponseErrorData
RefundResponseErrorData: { code: string; detail: string; title: string }
Type declaration
Readonly code: string
Readonly detail: string
Readonly title: string
RefundResponseSuccessData
Refund
Response
Success
Data
: { amount
: Amount; billID
: string; deductions
: readonly Deduction[]; id
: string; initiatedAt
?: string; status
: RefundStatus; transactionRefID
: string }Type declaration
Readonly amount: Amount
Readonly billID: string
Readonly deductions: readonly Deduction[]
Readonly id: string
Optional Readonly initiatedAt?: string
Readonly transactionRefID: string
RefundStatus
RefundStatus: "Created" | "MarkedForRefund" | "QueuedForRefund" | "Rejected" | "Initiated"
SettlementPart
Settlement
Part
: { account
: Account; remarks
: string; split
: Split }Type declaration
Readonly account: Account
Readonly remarks: string
Readonly split: Split
SetuUPIDeepLinkParams
SetuUPIDeep
Link
Params
: { authType
: `${AuthScheme}`; mode
: `${SetuEnv}`; productInstanceID
: string; schemeID
: string; secret
: string }Type declaration
Readonly authType: `${AuthScheme}`
Readonly mode: `${SetuEnv}`
Readonly productInstanceID: string
Readonly schemeID: string
Readonly secret: string
SourceAccountItem
SourceAccountItem: { ifsc: string; number: string }
Type declaration
Readonly ifsc: string
Readonly number: string
Split
Split: { unit: string; value: number }
Type declaration
Readonly unit: string
Readonly value: number
TriggerMockPaymentResponseData
TriggerMockPaymentResponseData: { utr: string }
Construct a type with a set of properties K of type T