Skip to main content
PUT
/
api
/
v1
/
routing-rules
/
settings
cURL
curl --request PUT \
  --url https://vpos.payven.com.tr/api/v1/routing-rules/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json; ver=1.0' \
  --data '
{
  "routingMode": "<string>",
  "weightFactor": 123,
  "successRateFactor": 123,
  "responseTimeFactor": 123,
  "costFactor": 123,
  "minExecutionCandidates": 123,
  "fallbackEnabled": true,
  "binWeight": 123,
  "amountWeight": 123,
  "currencyWeight": 123,
  "installmentWeight": 123,
  "brandWeight": 123,
  "typeWeight": 123
}
'
{
  "message": "<string>",
  "isSuccess": true,
  "code": "<string>",
  "data": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.payven.com.tr/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

routingMode
string | null
weightFactor
number<double>
successRateFactor
number<double>
responseTimeFactor
number<double>
costFactor
number<double>
minExecutionCandidates
integer<int32>
fallbackEnabled
boolean
binWeight
integer<int32>
amountWeight
integer<int32>
currencyWeight
integer<int32>
installmentWeight
integer<int32>
brandWeight
integer<int32>
typeWeight
integer<int32>

Response

OK

message
string | null
isSuccess
boolean
code
string | null
data
boolean