Skip to main content
PUT
/
api
/
v1
/
company
/
config
Update company configuration
curl --request PUT \
  --url http://localhost:7701/api/v1/company/config \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "time_to_wait_sync": 6,
  "default_response": "sync",
  "retry_failed_payments": false,
  "max_retry_attempt": 1
}
'

Authorizations

X-API-Key
string
header
required

Company API key. Send in the X-API-Key header.

Body

application/json
time_to_wait_sync
number<float>
Required range: 0.5 <= x <= 30
Example:

6

default_response
enum<string>
Available options:
sync,
async
Example:

"sync"

retry_failed_payments
boolean
Example:

false

max_retry_attempt
integer
Required range: 0 <= x <= 20
Example:

1

Response

Configuration updated