@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
us-wire
UsWireWithdrawalReconciliationService
Class UsWireWithdrawalReconciliationService
Index
Constructors
constructor
Methods
process
Us
Wire
Withdrawal
return
Us
Wire
Withdrawal
Constructors
constructor
new
UsWireWithdrawalReconciliationService
(
args
:
{
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
withdrawalAdminService
:
WithdrawalAdminService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
,
)
:
UsWireWithdrawalReconciliationService
Parameters
args
:
{
bankTransactionService
:
BankTransactionService
;
redemptionAdminQueryService
:
RedemptionAdminQueryService
;
temporalClient
:
Client
;
temporalQueue
:
string
;
withdrawalAdminService
:
WithdrawalAdminService
;
withdrawalRedemptionReconciliationService
:
WithdrawalRedemptionReconciliationService
;
}
Returns
UsWireWithdrawalReconciliationService
Methods
process
Us
Wire
Withdrawal
processUsWireWithdrawal
(
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
<
"WITHDRAWAL_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
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
<
"WITHDRAWAL_NOT_FOUND"
,
{
withdrawalId
:
string
}
>
|
ServiceError
<
"INVALID_BANK_TX"
,
{
bankTransactionId
:
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
;
}
,
>
return
Us
Wire
Withdrawal
returnUsWireWithdrawal
(
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
Us
Wire
Withdrawal
return
Us
Wire
Withdrawal
@cfxlabsinc/b2b-services
Loading...