@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/payment-instrument-services
MxClabePaymentInstrumentService
Class MxClabePaymentInstrumentService
Maintains a reference to a public redemption wallet (belongs to another customer)
Index
Constructors
constructor
Methods
create
delete
Constructors
constructor
new
MxClabePaymentInstrumentService
(
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
sqlClient
:
Sql
;
}
,
)
:
MxClabePaymentInstrumentService
Parameters
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
sqlClient
:
Sql
;
}
Returns
MxClabePaymentInstrumentService
Methods
create
create
(
__namedParameters
:
Pick
<
{
account
:
string
;
accountName
:
string
;
bank
?:
string
;
bankCode
:
string
;
city
?:
string
;
cityCode
:
string
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
provider
:
|
"REDEMPTION"
|
"SOLANA"
|
"MX_CLABE"
|
"WIRE_DEPOSIT"
|
"ACH_PUSH_DEPOSIT"
|
"YELLOWCARD"
|
"QUILTT"
|
"VICTOR"
|
"CFX"
|
"ETHEREUM"
|
"BASE"
;
providerId
:
string
;
referenceId
?:
string
;
status
:
"ACTIVE"
|
"PENDING_VERIFICATION"
|
"BLOCKED"
|
"DELETED"
;
tag
?:
string
;
type
:
"MX_CLABE"
;
updatedAt
:
Date
;
}
,
"referenceId"
|
"accountName"
,
>
&
{
clabeNumber
:
string
;
customerId
:
string
;
entityId
:
string
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
{
account
:
string
;
accountName
:
string
;
bank
?:
string
;
bankCode
:
string
;
city
?:
string
;
cityCode
:
string
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
provider
:
|
"REDEMPTION"
|
"SOLANA"
|
"MX_CLABE"
|
"WIRE_DEPOSIT"
|
"ACH_PUSH_DEPOSIT"
|
"YELLOWCARD"
|
"QUILTT"
|
"VICTOR"
|
"CFX"
|
"ETHEREUM"
|
"BASE"
;
providerId
:
string
;
referenceId
?:
string
;
status
:
"ACTIVE"
|
"PENDING_VERIFICATION"
|
"BLOCKED"
|
"DELETED"
;
tag
?:
string
;
type
:
"MX_CLABE"
;
updatedAt
:
Date
;
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
__namedParameters
:
Pick
<
{
account
:
string
;
accountName
:
string
;
bank
?:
string
;
bankCode
:
string
;
city
?:
string
;
cityCode
:
string
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
provider
:
|
"REDEMPTION"
|
"SOLANA"
|
"MX_CLABE"
|
"WIRE_DEPOSIT"
|
"ACH_PUSH_DEPOSIT"
|
"YELLOWCARD"
|
"QUILTT"
|
"VICTOR"
|
"CFX"
|
"ETHEREUM"
|
"BASE"
;
providerId
:
string
;
referenceId
?:
string
;
status
:
"ACTIVE"
|
"PENDING_VERIFICATION"
|
"BLOCKED"
|
"DELETED"
;
tag
?:
string
;
type
:
"MX_CLABE"
;
updatedAt
:
Date
;
}
,
"referenceId"
|
"accountName"
,
>
&
{
clabeNumber
:
string
;
customerId
:
string
;
entityId
:
string
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
{
account
:
string
;
accountName
:
string
;
bank
?:
string
;
bankCode
:
string
;
city
?:
string
;
cityCode
:
string
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
string
;
provider
:
|
"REDEMPTION"
|
"SOLANA"
|
"MX_CLABE"
|
"WIRE_DEPOSIT"
|
"ACH_PUSH_DEPOSIT"
|
"YELLOWCARD"
|
"QUILTT"
|
"VICTOR"
|
"CFX"
|
"ETHEREUM"
|
"BASE"
;
providerId
:
string
;
referenceId
?:
string
;
status
:
"ACTIVE"
|
"PENDING_VERIFICATION"
|
"BLOCKED"
|
"DELETED"
;
tag
?:
string
;
type
:
"MX_CLABE"
;
updatedAt
:
Date
;
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
delete
delete
(
__namedParameters
:
{
customerId
:
string
;
entityId
:
string
;
id
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
undefined
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
__namedParameters
:
{
customerId
:
string
;
entityId
:
string
;
id
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
undefined
}
|
{
error
:
ServiceError
;
ok
:
false
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
delete
@cfxlabsinc/b2b-services
Loading...
Maintains a reference to a public redemption wallet (belongs to another customer)