Suspends a metered asset balance until the supplied date. Customer consumption is refused while the suspension is in force; the operator's own deposit/withdraw endpoints are not affected, so a suspended balance can still be adjusted.
PUT
/api/v1/provision/operational/asset-balances/{balanceId}/suspend-until
const url = 'https://example.com/api/v1/provision/operational/asset-balances/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/suspend-until';const options = {method: 'PUT'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/provision/operational/asset-balances/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/suspend-untilParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”balanceId
required
string format: uuid
Target asset balance.
Query Parameters
Section titled “Query Parameters”date
string format: date-time
When the suspension lifts. Omitting it CLEARS the suspension — use /resume for that
explicitly. This previously documented itself as “null suspends indefinitely”, which cannot
be expressed with a single nullable timestamp: null is also the value every never-suspended
balance carries, so that reading would have every balance born suspended. Suspend far into
the future for an open-ended hold.
Responses
Section titled “Responses”OK
Bad Request
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Unauthorized
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}