Integration Guide

Basic information

Onewallet URL Scheme starts with onewallet://, as shown in the following URL structure.

You can specify the type of feature in actionPath, and required parameters for each feature in code={JSON DATA}. Refer to the description of parameters for each feature, for more information.

Add Card

Go to the automatically added card addition screen.

Action path

input?code={JSON DATA}

JSON Key

Property description

keyTypeRequiredDescription
String
CodeNumber
Int
WalletType(0 = Normal, 1 = Boarding Pass, 2 = Card)
String
BarcodeType [CODE_128, CODE_39, CODE_93, PFD_417]
String
QRType [AZTEC, DATA_MATRIX, QR_CDOE]
String
Logo Image Url
Int
RGB(666666) or ARGB(FF666666) Integer Value
String
Title
String
SubTitle
String(jsonString)
walletType 0(Normal), 1(Boarding Pass) { "key1":"title1 t", "value1":"value1 t", "key2":"title2 t", "value2":"value2 t" } walletType 2(Card) { "name":"HOLDER", "vaild_date":"VALID", "cvc":"123", }
String(jsonString)
Only walletType 1(Boarding Pass) Support { "key1":"title1 b", "value1":"value1 b", "key2":"title2 b", "value2":"value2 b", "key3":"title3 b", "value3":"value3 b", "key4":"title4 b", "value4":"value4 b" }
String
Memo
Long
Expried Timestamp

Example

Normal Type

{ 
  "backgroundColor":-14649096,
  "code":"1234567890",
  "codeType":"CODE_128",
  "logoUrl":"https://lh3.googleusercontent.com/5MlRrSa9Wm47Ig9kd9mDD9J3ekq_Pj1LXqeEJ3korTCsrc2d68HBWJYNYs6_p_fMBw\u003ds128-rw",
  "memo":"memo",
  "qrType":"QR_CODE",
  "subtitle":"desc",
  "title":"title",
  "walletType":0
}

Boarding Pass Type

{ 
  "backgroundColor":-12547848,
  "code":"1234567890",
  "codeType":"CODE_128",
  "expiredDate":1574953200000,
  "extend1":"{\"key1\":\"NYC\",\"value1\":\"New Yock City\",\"key2\":\"SFO\",\"value2\":\"San Francisco\"}",
  "extend2":"{\"key1\":\"Seat\",\"value1\":\"22A\",\"key2\":\"Flight\",\"value2\":\"475A\",\"key3\":\"Gate\",\"value3\":\"40A\",\"key4\":\"Boarding\",\"value4\":\"11:00 AM\"}",
  "logoUrl":"https://lh3.googleusercontent.com/rFdhVrgK0CY6dUL9wKIRIv2BU-fXnO7lNMbdHTRUk02tXuU6N1JlVJLTs9HwAE6tZ4Q\u003ds128-rw",
  "memo":"Memo",
  "qrType":"QR_CODE",
  "subtitle":"03 Feb",
  "title":"Passenger",
  "walletType":1
}

Card Type

{ 
  "backgroundColor":-12547848,
  "code":"34534534534567887",
  "codeType":"CODE_128",
  "extend1":"{\"name\":\"CARD HOLDER\",\"vaild_date\":\"01/20\",\"cvc\":\"123\"}",
  "logoUrl":"https://lh3.googleusercontent.com/rFdhVrgK0CY6dUL9wKIRIv2BU-fXnO7lNMbdHTRUk02tXuU6N1JlVJLTs9HwAE6tZ4Q\u003ds128-rw",
  "qrType":"QR_CODE",
  "subtitle":"VISA",
  "title":"Credit Card",
  "walletType":2
}

image