Opt Outs

postOptouts

POST
/valueAddedServices/{service}/{target}/{targetId}/OptOut

Disable a merchant or entity from a specific Value Added Service (VAS). This endpoint allows you to opt out a merchant or entity from participating in available VAS features.

Authorization

APIKEY<token>

In: header

Path Parameters

service*vasOptOutService

The Value Added Service to opt out from. Currently only 'FraudSight' is supported.

target*vasOptOutTargetType

The type of entity to opt out. Must be either 'merchant' or 'entity'.

Value in

  • "merchant"
  • "entity"
targetId*string

The ID of the merchant or entity to opt out from the service.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Request body for opting out a merchant or entity from a VAS

Request body for opting out a merchant or entity from a VAS

method?vasOptOutMethod

The method used to create the opt-out request.

  • api - API
  • portal - PORTAL
  • widget - WIDGET

Value in

  • "api"
  • "portal"
  • "widget"
reason?string

The reason for opting out from the VAS.

Lengthlength <= 250

Response Body

application/json

application/json

curl -X POST "https://example.com/valueAddedServices/fraudSight/merchant/p1_mer_00c66ace58ad2d376bb0067/OptOut" \  -H "Content-Type: application/json" \  -d '{    "method": "api",    "reason": "Customer request"  }'
{  "response": {    "data": [      {        "status": "Service has been successfully disabled."      }    ],    "errors": []  }}