UNPKG

@payunit/nodejs-sdk

Version:

PayUnit Payment Processor SDK

55 lines 1.59 kB
import { RegisteredProviders, SupportedCurrencies, SupportedDepositType } from '.'; export interface DisbursementRequest { destination_currency: string | SupportedCurrencies; debit_currency: string | SupportedCurrencies; account_number: number; amount: number; beneficiary_name: string; deposit_type: string | SupportedDepositType; transaction_id: string; country: string; account_bank: string | RegisteredProviders; } export interface DisbursementInitResponse { pay_token: string; deposit_reference_token: string; } export interface DisbursementConfirmRequest { pay_token: string; deposit_message: string; deposit_note: string; notify_url?: string; } export interface DisbursementConfirmResponse { id: number; transaction_id: string; pay_token: string; amount: string; deposit_fee: number; account_number: string; from_currency: string; deposit_message: string; deposit_note: string; notify_url: string; beneficiary_name: string; status: string; additional_field: string; is_approval_required: boolean; is_approved: boolean; validator_id: string; validator_name: string; system_note: string; } export interface DisbursementStatusResponse { transaction_amount: number; transaction_status: string; transaction_id: string; purchaseRef: string; notify_url: string; callback_url: string; transaction_currency: string; transaction_gateway: string; fee: string; message: string; } //# sourceMappingURL=disbursement.d.ts.map