Skip to main content
POST
/
billing
/
tips
/
create
Create Tip
curl --request POST \
  --url https://api.decodahealth.com/billing/tips/create \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "chargeId": "<string>",
  "amount": 123,
  "providerId": "<string>"
}
'
{
  "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

Body

application/json
chargeId
string
required

Charge ID this tip belongs to

amount
integer
required

Tip amount in cents

providerId
string
required

Provider ID receiving the tip

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