Skip to main content
DELETE
/
organizations
/
{orgId}
/
balances
/
{balanceId}
/
balancetransactionschedules
/
{id}
Delete BalanceTransactionSchedule
curl --request DELETE \
  --url https://api.m3ter.com/organizations/{orgId}/balances/{balanceId}/balancetransactionschedules/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": 123,
  "customFields": {},
  "balanceId": "<string>",
  "name": "<string>",
  "code": "<string>",
  "amount": 123,
  "transactionDescription": "<string>",
  "paid": 123,
  "currencyPaid": "<string>",
  "transactionTypeId": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z",
  "frequency": "DAILY",
  "frequencyInterval": 123,
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>",
  "nextRun": "2023-11-07T05:31:56Z",
  "previousRun": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the organization

balanceId
string
required

UUID of the balance

id
string
required

The UUID of the BalanceTransactionSchedule to update.

Response

Return the deleted BalanceTransactionSchedule

id
string
required

The UUID of the entity.

version
integer<int64>

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
customFields
object

User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.

If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.

See Working with Custom Fields in the m3ter documentation for more information.

balanceId
string

The unique identifier (UUID) for the Balance this Balance Transaction Schedule was created for.

name
string

The name of the Balance Transaction Schedule.

code
string

Unique short code of the Balance Transaction Schedule.

amount
number

The amount of each Balance Transaction created by this Schedule.

transactionDescription
string

The description of each Balance Transaction created by this Schedule.

paid
number

The payment amount if the payment currency differs from the Balance currency.

currencyPaid
string

The currency code of the payment if it differs from the Balance currency. For example: USD, GBP or EUR.

transactionTypeId
string

The unique identifier (UUID) of the transaction type used for Transactions created by this Schedule.

startDate
string<date-time>

The start date (in ISO-8601 format) of the Balance Transaction Schedule.

endDate
string<date-time>

The end date (in ISO-8601 format) of the Balance Transaction Schedule.

frequency
enum<string>

Specifies a daily, weekly, monthly, or yearly interval for when Transactions are generated for the Balance throughout the defined Transaction Schedule time period.

Available options:
DAILY,
WEEKLY,
MONTHLY,
ANNUALLY
frequencyInterval
integer<int32>

Used in conjunction with frequency to define how often Balance Transactions are generated. For example, if frequency is MONTHLY and frequencyInterval is 3, Balance Transactions are generated every three months.

dtCreated
string<date-time>

The date and time (in ISO-8601 format) when the Balance Transaction Schedule was created.

dtLastModified
string<date-time>

The date and time (in ISO-8601 format) when the Balance Transaction Schedule was last modified.

createdBy
string

The unique identifier (UUID) of the user who created this Balance Transaction Schedule.

lastModifiedBy
string

The unique identifier (UUID) of the user who last modified this Balance Transaction Schedule.

nextRun
string<date-time>

The date and time (in ISO-8601 format) when the next Transaction will be generated by the Balance Transaction Schedule.

previousRun
string<date-time>

The date and time (in ISO-8601 format) when the previous Transaction was generated by the Balance Transaction Schedule.