Convert withholding to credit
POST/v1/withholdings/:id/convert-to-credit
Converts a withholding (fully or partially) into a credit on the billing account derived from the associated invoice — or, when absent, from the withholder itself. When amount_cents is omitted, converts the withholding's pending balance.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Credit generated from the withholding.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.