Update credit
PATCH/v1/credits/:id
Adjusts the credit (type, amount, description or expiration). amount_cents can only change if the credit has not been partially used — otherwise the API responds with 400.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Credit updated.
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.