PUT
/
v1
/
wallets
/
settings
curl --request PUT \
  --url https://api.hyperline.co/v1/wallets/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true,
  "allow_free_credits": true,
  "allow_topup_on_portal": true
}'
{
  "enabled": true,
  "allow_free_credits": true,
  "allow_topup_on_portal": true,
  "updated_at": "2023-01-20T16:04:11Z"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
enabled
boolean
required

Indicates if the wallet feature is enabled or not. If disabled, wallets won't be debited even if they are in active state and with money.

allow_free_credits
boolean
required

Allow top up for free amounts on wallets.

allow_topup_on_portal
boolean
required

Allow wallet top up on customer's portal.

Response

200 - application/json
enabled
boolean
required

Indicates if the wallet feature is enabled or not. If disabled, wallets won't be debited even if they are in active state and with money.

allow_free_credits
boolean
required

Allow top up for free amounts on wallets.

allow_topup_on_portal
boolean
required

Allow wallet top up on customer's portal.

updated_at
string
required

Last edition date of the wallet settings.