Delegate a payable to another company

Delegates payment of the payable to another company where the user is an admin or owner.
Splits the payable into the original, a net payable owned by the target company, and an
optional reimbursement payable.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the payable

Body Params
uuid
required

Company to delegate to. The user must be admin/owner there.

Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Pay endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

If the deprecated company_id query parameter is also sent, both values must match;
the API returns 422 Unprocessable Entity when they disagree.

Responses

400

Bad Request — target_company_id missing.

401

Unauthorized

404

Payable not found, or target company not found / not accessible.

422

Unprocessable Entity — the delegation could not be completed.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json