Terms Of Use & Privacy Policy
Overview¶
VELA's terms of use and privacy policy APIs allow users to accept the updated Terms Of Use & Privacy Policy.
Description¶
When the Merchant has updated the Terms Of Use and/or Privacy policy, upon the next login, the users associated with the merchant should accept the updated terms of use and/or Privacy Policy.
The updateUserTermsOfUseAndOrPrivacyPolicyAgreement
endpoint is used by the user to accept the updated Terms Of Use and Privacy Policy of the Merchant.
Request¶
Endpoint
ui/v1/updateUserTermsOfUseAndOrPrivacyPolicyAgreement
Headers
Content-Type:application/json
Authorization: $Token
Note
Replace $TOKEN in the request with the base64-encoded username/password combination in the format username:password.
Request Body
{
"id": "215",
"userName": ""
}
Response¶
{
"country": "USA",
"addressLine1": "12000 Findley Road",
"addressLine2": "",
"addressLine3": "",
"city": "Johns Creek",
"state": "GA",
"zipCode": "30097",
"id": 215,
"userName": "vela.merchantuser",
"password": "$2a$11$xV4oMwxCwq6.pXlWVytC3eCBX7CQCjeuUCL6qiFyN7J9ETsPKzUQO",
"status": {
"value": "Active",
"name": "ACTIVE"
},
"firstName": "Vela",
"lastName": "Merchantuser",
"phone": "",
"mobile": "",
"fax": "",
"jobTitle": "",
"department": "",
"roles": [{
"id": 1095,
"roleType": {
"value": "Merchant User",
"name": "MERCHANT_USER"
},
"checked": true
}],
"userChannelMap": [{
"id": 180,
"channel": {
"id": 49,
"channelName": "Cybersource Channel",
"channelStatus": {
"value": "Active",
"name": "ACTIVE"
},
"channelType": {
"value": "External",
"name": "EXTERNAL"
},
"createdDateTime": 1572990136000,
"merchantId": 3,
"lockedDateTime": null,
"lockedByUserId": null,
"createdUserId": 195,
"lastModifiedUserId": 195,
"industryType": {
"value": "eCommerce",
"name": "ECOMMERCE"
},
"allowCashAsPaymentMethodInd": true,
"allowMoneyOrderAsPaymentMethodInd": true,
"allowPaperCheckAsPaymentMethodInd": true,
"paymentMethods": [{
"id": 510,
"paymentMethodType": {
"value": "VISA Checkout",
"name": "VISA_CHECKOUT"
},
"paymentGateway": {
"value": "CyberSource",
"name": "CYBERSOURCE"
},
"cardBrand": {
"value": "VISA Checkout",
"name": "VISA_CHECKOUT"
},
"cardId": null,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990140000,
"lastUpdatedDateTime": null,
"position": 110
},
{
"id": 509,
"paymentMethodType": {
"value": "eCheck (ACH)",
"name": "ECHECK"
},
"paymentGateway": {
"value": "CyberSource",
"name": "CYBERSOURCE"
},
"cardBrand": {
"value": "eCheck (ACH)",
"name": "ECHECK"
},
"cardId": null,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990139000,
"lastUpdatedDateTime": null,
"position": 109
},
{
"id": 496,
"paymentMethodType": {
"value": "3D Secure",
"name": "THREE_D_SECURE"
},
"paymentGateway": {
"value": "CyberSource",
"name": "CYBERSOURCE"
},
"cardBrand": {
"value": "VERIFIED by VISA",
"name": "VERIFIED_BY_VISA"
},
"cardId": 127,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990138000,
"lastUpdatedDateTime": null,
"position": 96
},
{
"id": 470,
"paymentMethodType": {
"value": "Credit Card",
"name": "CREDIT_CARD"
},
"paymentGateway": {
"value": "CyberSource",
"name": "CYBERSOURCE"
},
"cardBrand": {
"value": "VISA",
"name": "VISA"
},
"cardId": 101,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990136000,
"lastUpdatedDateTime": null,
"position": 70
},
{
"id": 511,
"paymentMethodType": {
"value": "PayPal",
"name": "PAYPAL"
},
"paymentGateway": {
"value": "PayPal",
"name": "PAYPAL"
},
"cardBrand": {
"value": "PayPal",
"name": "PAYPAL"
},
"cardId": null,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990140000,
"lastUpdatedDateTime": null,
"position": 129
},
{
"id": 502,
"paymentMethodType": {
"value": "PINless Debit Card",
"name": "PIN_LESS_DEBIT_CARD"
},
"paymentGateway": {
"value": "CyberSource",
"name": "CYBERSOURCE"
},
"cardBrand": {
"value": "VISA Debit",
"name": "VISA_DEBIT"
},
"cardId": 133,
"createdUserId": 195,
"lastModifiedUserId": 195,
"createdDateTime": 1572990139000,
"lastUpdatedDateTime": null,
"position": 102
}
],
"userCount": null,
"assignedPaymentMethods": null,
"message": null,
"paymentMethodsCount": null,
"merchantName": null
}
}],
"oldEmail": "vela.merchantuser@gmail.com",
"email": "vela.merchantuser@gmail.com",
"locale": "en_US",
"lastLoginDateTime": 1582833979000,
"securityQuestionsEnrolledInd": true,
"createdUserId": 215,
"lastModifiedUserId": 215,
"firstLoginDateTime": 1571938260000,
"maximumAllowedLoginDays": 99999,
"organizationName": "",
"forceChangePasswordInd": false,
"originalUserId": null,
"loyaltyStatus": {
"value": "Not Enrolled",
"name": "NOT_ENROLLED"
},
"loyaltyRewardsNumber": null,
"loyaltyEnrolledDateTime": null,
"loyaltyTierLevel": {
"value": "None",
"name": "NONE"
},
"totalOutstandingPoints": null,
"forgotPasswordGeneratedDateTime": null,
"numberOfFailedLoginAttempts": 0,
"numberOfFailedForgotPasswordAttempts": 0,
"changePasswordDateTime": 1582826674000,
"lockedDateTime": null,
"lockedByUserId": null,
"merchantId": 3,
"createdDateTime": 1571674199000,
"forceChangeSecurityQuestionsInd": false,
"passwordNeverExpiresInd": false,
"phoneCountryCallingCodeId": 1,
"mobileCountryCallingCodeId": 1,
"faxCountryCallingCodeId": 1,
"customerId": null,
"acceptTermsOfUseAgreementInd": true,
"acceptPrivacyPolicyAgreementInd": true,
"namePrefix": null,
"nameSuffix": null,
"middleInitial": "",
"paymentAction": {
"value": "Pre-Authorization",
"name": "PRE_AUTHORIZATION"
},
"mobilePhoneCarrierType": {
"emailDomain": "",
"value": "Select",
"countryCode": "UNKNOWN",
"name": "UNKNOWN"
},
"transactionCategory": {
"value": "Card Not Present",
"name": "CARD_NOT_PRESENT"
},
"message": 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
}
Updated As Of 4.0.0.0