Skip to main content
POST
/
billing
/
adjustment
/
create
Create Adjustment
curl --request POST \
  --url https://api.decodahealth.com/billing/adjustment/create \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "chargeId": "<string>",
  "amount": 123,
  "reason": "<string>",
  "providerId": "<string>",
  "locationId": "<string>"
}
'
{
  "chargeId": "<string>",
  "id": "<string>",
  "amount": 123,
  "createdDate": "2023-11-07T05:31:56Z",
  "adjustmentType": "WRITE_OFF",
  "providerId": "<string>",
  "locationId": "<string>",
  "reason": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
chargeId
string
required
amount
integer
required
reason
string
required
providerId
string | null
locationId
string | null

Response

Successful Response

chargeId
string
required
id
string
required

Unique identifier for the adjustment

amount
integer
required

Amount of the adjustment

createdDate
string<date-time>
required

Date when the adjustment was created

adjustmentType
enum<string>
required

Type of the adjustment

Available options:
WRITE_OFF,
ADJUSTMENT,
EXTERNAL_SETTLEMENT
providerId
string | null
locationId
string | null
reason
string | null

Reason for the adjustment