createSource

open suspend override fun createSource(sourceParams: SourceParams, options: ApiRequest.Options): Result<Source>

Create a Source using the input SourceParams.

Analytics event: PaymentAnalyticsEvent.SourceCreate

Return

a Result containing the generated Source or the encountered Exception

Parameters

sourceParams

a SourceParams object with Source creation params