ReDoc documentation

companyCredits/{creditId}/decreaseBalance

companyCredits/{creditId}/decreaseBalance

Decreases the company credit with an Update, Reimburse, or Purchase transaction. This transaction increases company's outstanding balance and decreases company's available credit.

Request
path Parameters
creditId
required
integer
Request Body schema:
value
required
number
currency
required
string
operationType
required
integer
comment
string

[optional]

object (company-credit-data-credit-balance-options-interface)

Credit balance data transfer object interface.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/V1/companyCredits/{creditId}/decreaseBalance
Request samples
{
  • "value": 0,
  • "currency": "string",
  • "operationType": 0,
  • "comment": "string",
  • "options": {
    }
}
Response samples
true