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"
}
}Update a tip’s provider or amount.
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"
}
}The tenant you are making this request on behalf of
Your api key
Successful Response
Charge ID this tip belongs to
Tip amount in cents
Provider ID receiving the tip
Unique identifier for the tip