1. Air ticket booking APIs
PKFARE Flight Buyer API
  • Guides
    • Quick Start
    • PKFARE Buyer API Integration Process and UAT Guide
    • Tricks for Playing with PKFARE API
    • Book air tickets with ancillaries
    • Raise refund requests
    • Raise change requests
    • Receive flight rescheduled notification
    • Add Paid Bags after the Booking
    • Branded Fare Integration Guide
  • API Reference
    • Air ticket booking APIs
      • TicketIssuanceNotify_V3
      • Shopping V10
        POST
      • PrecisePricing V12
        POST
      • Penalty V4
        POST
      • PreciseBooking V8
        POST
      • CancelOrder
        POST
      • OrderPricing V6
        POST
      • Ticketing
        POST
      • OrderDetail V14
        POST
      • RequestTicketing
        POST
      • ModifyOrderStatus
        POST
      • WalletBalance
        POST
    • Ancillary booking APIs
      • AncillaryStatusPush
      • AncillaryPricing V7
      • AncillaryBooking
      • CancelAncillaryOrder
      • AncillaryTicketing
      • AncillaryOrderDetail
    • Flight schedule change APIs
      • ScheduleChangeNotify
      • GetScheduleChangeReply
      • GetScheduleChangeList
      • AcknowledgeScheduleChange
      • AcceptScheduleChange
    • Refund APIs
      • RefundResultNotify
      • ReimbursedResultNotify
      • Refund Pricing
      • CheckRefundPricing
      • RefundRequest
      • CheckRefund
      • CheckReimbursed
      • DownloadAttachmentFile API
      • UploadAttachmentFile API
    • Change APIs
      • ChangeResultPush
      • Change Reshop
      • Change Request
      • Change Passenger Info
      • Change Reprice
      • ChangeRepricePush
    • Void APIs
      • ReimbursedResultPush
      • VoidRequest
    • Cache APIs
      • CacheShopping
      • ValidateItinerary API
    • APIs with all versions
      • CheckInInfoPush
      • Raise change requests Copy
      • Shopping
        • Shopping
        • Shopping_V2
        • Shopping_V4
        • Shopping V7
        • Shopping V9
        • Shopping V8
      • PrecisePricing
        • PrecisePricing
        • PrecisePricing_V2
        • PrecisePricing_V6
        • PrecisePricing V9
        • PrecisePricing V10
        • PrecisePricing V11
      • Penalty
        • Penalty
        • Penalty V2
        • Penalty V3
      • PreciseBooking
        • PreciseBooking
        • PreciseBooking_V2
        • PreciseBooking_V5
        • PreciseBooking V6
        • PreciseBooking V7
      • OrderPricing
        • OrderPricing_V2
        • OrderPricing V4
        • OrderPricing V5
      • Ticketing
        • Ticketing
      • TicketNumPush
        • TicketingNumPush
        • TicketingNumPush_V2
        • TicketingNumPush_V3
        • TicketIssuanceNotify
        • TicketIssuanceNotify_V2
      • CancelOrder
        • CancelOrder
      • OrderDetail
        • OrderDetail_V2
        • OrderDetail_V3
        • OrderDetail_V4
        • OrderDetail_V5
        • Json_OrderDetail_V7
        • Json_OrderDetail_V8
        • OrderDetail V9
        • OrderDetail V13
      • AncillaryPricing
        • AncillaryPricing
        • AncillaryPricing V5
        • AncillaryPricing V6
      • AncillaryBooking
        • AncillaryBooking
      • CancelAncillaryOrder
        • CancelAncillaryOrder
      • AncillaryTicketing
        • AncillaryTicketing_V2
      • AncillaryStatusPush
        • AncillaryStatusPush
      • AncillaryOrderDetail
        • AncillaryOrderDetail
      • RequestTicketing
        • RequestTicketing
      • ScheduleChangeNotify
        • ScheduleChangeNotify
      • GetScheduleChangeList
        • GetScheduleChangeList
      • AcknowledgeScheduleChange
        • AcknowledgeScheduleChange
      • AcceptScheduleChange
        • AcceptScheduleChange
      • GetScheduleChangeReply
        • GetScheduleChangeReply
      • RefundPricing
        • RefundPricing
      • CheckRefundPricing
        • CheckRefundPricing
      • RefundRequest
        • RefundRequest
      • RefundResultNotify
        • RefundResultNotify
      • CheckRefund
        • CheckRefund
      • ReimbursedResultNotify
        • ReimbursedResultNotify
      • CheckReimbursed
        • CheckReimbursed
      • UploadAttachmentFile
        • UploadAttachmentFile
      • DownloadAttachmentFile
        • DownloadAttachmentFile
      • ChangeReshop
        • ChangeReshop
      • ChangeRequest
        • ChangeRequest
      • ChangePassengerInfo
        • ChangePassengerInfo
      • VoidRequest
        • VoidRequest
        • VoidRequest_V2
      • ReimbursedResultPush
        • ReimburseResultPush_V2
  • Development Instructions
    • Signature
    • Order Status Explanation
    • Booking errors explanation and suggestions
    • Price Breakdown Explanation
    • Airlines available from PKFARE
    • PKFARE Operation Notice
    • How to retrieve airlines'PNR and ticket numbers
    • PKFARE Buyer API solutionId Usage Guide
  • Notice
    • Release Note
  • Schemas
    • Schemas
      • ShoppingReq
      • Result«ShoppingResult»
      • Authentication
      • SearchDTO
      • JourneysDTO_1
      • PassengersDTO
      • ShoppingResult
      • SegmentsDTO
      • SolutionsDTO
      • BaggageDTO
      • ConditionsDTO
      • ChangeDTO
      • OtherDTO
      • RefundDTO
      • JourneysDTO
      • SegmentInfoDTO
  1. Air ticket booking APIs

WalletBalance

POST
/json/walletBalance

Function#

Through the Wallet Balance API, you can check the wallet balance details of the main buyer and sub-buyers.

Error Code List#

errorCodeerrorMsg
0ok
B207PKFARE wallet not activated

Request

Body Params application/json

Example
{
    "authentication": {
        "sign": "{{sign}}",
        "partnerId": "{{partnerId}}"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.pkfare.com/json/walletBalance' \
--header 'Content-Type: application/json' \
--data '{
    "authentication": {
        "sign": "",
        "partnerId": ""
    }
}'

Responses

🟢200success
application/json
Bodyapplication/json

Examples
{
  "errorCode": "0",
  "errorMsg": "success",
  "data": {
    "mainWallet": [
      {
        "buyerCode": "BUYER_MAIN_001",
        "currency": "CNY",
        "accountStatus": "VALID",
        "availableBalance": 9999743325.65,
        "withdrawableBalance": 9999743325.65,
        "cashBalance": 9999743325.65,
        "creditBalance": 0.00,
        "temporaryCreditBalance": 0.00,
        "depositBalance": 0.00
      }
    ],
    "subBuyerWallets": [
      {
        "buyerCode": "sub_buyer_test1",
        "status": "VALID",
        "type": "SEPARATE",
        "creditBalance": 0.00,
        "cashBalance": 5630.00,
        "availableBalance": 5630.00,
        "withdrawableBalance": 5630.00
      },
      {
        "buyerCode": "sub_buyer_test1",
        "status": "Valid",
        "type": "SHARED"
      }
    ]
  }
}
🟢200Error
Modified at 2026-11-13 02:19:51
Previous
ModifyOrderStatus
Next
AncillaryStatusPush