@@ -785,57 +785,77 @@ export interface CardProvisionResponse {
785785 provisioning_payload ?: string | ProvisionResponse ;
786786}
787787
788- export interface CardWebProvisionResponse {
789- /**
790- * JWS object required for handoff to Apple's script.
791- */
792- jws ?: CardWebProvisionResponse . Jws ;
793-
794- /**
795- * A unique identifier for the JWS object.
796- */
797- state ?: string ;
798- }
788+ export type CardWebProvisionResponse =
789+ | CardWebProvisionResponse . AppleWebPushProvisioningResponse
790+ | CardWebProvisionResponse . GoogleWebPushProvisioningResponse ;
799791
800792export namespace CardWebProvisionResponse {
801- /**
802- * JWS object required for handoff to Apple's script.
803- */
804- export interface Jws {
793+ export interface AppleWebPushProvisioningResponse {
805794 /**
806- * JWS unprotected headers containing header parameters that aren't
807- * integrity-protected by the JWS signature.
795+ * JWS object required for handoff to Apple's script.
808796 */
809- header ?: Jws . Header ;
797+ jws ?: AppleWebPushProvisioningResponse . Jws ;
810798
811799 /**
812- * Base64url encoded JSON object containing the provisioning payload .
800+ * A unique identifier for the JWS object .
813801 */
814- payload ?: string ;
802+ state ?: string ;
803+ }
815804
805+ export namespace AppleWebPushProvisioningResponse {
816806 /**
817- * Base64url encoded JWS protected headers containing the header parameters that
818- * are integrity-protected by the JWS signature.
807+ * JWS object required for handoff to Apple's script.
819808 */
820- protected ?: string ;
809+ export interface Jws {
810+ /**
811+ * JWS unprotected headers containing header parameters that aren't
812+ * integrity-protected by the JWS signature.
813+ */
814+ header ?: Jws . Header ;
815+
816+ /**
817+ * Base64url encoded JSON object containing the provisioning payload.
818+ */
819+ payload ?: string ;
820+
821+ /**
822+ * Base64url encoded JWS protected headers containing the header parameters that
823+ * are integrity-protected by the JWS signature.
824+ */
825+ protected ?: string ;
826+
827+ /**
828+ * Base64url encoded signature of the JWS object.
829+ */
830+ signature ?: string ;
831+ }
821832
833+ export namespace Jws {
834+ /**
835+ * JWS unprotected headers containing header parameters that aren't
836+ * integrity-protected by the JWS signature.
837+ */
838+ export interface Header {
839+ /**
840+ * The ID for the JWS Public Key of the key pair used to generate the signature.
841+ */
842+ kid ?: string ;
843+ }
844+ }
845+ }
846+
847+ export interface GoogleWebPushProvisioningResponse {
822848 /**
823- * Base64url encoded signature of the JWS object.
849+ * A base64 encoded and encrypted payload representing card data for the Google Pay
850+ * UWPP FPAN flow.
824851 */
825- signature ?: string ;
826- }
852+ google_opc ?: string ;
827853
828- export namespace Jws {
829854 /**
830- * JWS unprotected headers containing header parameters that aren't
831- * integrity-protected by the JWS signature .
855+ * A base64 encoded and encrypted payload representing card data for the Google Pay
856+ * UWPP tokenization flow .
832857 */
833- export interface Header {
834- /**
835- * The ID for the JWS Public Key of the key pair used to generate the signature.
836- */
837- kid ?: string ;
838- }
858+ tsp_opc ?: string ;
839859 }
840860}
841861
@@ -1479,10 +1499,28 @@ export interface CardSearchByPanParams {
14791499}
14801500
14811501export interface CardWebProvisionParams {
1502+ /**
1503+ * Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
1504+ * Provisioning device identifier required for the tokenization flow
1505+ */
1506+ client_device_id ?: string ;
1507+
1508+ /**
1509+ * Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
1510+ * Provisioning wallet account identifier required for the tokenization flow
1511+ */
1512+ client_wallet_account_id ?: string ;
1513+
14821514 /**
14831515 * Name of digital wallet provider.
14841516 */
1485- digital_wallet ?: 'APPLE_PAY' ;
1517+ digital_wallet ?: 'APPLE_PAY' | 'GOOGLE_PAY' ;
1518+
1519+ /**
1520+ * Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
1521+ * Provisioning session identifier required for the FPAN flow.
1522+ */
1523+ server_session_id ?: string ;
14861524}
14871525
14881526Cards . AggregateBalances = AggregateBalances ;
0 commit comments