const data = await ctx.modules.currency.setBalance({
  // Request body
});

Public

No

Request

const data = await ctx.modules.currency.setBalance({
  // Request body
});

Request

Object containing the following properties:
PropertyType
userId (*)string
balance (*)number
(*) Required.

Response

Response

Object record with dynamic keys:
  • keys of type string
  • values of type never