Update Credits Auto Top-up Settings
PUT/account/credits/top-up/settings/
Request
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
USD
- USDEUR
- EURGBP
- GBP
If true, buy credits automatically on the expiration date of purchased credits.
If true, buy credits automatically when the account balance is insufficient to perfom scans.
auto_top_up_credits_pack
object
nullable
Possible values: <= 100 characters
Possible values: <= 50 characters
Possible values: >= -2147483648
and <= 2147483647
Possible values: [USD
, EUR
, GBP
, ``]
Possible values: <= 4294967295
Body
USD
- USDEUR
- EURGBP
- GBP
If true, buy credits automatically on the expiration date of purchased credits.
If true, buy credits automatically when the account balance is insufficient to perfom scans.
auto_top_up_credits_pack
object
nullable
Possible values: <= 100 characters
Possible values: <= 50 characters
Possible values: >= -2147483648
and <= 2147483647
Possible values: [USD
, EUR
, GBP
, ``]
Possible values: <= 4294967295
Body
USD
- USDEUR
- EURGBP
- GBP
If true, buy credits automatically on the expiration date of purchased credits.
If true, buy credits automatically when the account balance is insufficient to perfom scans.
auto_top_up_credits_pack
object
nullable
Possible values: <= 100 characters
Possible values: <= 50 characters
Possible values: >= -2147483648
and <= 2147483647
Possible values: [USD
, EUR
, GBP
, ``]
Possible values: <= 4294967295
Responses
- 201
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
USD
- USDEUR
- EURGBP
- GBP
If true, buy credits automatically on the expiration date of purchased credits.
If true, buy credits automatically when the account balance is insufficient to perfom scans.
auto_top_up_credits_pack
object
nullable
Possible values: <= 100 characters
Possible values: <= 50 characters
Possible values: >= -2147483648
and <= 2147483647
Possible values: [USD
, EUR
, GBP
, ``]
Possible values: <= 4294967295
{
"auto_top_up_on_expiration": true,
"auto_top_up_on_insufficient": true,
"auto_top_up_credits_pack": {
"id": "string",
"name": "string",
"price": 0,
"currency_code": "USD",
"pack_amount": 0,
"discount": 0,
"savings": 0
}
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}