Generate Temporary Password

An admin user can generate a temporary Password for the user which the user can use to reset their password.

The generateTemporaryPassword endpoint is used to generate a temporary password for the user to login to the application.

Request

Endpoint

    ui/v1/generateTemporaryPassword 

Method

    POST  

Body

{
    "id": 63,
    "userName": "username"
}

Response

{
    "country": "USA",
    "addressLine1": "1234 Findley road",
    "addressLine2": "Suite 360",
    "addressLine3": null,
    "city": "JC",
    "state": "GA",
    "zipCode": "30097",
    "streetNumber": null,
    "streetName": null,
    "id": 135,
    "userName": "a11111111",
    "password": "$2a$11$VZNrxN/NvdAHmDwAhhkbr./X4dGVZAMGkXhzRqPRSKgwX07dLNmde",
    "status": {
        "name": "ACTIVE"
    },
    "firstName": "user",
    "lastName": "Udser",
    "phone": "",
    "mobile": null,
    "fax": "",
    "jobTitle": null,
    "department": null,
    "roles": [
        {
            "id": 1033,
            "roleType": {
                "name": "MERCHANT_USER"
            },
            "checked": true,
            "lastModifiedUserId": null
        }
    ],
    "userChannelMap": [
        {
            "id": 118,
            "cardNotPresentChannel": {
                "id": 1,
                "channelName": "Sandpiper Bay Channel",
                "channelStatus": {
                    "name": "ACTIVE"
                },
                "channelType": {
                    "name": "INTERNAL"
                },
                "createdDateTime": 1477321991000,
                "merchantId": 1,
                "lockedDateTime": null,
                "lockedByUserId": null,
                "createdUserId": 1,
                "lastModifiedUserId": 340,
                "industryType": {
                    "name": "ECOMMERCE"
                },
                "allowCashAsPaymentMethodInd": false,
                "allowMoneyOrderAsPaymentMethodInd": false,
                "allowPaperCheckAsPaymentMethodInd": false,
                "allowEStoreCreditAsPaymentMethodInd": false,
                "paymentMethods": [
                    {
                        "id": 233,
                        "paymentMethodType": {
                            "value": "Credit Card",
                            "name": "CREDIT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "AMERICAN EXPRESS",
                            "name": "AMEX"
                        },
                        "cardId": 703,
                        "createdUserId": 112,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1535409349000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 13
                    },
                    {
                        "id": 242,
                        "paymentMethodType": {
                            "value": "Debit Card",
                            "name": "PIN_LESS_DEBIT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "VISA Debit",
                            "name": "VISA_DEBIT"
                        },
                        "cardId": 712,
                        "createdUserId": 112,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1535409349000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 22
                    },
                    {
                        "id": 290,
                        "paymentMethodType": {
                            "value": "eCheck (ACH)",
                            "name": "ECHECK"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "eCheck (ACH)",
                            "name": "ECHECK"
                        },
                        "cardId": null,
                        "createdUserId": 1,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1536677090000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 31
                    },
                    {
                        "id": 1034,
                        "paymentMethodType": {
                            "value": "Gift Card",
                            "name": "GIFT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "Gift Card",
                            "name": "GIFT_CARD"
                        },
                        "cardId": null,
                        "createdUserId": 340,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1584369058000,
                        "lastUpdatedDateTime": null,
                        "position": 40
                    }
                ],
                "allowDynamicRoutingCapabilityInd": true,
                "secondaryPaymentGateway": {
                    "value": "Chase Paymentech (NetConnect - Direct To Tandem)",
                    "name": "CHASE_PAYMENTECH_NETCONNECT"
                },
                "tertiaryPaymentGateway": {
                    "value": "Chase Paymentech (NetConnect - Direct To Tandem)",
                    "name": "CHASE_PAYMENTECH_NETCONNECT"
                },
                "userCount": null,
                "assignedPaymentMethods": null,
                "message": null,
                "paymentMethodsCount": null,
                "merchantName": null
            },
            "cardPresentChannel": {
                "id": 1,
                "channelName": "Sandpiper Bay Channel",
                "channelStatus": {
                    "name": "ACTIVE"
                },
                "channelType": {
                    "name": "INTERNAL"
                },
                "createdDateTime": 1477321991000,
                "merchantId": 1,
                "lockedDateTime": null,
                "lockedByUserId": null,
                "createdUserId": 1,
                "lastModifiedUserId": 340,
                "industryType": {
                    "name": "ECOMMERCE"
                },
                "allowCashAsPaymentMethodInd": false,
                "allowMoneyOrderAsPaymentMethodInd": false,
                "allowPaperCheckAsPaymentMethodInd": false,
                "allowEStoreCreditAsPaymentMethodInd": false,
                "paymentMethods": [
                    {
                        "id": 233,
                        "paymentMethodType": {
                            "value": "Credit Card",
                            "name": "CREDIT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "AMERICAN EXPRESS",
                            "name": "AMEX"
                        },
                        "cardId": 703,
                        "createdUserId": 112,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1535409349000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 13
                    },
                    {
                        "id": 242,
                        "paymentMethodType": {
                            "value": "Debit Card",
                            "name": "PIN_LESS_DEBIT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "VISA Debit",
                            "name": "VISA_DEBIT"
                        },
                        "cardId": 712,
                        "createdUserId": 112,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1535409349000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 22
                    },
                    {
                        "id": 290,
                        "paymentMethodType": {
                            "value": "eCheck (ACH)",
                            "name": "ECHECK"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "eCheck (ACH)",
                            "name": "ECHECK"
                        },
                        "cardId": null,
                        "createdUserId": 1,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1536677090000,
                        "lastUpdatedDateTime": 1545671577000,
                        "position": 31
                    },
                    {
                        "id": 1034,
                        "paymentMethodType": {
                            "value": "Gift Card",
                            "name": "GIFT_CARD"
                        },
                        "paymentGateway": {
                            "value": "Chase Paymentech (Orbital)",
                            "name": "CHASE_PAYMENTECH_ORBITAL"
                        },
                        "cardBrand": {
                            "value": "Gift Card",
                            "name": "GIFT_CARD"
                        },
                        "cardId": null,
                        "createdUserId": 340,
                        "lastModifiedUserId": 340,
                        "createdDateTime": 1584369058000,
                        "lastUpdatedDateTime": null,
                        "position": 40
                    }
                ],
                "allowDynamicRoutingCapabilityInd": true,
                "secondaryPaymentGateway": {
                    "value": "Chase Paymentech (NetConnect - Direct To Tandem)",
                    "name": "CHASE_PAYMENTECH_NETCONNECT"
                },
                "tertiaryPaymentGateway": {
                    "value": "Chase Paymentech (NetConnect - Direct To Tandem)",
                    "name": "CHASE_PAYMENTECH_NETCONNECT"
                },
                "userCount": null,
                "assignedPaymentMethods": null,
                "message": null,
                "paymentMethodsCount": null,
                "merchantName": null
            },
            "lastModifiedUserId": null
        }
    ],
    "oldEmail": "",
    "email": "email@gmail.com",
    "locale": "en_US",
    "lastLoginDateTime": null,
    "securityQuestionsEnrolledInd": false,
    "createdUserId": 14,
    "lastModifiedUserId": 340,
    "firstLoginDateTime": null,
    "maximumAllowedLoginDays": 99999,
    "organizationName": "",
    "forceChangePasswordInd": false,
    "originalUserId": null,
    "loyaltyStatus": {
        "name": "NOT_APPLICABLE"
    },
    "loyaltyRewardsNumber": null,
    "loyaltyEnrolledDateTime": null,
    "loyaltyTierLevel": {
        "name": "NONE"
    },
    "totalOutstandingPoints": null,
    "forgotPasswordGeneratedDateTime": null,
    "numberOfFailedLoginAttempts": 0,
    "numberOfFailedForgotPasswordAttempts": 0,
    "changePasswordDateTime": null,
    "lockedDateTime": null,
    "lockedByUserId": null,
    "merchantId": 1,
    "createdDateTime": 1591024280000,
    "forceChangeSecurityQuestionsInd": false,
    "passwordNeverExpiresInd": false,
    "phoneCountryCallingCodeId": 1,
    "mobileCountryCallingCodeId": null,
    "faxCountryCallingCodeId": 1,
    "acceptTermsOfUseAgreementInd": false,
    "acceptPrivacyPolicyAgreementInd": false,
    "namePrefix": null,
    "nameSuffix": null,
    "middleInitial": null,
    "paymentAction": {
        "name": "SALE"
    },
    "mobilePhoneCarrierType": {
        "emailDomain": "",
        "value": "Select",
        "countryCode": "UNKNOWN",
        "name": "UNKNOWN"
    },
    "transactionCategory": {
        "name": "CARD_PRESENT"
    },
    "textMessageType": {
        "name": "SMS"
    },
    "customer": {
        "id": 1,
        "customerNumber": "10001",
        "customerName": "Complete cardiology",
        "customerStatus": {
            "name": "DELETED"
        },
        "pointOfContact": "Adminsale",
        "pointOfContactJobTitle": null,
        "pointOfContactDepartment": null,
        "pointOfContactEmail": "customer.summary@yahoo.com",
        "pointOfContactPhone": "",
        "pointOfContactMobile": "7622279810",
        "pointOfContactFax": "",
        "createdUserId": 14,
        "lastModifiedUserId": 340,
        "lockedDateTime": null,
        "lockedByUserId": null,
        "createdDateTime": 1509475424000,
        "customerBatchId": null,
        "phoneCountryCallingCodeId": 6,
        "mobileCountryCallingCodeId": 43,
        "faxCountryCallingCodeId": 6,
        "outstandingBalance": {
            "amount": null,
            "currency": {
                "id": 1,
                "currencyCode": "USD",
                "currencyText": "United States Dollar",
                "currencySymbol": "$",
                "fractionalUnit": "Cent",
                "numOfDecimalPlaces": "2",
                "supportedByVisaCheckout": true,
                "createdDateTime": 1608260908000,
                "isoNumericCode": "840",
                "isoCountryCode": "840"
            }
        },
        "customerProperties": [],
        "namePrefix": {
            "value": "Baron",
            "name": "BARON"
        },
        "nameSuffix": null,
        "mobilePhoneCarrierType": {
            "emailDomain": "NUMBER@pcs.rogers.com",
            "value": "Chatr",
            "countryCode": "CAN",
            "name": "CHATR"
        },
        "merchant": {
            "id": 1,
            "merchantName": "Club Med Sandpiper",
            "merchantDescription": "ClubMed Sandpiper",
            "addressLine1": "4500 SE Pine Valley St",
            "addressLine2": "",
            "addressLine3": "",
            "city": "Port Saint Lucie",
            "state": "FL",
            "zipCode": "34592",
            "country": "USA",
            "mailingAddressLine1": "4500 SE Pine Valley St",
            "mailingAddressLine2": "",
            "mailingAddressLine3": "",
            "mailingCity": "Port Saint Lucie",
            "mailingState": "FL",
            "mailingZipCode": "34592",
            "mailingCountry": "USA",
            "pointOfContact": "Administrator",
            "pointOfContactJobTitle": "tester",
            "pointOfContactDepartment": "testing",
            "pointOfContactEmail": "merchant@datumsoftware.com",
            "pointOfContactPhone": "6874596872",
            "pointOfContactMobile": "6875987412",
            "pointOfContactFax": "6874589612",
            "lastModifiedUserId": 1,
            "addressVerificationCheckInd": true,
            "cardVerificationCheckForCNPTransactionsInd": true,
            "cardVerificationCheckForTokenizedTransactionsInd": true,
            "cardVerificationCheckForCPTransactionsInd": false,
            "loyaltyRewardsEnabledInd": true,
            "initialLoyaltyRewardsNumber": 10000000000001,
            "passwordNeverExpiresInd": false,
            "passwordExpirationDays": 90,
            "passwordExpirationWarningDays": 5,
            "onetimePasscodeValdtyTimePeriod": 10,
            "phoneCountryCallingCodeId": 1,
            "mobileCountryCallingCodeId": 1,
            "faxCountryCallingCodeId": 1,
            "invoicesModuleEnabledInd": false,
            "displayInvoiceNumberInPaymentsModule": true,
            "adhocInvoicesEnabledInd": false,
            "displayMemoInPaymentsModule": true,
            "displayFolioInformationInPaymentsModule": false,
            "recurringPaymentsEnabledInd": false,
            "productsAndServicesEnabledInd": true,
            "namePrefix": {
                "value": "1st Lt.",
                "name": "FIRST_LIEUTENANT"
            },
            "nameSuffix": {
                "value": "II",
                "name": "THE_SECOND"
            },
            "displayDigitalSignatureForCardPresentTransactions": true,
            "displayDigitalSignatureForCardNotPresentTransactions": true,
            "paymentTokenizationEnabledInd": true,
            "paymentsBatchAuthorizationEnabledInd": true,
            "paymentsBatchProcessingEnabledInd": true,
            "allowUsersToSelfEnrollInd": true,
            "allowMultiCurrencyPricingInd": false,
            "mobilePhoneCarrierType": {
                "emailDomain": "NUMBER@mymetropcs.com",
                "value": "Metro PCS",
                "countryCode": "USA",
                "name": "METRO_PCS"
            },
            "cardPresentTransactionsEnabledInd": true,
            "defaultCurrencyCode": "USD",
            "allowPreAuthorizationTransactionInd": true,
            "allowSaleTransactionInd": true,
            "softDescriptorsEnabledInd": false,
            "softDescriptorMerchantName": "CLUBMED SANC",
            "softDescriptorProductDescription": "INCIDENTL",
            "merchantStatus": {
                "name": "ACTIVE"
            },
            "merchantURL": "https://clubmed-sandpiper-test.payvela.com/ui/resources/login",
            "merchantDisplayTitle": "Club Med Sandpiper",
            "merchantCode": "clubmed-sandpiper",
            "sessionIdleTime": 900,
            "sessionTimeoutTime": 20,
            "keepaliveInterval": 300,
            "customerSupportInformation": "+1-772-398-5025",
            "allowPaymentsWithoutLoggingIn": true,
            "merchantBccEmailAddress": "velaqaautomation@gmail.com",
            "abuseEmailAddress": "expert_vela@clubmed.com",
            "merchantProperties": [
                {
                    "id": 653,
                    "merchantPropertyType": {
                        "name": "PAYMENT_TOKEN_CONFIG"
                    },
                    "propertyName": "PURGE_ENABLED",
                    "propertyDescription": "Is payment tokens purge enabled",
                    "groupName": null,
                    "propertyStringValue": null,
                    "propertyIntValue": null,
                    "propertyBooleanValue": false,
                    "merchantPropertyStatus": {
                        "name": "ACTIVE"
                    },
                    "createdUserId": 1,
                    "lastModifiedUserId": null,
                    "lockedDateTime": null,
                    "lockedByUserId": null,
                    "createdDateTime": 1567537705000,
                    "lastUpdatedDateTime": 1593544756000,
                    "message": null
                },
                {
                    "id": 652,
                    "merchantPropertyType": {
                        "name": "PAYMENT_TOKEN_CONFIG"
                    },
                    "propertyName": "RETENTION_DAYS",
                    "propertyDescription": "# of days to retain payment tokens",
                    "groupName": null,
                    "propertyStringValue": null,
                    "propertyIntValue": null,
                    "propertyBooleanValue": null,
                    "merchantPropertyStatus": {
                        "name": "ACTIVE"
                    },
                    "createdUserId": 1,
                    "lastModifiedUserId": null,
                    "lockedDateTime": null,
                    "lockedByUserId": null,
                    "createdDateTime": 1567537705000,
                    "lastUpdatedDateTime": 1593544756000,
                    "message": null
                }
            ],
            "merchantBillings": [],
            "merchantBillingModel2s": [],
            "locale": "en_US",
            "lateFeesEnabledInd": false,
            "lateFeesType": {
                "name": "PERCENTAGE"
            },
            "lateFeesTier1FromNumOfDays": 1,
            "lateFeesTier1ToNumOfDays": 30,
            "lateFeesTier2FromNumOfDays": 31,
            "lateFeesTier2ToNumOfDays": 60,
            "lateFeesTier3FromNumOfDays": 61,
            "lateFeesTier3ToNumOfDays": 90,
            "tier1LateFees": 0.0,
            "tier2LateFees": 3.0,
            "tier3LateFees": 6.0,
            "waiveTheLateFeesEnabledInd": false,
            "maxNumOfTimesPerYearLateFeeCanBeWaived": {
                "name": "ONCE"
            },
            "paymentApplicationURL": "https://clubmed-sandpiper-test.payvela.com/",
            "giftCardsEnabledInd": false,
            "minBookingNumberLength": 1,
            "maxBookingNumberLength": 9,
            "allowPartialPaymentsForInvoicesInd": false,
            "convenienceFeesEnabledInd": false,
            "creditCardsConvFeesType": {
                "name": "PERCENTAGE"
            },
            "creditCardsConvFees": 3.25,
            "industryType": {
                "name": "LODGING"
            },
            "displayHealthcareFieldsOnHSAFSAPaymentMethods": false,
            "displayChartOnDashboard": false,
            "reportsModuleEnabledInd": true,
            "displayLastXDaysOfPaymentTokensForCardOnFile": 45,
            "chartsDisplayTransactionRevenue": {
                "name": "BAR_CHART"
            },
            "chartsGroupByPaymentMethods": {
                "name": "BAR_CHART"
            },
            "chartsGroupByTransactionTypes": {
                "name": "BAR_CHART"
            },
            "chartsGroupByProductsAndServices": {
                "name": "BAR_CHART"
            },
            "chartsDateRangeType": {
                "name": "TODAY"
            },
            "numOfDaysBetweenCheckinAndCurrentDate": 21,
            "smsSubscriptionType": {
                "name": "FREE_VIA_SMTP"
            },
            "cardPresentManualEntryOnlyTransactionsEnabledInd": false,
            "cardNotPresentTransactionsEnabledInd": true,
            "splitPaymentsEnabledInd": true,
            "accountLookupEnabledInd": false,
            "nextGenHpiLocationLookup": null,
            "billingEmailRequiredForPayments": false,
            "cardholderNameRequiredForTransactions": true,
            "textMessageType": {
                "name": "WHATSAPP"
            },
            "billingEnabledInd": false,
            "billingRevenueShareByPercentage": 20.0,
            "installmentPaymentsEnabledInd": false,
            "minNumberOfInstallments": 2,
            "maxNumberOfInstallments": 36,
            "settledTransactionsReportEnabledInd": true,
            "summaryByTypeReportEnabledInd": true,
            "transactionSummaryReportEnabledInd": true,
            "settledTxnsReportEmailRecipients": "velaqaautomation@gmail.com,datumvela@gmail.com,gmamidi@datumsoftware.com",
            "offlinePaymentActionsOnInvoiceModuleEnabledInd": false,
            "qrCodeEnabledInd": true,
            "dateFormat": {
                "value": "yyyy-MM-dd",
                "name": "YYYY_MM_DD"
            },
            "dateTimeFormat": {
                "value": "yyyy-MM-dd hh:mm a zzz",
                "name": "YYYY_MM_DD_HH_MM_A_ZZZ"
            },
            "logoutSingleSignOnTime": 30,
            "reconciliationPlatformName": {
                "value": "None",
                "industryType": "OTHER",
                "name": "NONE"
            },
            "employerIdentificationNumber": "12-1234567",
            "autoReconciliationEnabledInd": false,
            "customerSummaryEnabledInd": true,
            "surchargesEnabledInd": false,
            "surchargesByPercentage": 0.0,
            "onlineReceiptLinkEnabledInd": true,
            "maxNumOfFailedOneTimePasscodeAttempts": 3,
            "message": null,
            "address": null,
            "fullName": null,
            "activeUserCount": null,
            "activeCustomerCount": null,
            "paymentTokenPurgeEnabledInd": false,
            "paymentTokenPurgeDays": null,
            "language": null,
            "echeckConvFees": 1.99,
            "echeckConvFeesType": {
                "name": "FLAT"
            },
            "emvcompliantTransactionType": {
                "name": "RELAXED"
            }
        },
        "customerType": {
            "name": "BUSINESS"
        },
        "numOfTimesPerYearLateFeesIsWaived": null,
        "firstWaivedDateTime": null,
        "lastWaivedDateTime": null,
        "dateOfBirth": null,
        "textMessageType": {
            "name": "SMS"
        },
        "gender": null,
        "country": "ASM",
        "addressLine1": "12344 Findley Road",
        "addressLine2": "Suite 350",
        "addressLine3": null,
        "city": "Johns Creek",
        "state": null,
        "zipCode": "30098",
        "message": null,
        "address": null,
        "fullName": null,
        "activeUserCount": null,
        "unpaidInvoiceCount": null,
        "dateOfBirthString": "",
        "merchantId": null
    },
    "oneTimePasscode": null,
    "oneTimePasscodeCreatedDateTime": null,
    "numberOfFailedOneTimePasscodeAttempts": 0,
    "gender": null,
    "message": {
        "code": "26",
        "type": {
            "name": "SUCCESS"
        },
        "include_i_icon": false,
        "description": "The User <strong>username</strong>'s Temporary Password has been generated successfully. An <strong>email</strong> has been sent to the address on record."
    },
    "customerId": null,
    "address": null,
    "fullName": null,
    "minimumPasswordLength": null,
    "minimumLowercaseAlphabets": null,
    "minimumUppercaseAlphabets": null,
    "minimumNumerics": null,
    "minimumSpecialCharacters": null,
    "sessionId": null,
    "uiType": null,
    "customerName": null,
    "customerNumber": null,
    "geolocation": null,
    "currentPassword": null,
    "reEnterPassword": null,
    "reEnterEmail": null,
    "merchantName": null,
    "language": null,
    "merchantCode": null,
    "passwordAlreadyExists": false,
    "currentPasswordValid": false,
    "principal": null,
    "userSession": null,
    "selectedRoles": null,
    "numberOfInactiveLoginDays": null
}

Updated As Of Version 5.9.0.7