Update settlement type
Flips a STAGED Statement’s settlement_type between STRIPE_CONNECT and OFF_CHRT and cascades the new value onto every attached LineItemGroup. Rejects if the new value matches the current value. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | (StatementUpdateSettlementTypeReq) -> (Statement1)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
statement_id
Request
This endpoint expects an object.
settlement_type
Allowed values:
Response
Successful Response
_id
owned_by_org_id
Must be a string starting with org_
schema_version
settlement_type
amount
billing_ledger_period_ids
line_item_group_ids
marked_open_by_user_id
Must be a string starting with user_
marked_paid_by_user_id
Must be a string starting with user_
marked_uncollectible_by_user_id
Must be a string starting with user_
opened_at_timestamp
order_group_id
order_group_short_id
order_ids
order_off_chrt_reference_ids
order_short_ids
paid_at_timestamp
payment_destination_driver_id
payment_destination_off_chrt_provider_org_data_id
payment_destination_org_id
Must be a string starting with org_
payment_origin_off_chrt_shipper_org_data_id
payment_origin_org_id
Must be a string starting with org_
staged_at_timestamp
staged_by_user_id
Must be a string starting with user_
status
stripe_invoice_created_by_user_id
Must be a string starting with user_
stripe_invoice_id
stripe_invoice_status
stripe_invoice_url
uncollectible_at_timestamp
units
Errors
422
Statements Update Settlement Type V1request Unprocessable Entity Error

