This operation can be used to update external account balance.
cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Account id
The audit user to log the request
External balance amount
x >= 0
3.14
A valid ISO 4217 currency code
"EUR"
Successful operation
Was this page helpful?