API List Overview

Below are the overview of APIs you might use, please use as appropriate.

1. Via Brand Channel

API Type

API

Description

  1. Authorization

NA

NA

  1. Membership Card

/{Merchant’s tag}/points/membercard/create

A webhook you provided to AlipayHK for creating membership in your system.

/api/open/alipay/v1/ipass/pass/manage/createPass

Use this API to create membership card in AlipayHK app.

/api/open/alipay/v1/ipass/pass/manage/updatePass

Use this API to update the membership card in AlipayHK app.

  1. Transaction Data

/{Merchant’s tag}/points/bill/notify

A webhook you provided to AlipayHK for sending transaction information of authorized user.


2 Via Mini-App

API Type

API

Description

  1. Authorization

JSAPI: my.getAuthCode

  • scope: auth_base & SCOPE_USER_BILL

API: /api/open/v2/authorizations/applyToken

Use these APIs to get user authorization.

  1. Membership card

/api/open/alipay/v1/ipass/pass/manage/createPass

Use this API to create membership card in AlipayHK app.

/api/open/alipay/v1/ipass/pass/manage/updatePass

Use this API to update the membership card in AlipayHK app.

  1. Transaction data

/{Merchant’s tag}/points/bill/notify

A webhook you provided to AlipayHK for sending transaction information of authorized user.