@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
ach-credit
AchCreditWithdrawalBatchReconciliationService
Class AchCreditWithdrawalBatchReconciliationService
Index
Constructors
constructor
Methods
reconcile
Batch
Constructors
constructor
new
AchCreditWithdrawalBatchReconciliationService
(
args
:
{
achBatchAdminQueryService
:
AchBatchAdminQueryService
;
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
,
)
:
AchCreditWithdrawalBatchReconciliationService
Parameters
args
:
{
achBatchAdminQueryService
:
AchBatchAdminQueryService
;
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
Returns
AchCreditWithdrawalBatchReconciliationService
Methods
reconcile
Batch
reconcileBatch
(
args
:
{
achBatchId
:
string
;
bankTransactionId
:
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
<
"BATCH_ALREADY_RECONCILED"
,
{
achBatchId
:
string
;
existingAchBatchId
:
string
}
,
>
|
ServiceError
<
"BATCH_AMOUNT_MISMATCH"
,
{
achBatchId
:
string
;
bankTransactionAmount
:
string
;
batchAmount
:
string
;
}
,
>
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
achBatchId
:
string
}
>
;
ok
:
false
;
}
,
>
Parameters
args
:
{
achBatchId
:
string
;
bankTransactionId
:
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
<
"BATCH_ALREADY_RECONCILED"
,
{
achBatchId
:
string
;
existingAchBatchId
:
string
}
,
>
|
ServiceError
<
"BATCH_AMOUNT_MISMATCH"
,
{
achBatchId
:
string
;
bankTransactionAmount
:
string
;
batchAmount
:
string
;
}
,
>
|
ServiceError
<
"REDEMPTION_NOT_FOUND"
,
{
achBatchId
:
string
}
>
;
ok
:
false
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
reconcile
Batch
@cfxlabsinc/b2b-services
Loading...