v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Services

Service:UpdateSettings

Update settings of your service. You need to have access to that service to be able to update the settings

patch/v2/services/{serviceId}/settings

Path parameters

serviceIdstring required

Provide the SL-code of the service that you want to update

Request body

Example request

{
  "cnp": {
    "showGrouped": true,
    "contactMethodType": "PHONE",
    "contactMethodValue": "+31612345678",
    "delayedCapture": true,
    "cardHolderTypes": [
      "CONSUMER",
      "BUSINESS"
    ],
    "fundingTypes": [
      "DEBIT",
      "CREDIT",
      "PREPAID"
    ],
    "allowedRegions": [
      "DOMESTIC"
    ],
    "blockedCountries": [
      "RU"
    ],
    "scaExemption": [
      "LVP",
      "TRA",
      "NON_TDS"
    ]
  },
  "verify": {
    "showScreen": true,
    "group": 1,
    "ruleGroup": "VG-2090-1000",
    "cnp": true
  },
  "exchange": {
    "useExchange": "NONE",
    "urls": [
      "https://www.pay.nl",
      "https://google.com"
    ],
    "method": "SIGNED-JSON",
    "seperator": "|",
    "retryScheme": "EIGHT_TIMES_AFTER_15M",
    "communicationStatus": "PAYMENT_COMPLETE_ONLY"
  },
  "notifications": {
    "emailAddresses": [],
    "googleAnalytics": {
      "code": "G-ABCD1E2F34",
      "secret": "95c4ae0613c23435089dc0b480d98ce786a4e22a"
    }
  },
  "secondChance": {
    "bccEmailAddress": "support@pay.nl",
    "timeoutMinutes": 15,
    "linkExpirationDays": 3
  }
}

Response

Created

Example response

{
  "exchange": {
    "useExchange": "NONE",
    "urls": [
      "https://www.pay.nl",
      "https://google.com"
    ],
    "method": "SIGNED-JSON",
    "seperator": "|",
    "communicationStatus": "PAYMENT_COMPLETE_ONLY"
  },
  "notifications": {
    "emailAddresses": [],
    "googleAnalytics": {
      "code": "G-ABCD1E2F34",
      "secret": "95c4ae0613c23435089dc0b480d98ce786a4e22a"
    }
  },
  "secondChance": {
    "bccEmailAddress": "support@pay.nl",
    "timeoutMinutes": 7200,
    "linkExpirationDays": 86400
  }
}