🚚
truQ Services
  • Getting Started
  • Environment
  • Status Codes
  • Booking Management
    • Trip Booking
      • Getting a Quote
      • Booking an open trip
      • Booking a standard trip
      • Booking a merchant trip
    • Payment and Order Confirmation
      • Standard trip order confirmation
      • Business trip order confirmation
  • Parameter Guide
    • Trip Types
    • Vehicle Categories
    • Source and Destination
Powered by GitBook
On this page
  1. Booking Management
  2. Payment and Order Confirmation

Business trip order confirmation

Making payment for a business trip can only be completed via a wallet checkout method. From the dashboard customers would have two payment options; pay with wallet, and payment by card, but with our API integration, only the pay with wallet option is supported. Business trips are considered as high volume trips, and commercials have already been agreed between your organisation and the onboarded businesses, with pricing configurations already setup for the business. Payment with wallet also helps your business avoid transaction charges.

The payment is applied on the tripset, which means payment is made on the total charge of all the trips on the tripset.

Payment via wallet checkout

This payment method uses the user's virtual wallet to make payment. Virtual wallets have an available and ledger balance. The money value required for the trip is confirmed on the available balance, and deducted from the wallet. If there is no sufficient balance in the available wallet balance, the payment confirmation cannot be processed nor completed.

Endpoint
https://dodge.truq.it/booking-service/business/business-tripset/{tripset_id}/walletcheckout/
-H "Authorization: Bearer YOUR_SECRET_KEY"
-H "Organisation: YOUR_REFERENCE"
-X POST
Response body
{
    "status": "SUCCESS",
    "message": "Trip payment successful. Assigning to driver..."
}

Last updated 1 year ago