Methods
cancel
- cancel(payoutLinkId: string): Promise<void>
-
Returns Promise<void>
create
- create(payoutLinkInfo: { account_number: string; contact: PayoutLinkContact | { id: string } } & Pick<PayoutLink, "notes" | "amount" | "currency" | "purpose" | "description" | "receipt" | "send_sms" | "send_email" | "expire_by">): Promise<PayoutLink>
-
Parameters
-
payoutLinkInfo: { account_number: string; contact: PayoutLinkContact | { id: string } } & Pick<PayoutLink, "notes" | "amount" | "currency" | "purpose" | "description" | "receipt" | "send_sms" | "send_email" | "expire_by">
getAll
- getAll(filter?: Pageable & { contact_email?: string; contact_phone_number?: string } & Partial<Pick<PayoutLink, "id" | "contact_id" | "fund_account_id" | "purpose" | "status" | "receipt" | "short_url">>): Promise<Response<PayoutLink>>
-
Parameters
-
filter: Pageable & { contact_email?: string; contact_phone_number?: string } & Partial<Pick<PayoutLink, "id" | "contact_id" | "fund_account_id" | "purpose" | "status" | "receipt" | "short_url">> = {}
Cancels the payout link for given payoutLinkId
Link
https://razorpay.com/docs/api/x/payout-links#cancel-a-payout-link