Charge
Create Charge
Create a new Charge.
NOTES:
- To create an ad-hoc Charge on an Account, use the accountId request parameter.
- To create a balance fee Charge for a Balance, use the entityId request 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 amount or use a number of units together with a unitPrice for a calculated value = units x unit price. But you cannot specify both an amount and units/unit price.
post/organizations/{orgId}/charges
Path parameters
orgIdstring required
UUID of the organization
Request body
Example request
{
"billDate": "2022-01-04"
}Response
Returns the created Charge
Changes
Changed in 2 of the 10 revisions of this API.4
- ○
added the new optional request property
allOf[subschema #2]/unitPricenew-optional-request-property
- ○
the request property
allOf[subschema #2]/amountbecame optionalrequest-property-became-optional
- ○
added the optional property
unitPriceto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○