Skip to main content
PUT
/
v1
/
stip
/
accounts
/
{id}
/
external-balance
Update Account External Balance
curl --request PUT \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/spend-control/v1/stip/accounts/{id}/external-balance' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 3.14,
  "currency": "EUR"
}
'
{
  "code": "<string>",
  "message": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "errorCode": "<string>",
  "errorType": "STATIC_VALIDATION_ERROR",
  "errorReason": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<biginteger>
required

Account id

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
amount
number
required

External balance amount

Required range: x >= 0
Example:

3.14

currency
string<iso4217-currencycode>
required

A valid ISO 4217 currency code

Example:

"EUR"

Response

Successful operation