Skip to content

Submit appointment review

Request

Security
BearerPartner
Path
record_tokenstringrequired

Short appointment token

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Bodyapplication/jsonrequired
ratinginteger, (int32)required

Rating for the review (number of stars from 1 to 5)

Example:5
textstring

Feedback text

Example:"Excellent service!"
tips_amountnumber, (double)

Tip amount

Example:22.5
redirect_prefixstring

The prefix part of the url that will be redirected to after returning from the payment form

Example:"https://n1.app.alteg.io"
curl -i -X POST \
  'https://developer.alteg.io/_mock/en/public/openapi/master_record_review/{record_token}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "rating": 5,
    "text": "Excellent service!",
    "tips_amount": 22.5,
    "redirect_prefix": "https://n1.app.alteg.io"
  }'

Responses

Review submitted successfully

Bodyapplication/json
Response
{ "success": true, "data": { "charge": {} }, "meta": [] }