Create
Creates a new statement without LIG IDs, starting in STAGED status. Requires payment vector, origin, and destination. | authz: org_type=[courier, forwarder], min_org_role=operator | (CreateStatementReq) -> (Statement1)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
payment_vector_type
Payment vector type
Allowed values:
settlement_type
Settlement type for this statement
Allowed values:
payment_origin_org_id
Payment origin org ID (on-CHRT org)
payment_origin_off_chrt_shipper_org_id
Payment origin off-CHRT shipper org ID
payment_destination_org_id
Payment destination org ID (on-CHRT org)
payment_destination_driver_id
Payment destination driver ID
Response
Successful Response
schema_version
_id
settlement_type
Allowed values:
owned_by_org_id
Must be a string starting with org_
payment_vector_type
Allowed values:
line_item_group_ids
amount
units
Allowed values:
staged_by_user_id
payment_origin_org_id
payment_origin_off_chrt_shipper_org_id
payment_destination_org_id
payment_destination_driver_id
status
Allowed values:
stripe_invoice_id
stripe_invoice_url
stripe_invoice_created_by_user_id
stripe_invoice_status
staged_at_timestamp
opened_at_timestamp
paid_at_timestamp
uncollectible_at_timestamp
marked_open_by_user_id
marked_paid_by_user_id
marked_uncollectible_by_user_id

