@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/payment-instrument-services
YellowcardBankPaymentInstrumentService
Class YellowcardBankPaymentInstrumentService
Maintains a reference to a public redemption wallet (belongs to another customer)
Index
Constructors
constructor
Methods
create
delete
Constructors
constructor
new
YellowcardBankPaymentInstrumentService
(
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
sqlClient
:
Sql
;
yellowcardClient
:
YellowcardClient
;
}
,
)
:
YellowcardBankPaymentInstrumentService
Parameters
args
:
{
entityEventPublisher
:
EntityEventPublisher
;
entityService
:
EntityService
;
sqlClient
:
Sql
;
yellowcardClient
:
YellowcardClient
;
}
Returns
YellowcardBankPaymentInstrumentService
Methods
create
create
(
__namedParameters
:
Pick
<
{
accountHolderName
:
string
;
accountNumber
:
string
;
bankName
:
string
;
country
:
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"
;
type
:
"AF_BANK"
;
updatedAt
:
Date
;
yellowcardChannelIds
:
string
[]
;
yellowcardNetworkId
:
string
;
}
,
|
"accountNumber"
|
"referenceId"
|
"country"
|
"bankName"
|
"accountHolderName"
|
"yellowcardNetworkId"
,
>
&
{
customerId
:
string
;
entityId
:
string
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
{
accountHolderName
:
string
;
accountNumber
:
string
;
bankName
:
string
;
country
:
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"
;
type
:
"AF_BANK"
;
updatedAt
:
Date
;
yellowcardChannelIds
:
string
[]
;
yellowcardNetworkId
:
string
;
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
__namedParameters
:
Pick
<
{
accountHolderName
:
string
;
accountNumber
:
string
;
bankName
:
string
;
country
:
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"
;
type
:
"AF_BANK"
;
updatedAt
:
Date
;
yellowcardChannelIds
:
string
[]
;
yellowcardNetworkId
:
string
;
}
,
|
"accountNumber"
|
"referenceId"
|
"country"
|
"bankName"
|
"accountHolderName"
|
"yellowcardNetworkId"
,
>
&
{
customerId
:
string
;
entityId
:
string
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
{
accountHolderName
:
string
;
accountNumber
:
string
;
bankName
:
string
;
country
:
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"
;
type
:
"AF_BANK"
;
updatedAt
:
Date
;
yellowcardChannelIds
:
string
[]
;
yellowcardNetworkId
:
string
;
}
;
}
|
{
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)