Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

correlationIDを使用する

Tokenization追跡用のcorrelation IDを取得および設定します。

概要

各トークナイゼーション処理には関連する correlationID があり、トラブルシューティングのためにThalesと共有できます。

この識別子は2つの方法で取得できます:

  • 有効性チェックの成功、またはトークナイゼーションエラーから取得します。

  • 独自のカスタム correlationID を呼び出すときに check有効性() .

利用可能開始: 6.15.0

SDK統合

取得 correlationID から check有効性()

  • 成功後 check有効性()

    • 有効性チェックが成功した後、 acceptanceData.correlationID.

    • 後で同じトークナイゼーション処理を追跡する必要がある場合は、この値を保存してください。

  • でエラー発生後 check有効性()

    • 読み取るか保存する correlationID エラーが捕捉されたらすぐに。

次の例では、 correlationID check有効性() :

mgCardEnrollmentService.check有効性(
    eligibilityData,
    instrumentData,
    object : CardEligibilityListener {
        override fun onSuccess(
            termsAndConditions: TermsAndConditions,
            issuerData: イシュアData
        ) {
            val correlationId = termsAndConditions.correlationId
            Log.d(TAG, "Correlation ID: $correlationId")
        }

        override fun onError(error: MobileGatewayError) {
            val correlationId = error.correlationId
            Log.e(TAG, "デジタル化に失敗しました。Correlation ID: $correlationId")
        }
    }
)

ProvisioningServiceError も提供します getCorrelationId().

カスタムcorrelationIDを設定

設定できます correlationID のみ check有効性().

次の check有効性() バリアントがこのパラメータをサポートしています。

イシュアのバックエンド、デジタルウォレットアプリケーション、Thalesのログをまたいでトークナイゼーション処理を追跡したい場合は、カスタム値を使用します。

独自の識別子形式を使うこともできます。たとえば:

instrument dataを使ってカスタムcorrelationIDを設定

pushSessionIDを使ってカスタムcorrelationIDを設定

関連ページ

最終更新

役に立ちましたか?