riverty logo

Docs

Refund Consumption

Refund consumption.

Path

PUT /v1/clients/{clientId}/consumptions/{consumptionId}/refunds/{refundId}

Request Parameters

clientId
required
integer
Your assigned `ClientId`.
consumptionId
required
string
Id of the consumption.
refundId
required
string
Id of the refund.

Responses

Successful RequestUnsuccessful Request, Incorrect/Missing Information

Request Example

    
        null
    

Response Example

    
        {
 "consumptionTotal": {
  "currencyCode": "NOK",
  "grossAmount": 125,
  "vatAmount": 25
 },
 "refundTotal": {
  "currencyCode": "NOK",
  "grossAmount": 25,
  "vatAmount": 25
 }
}