Alipay+ DocsAlipay+ Docs

Code Format

A Consumer-Presented Code (CPC) is composed of a code issuer ID (CII) and a consumer identification number (CIN).

The following figure shows how a consumer-presented code is formatted:

image.png

Figure 1.1 Code format

The code format has the following characteristics:

  • All the characters are numeric.
  • The length of the code varies from 17 to 32.
  • Codes with the length range from 20 to 23 and 25 to 32 are reserved for future use.

Code issuer ID

A Code Issuer ID (CII) represents who issues a consumer-presented code.

See the Code Issuer Table for all the code issuer IDs and the corresponding code issuers.

Click here to apply for a code issuer ID.

Consumer identification number

Consumer Identification Number (CIN) enables code issuers to identify users within its own account system. Code issuers can then process the payment transaction for the user, such as debit user accounts. 

Note:

Do not include any privacy information of the consumer in the consumer identification number.

Combination rules

Follow the combination rules as listed in the following table:

Table1: Combination rules of a code format

Length of CPC

Length of CII

Length of CIN

Remark

17

2

15

18

2

16

19

3

16

20

4

16

Reserved for future use

21

5

16

Reserved for future use

22

6

16

Reserved for future use

23

7

16

Reserved for future use

24

8

16

25

8

17

Reserved for future use

26

8

18

Reserved for future use

27

8

19

Reserved for future use

28

8

20

Reserved for future use

29

8

21

Reserved for future use

30

8

22

Reserved for future use

31

8

23

Reserved for future use

32

8

24

Reserved for future use

More information

Consumer-Presented Mode

Code Issuer Table

Code Sample

Transaction Processing

Terminology

Contact Us