Skip to content

Depot billingrecipients

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GET /api/v1/organization/billing/recipients

Section titled “GET /api/v1/organization/billing/recipients”

GETbilling:manageshared facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

relayRecipients forwards one request to Core under the instance bearer and writes Core’s answer back as it stands: status, content type and body, and a refusal’s reason code with it.

StatusBodyDescription
204NoneSuccess, with no body.
400application/problem+json, ProblemDetailsMalformed request body.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold billing:manage.
404application/problem+json, ProblemDetailsNo such organization.
502application/problem+json, ProblemDetailsCould not reach billing. Please try again.
503application/problem+json, ProblemDetailsBilling is unavailable: this deployment is not connected to Outpost.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/organization/billing/recipients' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

POST /api/v1/organization/billing/recipients

Section titled “POST /api/v1/organization/billing/recipients”

POSTbilling:manageshared facehosteditmspremote

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

relayRecipients forwards one request to Core under the instance bearer and writes Core’s answer back as it stands: status, content type and body, and a refusal’s reason code with it.

StatusBodyDescription
204NoneSuccess, with no body.
400application/problem+json, ProblemDetailsMalformed request body.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold billing:manage.
404application/problem+json, ProblemDetailsNo such organization.
502application/problem+json, ProblemDetailsCould not reach billing. Please try again.
503application/problem+json, ProblemDetailsBilling is unavailable: this deployment is not connected to Outpost.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
curl -X POST 'https://depot.example.com/api/v1/organization/billing/recipients' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

DELETE /api/v1/organization/billing/recipients/{publicId}

Section titled “DELETE /api/v1/organization/billing/recipients/{publicId}”

DELETEbilling:manageshared facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

relayRecipients forwards one request to Core under the instance bearer and writes Core’s answer back as it stands: status, content type and body, and a refusal’s reason code with it.

NameInTypeRequiredDescription
publicIdpathstringYes
StatusBodyDescription
204NoneSuccess, with no body.
400application/problem+json, ProblemDetailsMalformed request body.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold billing:manage.
404application/problem+json, ProblemDetailsNo such organization.
502application/problem+json, ProblemDetailsCould not reach billing. Please try again.
503application/problem+json, ProblemDetailsBilling is unavailable: this deployment is not connected to Outpost.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X DELETE 'https://depot.example.com/api/v1/organization/billing/recipients/<publicId>' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

POST /api/v1/organization/billing/recipients/{publicId}/resend

Section titled “POST /api/v1/organization/billing/recipients/{publicId}/resend”

POSTbilling:manageshared facehosteditmspremote

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

relayRecipients forwards one request to Core under the instance bearer and writes Core’s answer back as it stands: status, content type and body, and a refusal’s reason code with it.

NameInTypeRequiredDescription
publicIdpathstringYes
StatusBodyDescription
204NoneSuccess, with no body.
400application/problem+json, ProblemDetailsMalformed request body.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold billing:manage.
404application/problem+json, ProblemDetailsNo such organization.
502application/problem+json, ProblemDetailsCould not reach billing. Please try again.
503application/problem+json, ProblemDetailsBilling is unavailable: this deployment is not connected to Outpost.
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
curl -X POST 'https://depot.example.com/api/v1/organization/billing/recipients/<publicId>/resend' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.