Create an Open Credit Balance
Use this method to create an Open Credit Balance for a specific Customer.
Valid Tokens: Company.
Related Articles
-
How to Issue a Customer Credit (Knowledge Base)
-
Process a Refund (Knowledge Base)
-
Apply Open Credits to a Payment (Knowledge Base)
-
Common Actions with Credits (Knowledge Base)
-
Approve, Reject, or Reopen Credits (Knowledge Base)
Request
URL: https://api.kometsales.com/api/open.credit.balance.create
Method: POST
Content-Type: application/JSON
Input Parameters
authenticationToken (required)(string:50)
Komet Sales security token.
customerCode (required)(string:20)
Customer Code.
openCredits (required)
An array containing open credits with their corresponding information.
The maximum amount of credits is 50 per request.
date (date)
Credit date.
Date format: YYYY-MM-DD
balance (integer)
Total credit amount.
{
"authenticationToken": "62ljmkn5f3adf978a7vidpob6l",
"customerCode" : "FL219",
"openCredits" : [{
"date": "2017-09-16",
"balance": 450.999
},
{
"date": "2017-09-10",
"balance": 1800
}]
}
Response
message (string:500)
Transaction status description.
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
{
"message": "Open Credits Balance Adjustment was successfully saved.",
"status": 1
}
Peacock