Retrieve Charge
Function name:m3ter_GetCharge
Category: READ
HTTP method: GET
Destination: m3ter
Retrieve a Charge for the given UUID.
Parameters
Exits
Update Charge
Function name:m3ter_UpdateCharge
Category: WRITE
HTTP method: PUT
Destination: m3ter
Update a Charge for the given UUID.
NOTE: When you update a Charge on an Account, you can provide either a Charge amount or Charge units together with a unitPrice, but not both.
Parameters
Exits
Delete Charge
Function name:m3ter_DeleteCharge
Category: WRITE
HTTP method: DELETE
Destination: m3ter
Delete the Charge for the given UUID.
Parameters
Exits
List Charges
Function name:m3ter_ListCharges
Category: READ
HTTP method: GET (paginated)
Destination: m3ter
Retrieve a list of Charge entities
Parameters
Exits
Create Charge
Function name:m3ter_CreateCharge
Category: WRITE
HTTP method: POST
Destination: m3ter
Create a new Charge.
NOTES:
- To create an ad-hoc Charge on an Account, use the
accountIdrequest parameter. - To create a balance fee Charge for a Balance, use the
entityIdrequest parameter to specify which Balance on an Account the Charge is for. - To define the value of the Charge amount that is billed, you can simply specify an
amountor use a number ofunitstogether with aunitPricefor a calculated value = units x unit price. But you cannot specify both an amount and units/unit price.