Skip to main content
PUT
/
billing
/
tips
/
{tip_id}
Update Tip
curl --request PUT \
  --url https://api.decodahealth.com/billing/tips/{tip_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "providerId": "<string>",
  "amount": 123
}
'
{
  "chargeId": "<string>",
  "amount": 123,
  "providerId": "<string>",
  "id": "<string>",
  "provider": {
    "id": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "createdDate": "2023-11-07T05:31:56Z"
  }
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

tip_id
string
required

Body

application/json
providerId
string
required

Provider ID receiving the tip

amount
integer | null

Tip amount in cents (optional)

Response

Successful Response

chargeId
string
required

Charge ID this tip belongs to

amount
integer
required

Tip amount in cents

providerId
string
required

Provider ID receiving the tip

id
string

Unique identifier for the tip

provider
ProviderTiny · object

Provider receiving the tip