updateWhitelistUrls
put
/ccadmin/v1/merchant/whiteListUrls
Update list of outbounds urls that are whiteListed.
Request
Supported Media Types
- application/json
Root Schema : updateWhitelistUrls_request
Type:
Show Source
object
-
items:
array items
list of whitelist services and theirs outbound urls. This endpoint is deprecated, please use /merchant/allowedUrls.
Nested Schema : items
Type:
array
list of whitelist services and theirs outbound urls. This endpoint is deprecated, please use /merchant/allowedUrls.
Show Source
Nested Schema : items
Type:
Show Source
object
-
removeUrl:
boolean
Indicates if the urls in payload are to be added or removed| True for remove and false to addExample:
false
-
whiteListedUrls:
array whiteListedUrls
outbound urls of the whitelist service
-
whiteListId:
string
Example:
submitOrder
Nested Schema : items
Type:
Show Source
object
-
url:
string
outbound urlExample:
https://example.com
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getWhitelistUrls_response
Type:
Show Source
object
-
items:
array items
list of whitelist services and theirs outbound urls. This endpoint is deprecated, please use /merchant/allowedUrls.
Nested Schema : items
Type:
array
list of whitelist services and theirs outbound urls. This endpoint is deprecated, please use /merchant/allowedUrls.
Show Source
Nested Schema : items
Type:
Show Source
object
-
whiteListedUrls:
array whiteListedUrls
outbound urls of the whitelist service
-
whiteListId:
string
Example:
submitOrder
Nested Schema : items
Type:
Show Source
object
-
url:
string
outbound urlExample:
https://example.com
Default Response
The error response.
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code