POST api/clients/{clientId}/Faring/TopUp

Adds funds to a client's account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

The client's id

integer

Required

Body Parameters

The amount to add to the account

AccountAdjustment
NameDescriptionTypeAdditional information
Amount

The amount of money to add to the client's account.

decimal number

None.

Comments

The maximum amount that can be added. Set to NULL to use the paratransit application setting instead.

string

None.

MaxAmount

The maximum amount that can be added. Set to NULL to use the paratransit application setting instead.

decimal number

None.

DelegateId

Id of the delegate making the payment on behalf of the passenger.

integer

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

no content

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.