Credit Card Masking Config

Credit Card Masking Config
- Credit Card Masking Config Manage
GET global/creditCardMaskingConfig
POST global/creditCardMaskingConfig:disable
POST global/creditCardMaskingConfig:enable
PUT global/creditCardMaskingConfig
DELETE global/creditCardMaskingConfig
Model
Credit Card Masking Config JSON Format

Credit Card Masking Config is represented as simple flat JSON objects with the following keys:

Name Type Description
siteId integer Id of the site.
isEnabled bool Whether Credit Card Masking is enabled or not.
Endpoint
Get a single Credit Card Masking Config

GET global/creditCardMaskingConfig

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/global/creditCardMaskingConfig \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"siteId":10000,"isEnabled":false}
Disable the Credit Card Masking Config

POST global/creditCardMaskingConfig:disable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/global/creditCardMaskingConfig:disable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"siteId":10000,"isEnabled":false}
Enable the Credit Card Masking Config

POST global/creditCardMaskingConfig:enable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/global/creditCardMaskingConfig:enable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"siteId":10000,"isEnabled":true}
Update the Credit Card Masking Config

PUT global/creditCardMaskingConfig

Parameters:
Name Type In Required Description
isEnabled bool body no Whether Credit Card Masking is enabled or not.
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/global/creditCardMaskingConfig \
-X 'PUT' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-D '{"isEnabled":false}'

Response:

 HTTP/1.1 200 OK

{"siteId":10000,"isEnabled":false}
Remove the Credit Card Masking Config

DELETE global/creditCardMaskingConfig

Parameters:
No Parameters
Response:

No Content

Example

Sample Request:

curl https://api15.comm100.io/v4/global/creditCardMaskingConfig \
-X 'DELETE' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 204 No Content