{
...
gatewayType: "VERIFONE",
type: "CREDIT_CARD",
shouldSavePaymentForFutureUse: true,
paymentMethodProperties: {
"encrypted_card": "encrypted card",
"public_key_alias": "public key alias of the public key used to encrypt the card",
"stored_credential_signup": "{"processing_model": "NONE", "contract": "ONE_CLICK,MERCHANT_INITIATED", "name": "Saved Payment Method"}" // this json should be converted to string
},
isSingleUsePaymentMethod: false,
displayAttributes: {
"creditCardType":"VISA",
"creditCardNumber":"****1111",
"creditCardHolder":"John Doe",
"creditCardExpDateMonth":"02",
"creditCardExpDateYear":"2023"}
}
attributes: {
isStoredCredentialPayment: true // this is required
}
...
}