Skip to content

6.2 generate711Barcode


Barcode generation has a validity period of 24 hours. The customer needs to generate the referenceNumber in the code returned by the API as a Code128-A barcode in their Apps.

After the withdrawal person transfers to 7-11 for payment, they can display the barcode to the store clerk to process the payment. After the salesperson scans the barcode, the payment process will not change, and it will call the payment query again before further processing.

Input parameters

parametertypelengthmustdescribe
userNamestring50YESUser name
provided by SkyPay - Ex:"userName":"AppName@skypay"
actionstring50YESCall behavior
generate711Barcode(Fixed parameter values) - Ex:"action":"generate711Barcode"
authenticationstring255YESVerification Code
Verification Key - Ex:"authentication":"E1234567-123C-1234-123F-A12345670"
contractNumberstring13~15YESPayment code
prefix code 5+8-10 digits (prefix code can be obtained from the bound email) - Ex:SKY**12345678
namestring50YESReparer's name
separated by commas。 - Last name+","+First name+","+Middle name+","+Suffix - Ex:"name":"Lardizabal,Mary Annalou B.Lardizabal,Berja,
phonestring50YESphone number
11 digit number starting with 09/08 Ex:"phone":"09270348095"
amountdecimal10.20YESamount of money
Must be the actual amount received by the user
with a maximum of two decimal places - ex:"amount":3400.00

Post data

{
: ,
: ,
: ,
: ,
: ,
: ,
:
}

Output parameters

parametertypelengthdescribe
responseTimeDateTime50Return time
yyyy-MM-dd HH:mm:ss.SSSS
responseCodeint4Return Code
System default return code, a number of 4 in length, standard reference return code definition. When the system default return code is insufficient, users can customize the code. Please start with the number 2, a number of 4 in length, and clearly describe the content of the return
responseDescriptionstring255Feedback Content Description
Response Information
referenceNumberstring50Generated Code

Output data:

{

: ,
: ,
: ,
:

}

The Code128-A barcode generated based on the referenceNumber returned by the API is as follows 711code