Payment Method Details
Revoke some or all of the remainder of an existing credit grant.
Route (URL) Parameters
|account||n/a||The id or the vid of the Account to retrieve||Yes|
|account||n/a||The id or the vid of the Credit to revoke/reduce||Yes|
Not specifying a credit will cause CashBox to revoke credit on the oldest “grant” and continue until the full amount specified has been removed (up to the total credit balance on the account - excess amounts are ignored).
JSON An (existing) Credit sub-resource. This request supports the same arguments as 'credit_grant’ (a full Credit object) excepting the behavior of the ids; providing an id or vid in the URL indicates to CashBox that this is an revocation. Providing a negative value will reduce or revoke that amount from the remainder of the existing credit.
JSON An (existing) Credit sub-resource representing the status after the change.