Skip to main content
POST
/
organizations
/
{orgId}
/
bills
/
billingperiod
/
{lastDateInBillingPeriod}
/
{billingFrequency}
/
approve
Approve Bills in Billing Period
curl --request POST \
  --url https://api.m3ter.com/organizations/{orgId}/bills/billingperiod/{lastDateInBillingPeriod}/{billingFrequency}/approve \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

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

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

lastDateInBillingPeriod
string
required

The last date of the billing period for which you want to approve Bills. This date defines the range of Bills to be approved.

billingFrequency
string
required

The billing frequency for the specified period. Valid options are daily, weekly, monthly, or annually.

Response

Returns a message indicating the success/failure of Bills approval

message
string

A message indicating the success or failure of the Bills' approval, along with relevant details.