REST API | Visa Platform Connect

カスタマーのPayment Instrumentを削除

このセクションは、カスタマーのPayment Instrumentトークンを削除する方法を示します。

エンドポイント

テスト環境:
DELETE
https://apitest.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
本番環境:
DELETE
https://api.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
インドの本番環境:
DELETE
https://api.in.cybersource.com
/tms/v2/customers/{customerTokenId}/payment-instruments/{paymentInstrumentTokenId}
customerTokenId
は、カスタマートークンを作成したときに戻されたカスタマートークン
id
です。
paymentInstrumentTokenId
は、検索するPayment Instrumentトークン
id
です。カスタマーの作成およびカスタマーのPayment Instrumentを作成を参照してください。
IMPORTANT
1 つ以上のPayment Instrumentがある場合、デフォルトのPayment Instrumentは新しいデフォルトのPayment Instrumentを最初に選択しないと選択できません。