Create Balance Transaction
Changed onAdd a Transaction to a Balance. This endpoint allows you to create a new Transaction amount for a Balance. This amount then becomes available at billing for draw-down to cover charges due. The Transaction details should be provided in the request body.
Before you can add a Transaction amount, you must first set up Transaction Types at the Organization Level - see the Transaction Type section in this API Reference for more details. You can then use this call to add an instance of a Transaction Type to a Balance.
Note: If you have a customer whose payment is in a different currency to the Balance currency, you can use the paid and paidCurrency request parameters to record the amount paid and alternative currency respectively. For example, you might add a Transaction amount of 200 USD to a Balance on a customer Account where the customer actually paid you 50 units in virtual currency X.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier (UUID) for your Organization. The Organization represents your company as a direct customer of our service.
The unique identifier (UUID) for the Balance to which you want to add a transaction.
Request body
Response
Returns the created Balance transaction
Changes
- breaking
the
request property type changed from no type toobject - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////became optional for the status - warning
added the new
SCHEDULERenum value to the/response property for the response status
- breaking