Skip to content

Developer Documentation

3 min read

This section is for developers and technical partners integrating with the Ferry ferry-ticketing system via API. You will find connection guides, integration conventions, business workflows, and links to the reference API documentation.

Depending on your integration objective, consult the corresponding guides in the table below:

Integration goalRecommended pageKey highlights
Understand API scope and capabilitiesIntegration surface overviewBusiness groups open to partners, API key permissions, and integration boundaries
Start integration from scratchGetting started: from zero to the first bookingStep-by-step checklist from receiving a key to issuing the first ticket
Configure environmentsEnvironmentsConnection endpoints, UAT testing cautions, and operator integration status
Authenticate and manage API keysAuthentication with an API keySending keys, key format, safe key rotation, and handling authentication errors
Understand general technical conventionsGeneral conventionsCursor pagination, payload ceilings, date-time formats, currency, and idempotency
Inspect schemas and test endpointsAPI ReferenceGateway to the live interactive Scalar documentation for the Ferry system
Look up schedules and seat availabilityVoyage and seat lookupFinding voyages by route and date, retrieving seat layouts, and checking seat counts
Calculate fares and discountsFares and multi-level markupFare structure, price additions, markups, and voucher redemption rules
Implement booking workflowsBookings: the life cycle of one bookingThe order life cycle from booking creation through ticket confirmation to final status
Manage balances and paymentsMoney: balance, credit limit and debtTracking deposit balances, credit limits, and transaction history
Confirm electronic ticket issuanceTicket issuance and ordersConfirming ticket issuance with operators and retrieving e-ticket files
Handle cancellations and refundsCancellation and refundsSubmitting ticket cancellation requests and understanding refund policies
Receive automated notificationsWebhooksSubscribing to webhooks for real-time order state change events
Handle errors and unexpected issuesErrors and how to handle themStandard error code directory and network retry strategies
Comply with rate limitsRate limitsAPI invocation allowances and backoff patterns when rate-limited
Prepare for production rolloutBefore going liveFinal technical verification checklist before switching to the Production environment

Detailed technical specifications for every endpoint, request/response schemas, and an interactive in-browser testing tool are available on the Scalar UI — Ferry VN API portal.

Core business groups in Scalar corresponding to this documentation include: Voyages (schedules and voyages), Boat Layout (seat layouts), Bookings (order placement), Transactions and Debt Ledgers (cash flows and credit ledger), and Organizations (organization settings and webhooks).