Theme switcher

Cancel ride

Header Parameters

Authorizationstring

Bearer token auth which can be used instead of sending the b2bpartner_id and key in payload

Path Parameters

ride_idstring

Body Parameters

partnerstring

[Deprecated] Use b2bpartner_id instead. Partner name as provided by hoppa contact.

b2bpartner_idstring Required

The recommended replacement for the deprecated partner field. The B2B partner ID as provided by hoppa contact.

keystring Required

The key parameter is used for authentication and authorization of the request. This will be provided by Hoppa and there is a separate key for sandbox and for production environment.

statstring

Specifies the status of the partner ride cancellation, with possible value "cancelled" indicating successful cancellation.

Response

200
Object

Success

Response Attributes

ride_idnumber

Unique identifier for the partner ride being cancelled.

statusstring

Status of the ride

cancelobject

Cancellation price details

403
Object

If no partner in body, invalid partner_name or invalid partner_key

Response Attributes

errCodenumber
errMsgstring
500
Object

system failure

Response Attributes

errCodenumber
errMsgstring
Was this section helpful?

PATCH

/

Select
1

Response

Was this section helpful?