@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
ach-credit
AchCreditWithdrawalReconciliationService
Class AchCreditWithdrawalReconciliationService
Index
Constructors
constructor
Methods
process
Ach
Credit
Withdrawal
process
Ach
Credit
Withdrawal
Batch
Transaction
return
Ach
Credit
Withdrawal
Constructors
constructor
new
AchCreditWithdrawalReconciliationService
(
args
:
{
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
withdrawalAdminService
:
WithdrawalAdminService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
,
)
:
AchCreditWithdrawalReconciliationService
Parameters
args
:
{
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
withdrawalAdminService
:
WithdrawalAdminService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
Returns
AchCreditWithdrawalReconciliationService
Methods
process
Ach
Credit
Withdrawal
processAchCreditWithdrawal
(
args
:
{
bankTransactionId
:
string
;
withdrawalId
:
string
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
void
}
|
{
error
:
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
redemptionId
:
string
}
>
|
ServiceError
<
"REDEMPTION_NOT_PENDING"
,
{
redemptionId
:
string
}
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
string
}
>
|
ServiceError
<
"AMOUNT_MISMATCH"
,
{
bankTransactionAmount
:
string
;
redemptionAmount
:
string
}
,
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
string
}
>
|
ServiceError
<
"WITHDRAWAL_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"WITHDRAWAL_ALREADY_RECONCILED"
,
{
existingWithdrawalId
:
string
;
withdrawalId
:
string
}
,
>
|
ServiceError
<
"AMOUNT_MISMATCH"
,
{
bankTransactionAmount
:
string
;
withdrawalAmount
:
string
}
,
>
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"REDEMPTION_FAILED_OR_VOIDED"
,
{
redemptionId
:
string
;
status
:
string
}
,
>
;
ok
:
false
;
}
,
>
Parameters
args
:
{
bankTransactionId
:
string
;
withdrawalId
:
string
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
void
}
|
{
error
:
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
redemptionId
:
string
}
>
|
ServiceError
<
"REDEMPTION_NOT_PENDING"
,
{
redemptionId
:
string
}
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
string
}
>
|
ServiceError
<
"AMOUNT_MISMATCH"
,
{
bankTransactionAmount
:
string
;
redemptionAmount
:
string
}
,
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
string
}
>
|
ServiceError
<
"WITHDRAWAL_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"WITHDRAWAL_ALREADY_RECONCILED"
,
{
existingWithdrawalId
:
string
;
withdrawalId
:
string
}
,
>
|
ServiceError
<
"AMOUNT_MISMATCH"
,
{
bankTransactionAmount
:
string
;
withdrawalAmount
:
string
}
,
>
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"REDEMPTION_FAILED_OR_VOIDED"
,
{
redemptionId
:
string
;
status
:
string
}
,
>
;
ok
:
false
;
}
,
>
process
Ach
Credit
Withdrawal
Batch
Transaction
processAchCreditWithdrawalBatchTransaction
(
args
:
{
withdrawalId
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
void
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
Parameters
args
:
{
withdrawalId
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
void
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
return
Ach
Credit
Withdrawal
returnAchCreditWithdrawal
(
args
:
{
withdrawalId
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
void
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
Parameters
args
:
{
withdrawalId
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
void
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
process
Ach
Credit
Withdrawal
process
Ach
Credit
Withdrawal
Batch
Transaction
return
Ach
Credit
Withdrawal
@cfxlabsinc/b2b-services
Loading...