post https://api-{corename}.{env}.gpsrv.com/intserv/4.0/setAccountFeature
Use the Set Account Feature endpoint to set or modify specified attributes of a customer account.
- When enabling and disabling fraud rules (
featureType: 14), keep in mind that if you passfeatureValue: Yand do not passendDate, the end date is set to 3000-01-01, meaning that fraud rules are suspended indefinitely. To update the timespan for fraud-rule suspension, passfeatureValue: Yand the new start and/or end date-times. To immediately re-enable fraud rules, passfeatureValue: N. WhenfeatureValue: N, the date fields are ignored. - When you change account features 20, 21 or 22, you can arrange with Galileo to receive the
ACFC: account_feature_changeevent message.
Note
Feature types 20, 21, and 22 are mutually exclusive. Only one can be set to
Yat a time.
Status codes
See Global Response Statuses for status codes that are common across endpoints.
The table below lists status codes that apply to this specific endpoint.
| Status code | Description |
|---|---|
| 426-01 | Invalid feature type |
| 426-02 | Feature not allowed for account product |
| 426-03 | Feature value does not match the configured format for the feature type |
| 426-04 | Product cannot be switched to the same product |
| 426-05 | Product cannot be switched to an unauthorized product |
| 426-06 | Features cannot be set simultaneously. Unset all the others to set this one. |
