Connect Huawei Wallet Kit via Rest API

Wallet Kit

Pass Functions

Integration Progress

1. Retrofit Integration

1.1 Adding Retrofit 2 Implementation

1.2 Generating Retrofit Network Layer

2. Wallet Kit Integration

  • Create flight model
  • Create flight instance
  • Get flight instance list

2.1 Creating Data Models

  • Create Model and Create Instance Post Request
  • Create Model ,Create Instance and Get Instance List Response Data Model
  • Bearer Token Data Model

2.2 Generate Bearer Token

  • Generate Bearer Token

2.3 Create Flight Model

2.4 Create Instance

2.5 Get Instance List

Reference :



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store