/
/oauth2
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1mo ago · Updated 1mo ago
Auth1
Single Search3
  • getGet Transaction Status
  • postCard Payment API
  • postAuthorize Transaction (3D Secure)
  • postTokenize Card [Recurrents]
  • postPurchase [Recurrents]
  • getGet Transactions
  • getGet Transaction V2
  • postCreate Bill
  • getGet Invoice Details
  • getGet Billers
  • getGet Biller Payment Item
  • postCustomer Validation
  • getGet Billers Categories
  • postCreate Voucher (E pins)
  • getGet Bank Codes
  • postSingle Transfer
  • postBulk Transfer
  • postChange Pin
  • postGet Balance
  • postGet Balance Statement
  • postGet Offer - ILS Call to Providers
  • postLogin
  • postCreate Route
  • postCreate Vehicle
  • postAssign Validator

Create Route

Endpoint to create bus route and set fare

post/route

Request body

RAW_BODYstring json
sourcestring json
destinationstring json
farenumber double

Fare amount

Response

200

messagestring
routeIdinteger

Example response

{
  "message": "Request Successful",
  "routeId": 1
}

Changes