subscribeToFundingSources
suspend fun SudoVirtualCardsClient.subscribeToFundingSources( id: String, onConnectionChange: (status: Subscriber.ConnectionState) -> Unit = {}, onFundingSourceChanged: (fundingSource: FundingSource) -> Unit)
Subscribes to be notified of modified FundingSources.
Parameters
id
String Unique identifier of the subscriber.
onConnectionChange
lambda that is called when the subscription connection state changes.
onFundingSourceChanged
lambda that receives updates as FundingSources are modified.