Create

Creates a billing ledger owned by the caller’s org. Caller must be the receiving provider for shipper-pay-provider, or the paying provider for provider-pay-provider/driver. | authz: allowed_org_types=[provider], min_org_role=operator | (BillingLedgerClientCreate1) -> (PydanticObjectId)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
schema_versionintegerRequired
task_group_typeenum or nullOptional
Allowed values:
commentsstring or nullOptional<=524288 characters
payment_origin_org_idstring or nullOptional

Must be a string starting with org_

payment_origin_off_chrt_shipper_org_idstring or nullOptional
payment_destination_org_idstring or nullOptional

Must be a string starting with org_

payment_destination_off_chrt_provider_org_idstring or nullOptional
payment_destination_driver_idstring or nullOptional

Response

Successful Response

Errors

422
Billing Ledgers Create V1request Unprocessable Entity Error