Path parameters

  • merchantId string Required

    Identyfikator klienta

application/json

Body Required

  • trustedIps array Required

    Lista zaufanych adresów IP, z których mają być akceptowane zapytania

Responses

  • 200 application/json

    Zapytanie wykonane poprawnie

    Hide response attribute Show response attribute object
    • status string Required
PUT /{merchantId}/settings/ips
curl \
 --request PUT 'https://api.imoje.pl/v1/merchant/{merchantId}/settings/ips' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"trustedIps":["127.0.0.1","10.10.10.10"]}'
Request example
{
  "trustedIps": [
    "127.0.0.1",
    "10.10.10.10"
  ]
}
Response examples (200)
{
  "status": "success"
}