Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solutionDOCS

      alipay.intl.acquiring.offline.preCreate (for third-party QR code payment)

      Call this interface to pre-create the order without the buyer's identity for a third-party merchant QR payment. Alipay returns a payment URL in the response.  Buyers can access the payment URL using Alipay wallet to confirm the order and make the payment. 


      #Request

      #Service address


      #Request head

      ParameterDescription

      version

      String(8) Required

      The API version 

      Example:2.0.4

      function

      String(128) Required

      The API name 

      Example:alipay.intl.acquiring.offline.preCreate

      clientId

      String(32) Required

      The unique ID assigned by Alipay to identify a client that makes API calls 

      Example:211xxxxxxxxxxxxxx0044

      reqTime

      Date time Required

      Request time. Date time with timezone, see RFC 3339 Section 5.6 for details 

      Example:2001-07-04T12:08:56+05:30

      reqMsgId

      String(64) Required

      Request message ID. The unique ID assigned by the client to identify a request message. Note: The reqMsgId identifies a unique system request, but it is not used to identify a unique business request 

      Example:123xxxxxxxxxxxxxxx3fda

      reserve

      String(256)

      Reserved parameter. Key-Value formatted parameter for future use. This parameter is required when you are an ISV. If you are an ISV, you need to provide the isvAccesstoken value

      Example:{"isvAccesstoken":123123123sdfsddsf}

      signType

      String(64)

      Sign type. If this field is not specified, RSA2 is used as the sign type. 

      Example:RSA2


      #Request body

      ParameterDescription

      merchantId

      String(64) Required

      The acquirer ID, assigned by Alipay. You can get this parameter value with your Alipay account. 

      Example:211xxxxxxxxxxxxxx2999

      productCode

      String(64) Required

      The payment product code. The value is OFFLINE_PAY for the third-party merchant QR code payment solution.

      Example:OFFLINE_PAY

      merchantTransId

      String(64) Required

      Merchant transaction ID. The unique ID assigned by the merchant to identify a transaction.

      Example:510xxxxxxxxxxxxx0002

      order

      Order Required

      The order information. Note: The orderAmount must be provided in the smallest common currency unit. For example, to create a charge for $1.00, you can set orderAmount.value=100 (100 cents). See Order for details 

      Example:{"seller": { "sellerId": "211xxxxxxxxxxxxxx0415", "sellerName": "Zara", "storeName": "Zara-Store #30", "sellerMCC": "5691", "terminalId": "Z98xxxxxx9745", "storeId": "211xxxxxxxxxxxxxx0415" }, "orderAmount": { "currency": "USD", "value": "239" }, "orderDetail": "New White Lace Sleeveless Cute Casual Summer Dresses Vestidos roupas femininas WQW10", "orderTitle": "Women Summer Dress"}

      settleContractId

      String(64)

      The settlement contract ID. The value is defined in the settlement contract. For example, a merchant can have one contract for USD settlement and another one for CAD settlement. If not provided, the default value specified in the settlement contract is used 

      Example:USD-1

      riskInfo

      RiskInfo

      Information about the risk. Although this parameter is optional, it is highly recommond to provide this parameter. See RiskInfo for details 

      Example:{ "deviceInfo":{ "sessionId":"26dxxxxxxxxxxxxxxxxxxxxxxxxx03e9", "serialNo":"f0xxxc9a", "clientIp":"121.0.29.220", "latitudeLongitude":"39.9151190000,116.4039630000", "idfa":"5D08BADB6-B7D1-46DE-BDAB-B66468A1EFCC", "terminalType":"APP", "deviceName":"Mike's iPhone", "deviceBrand":"APPLE", "deviceModel":"iPhone 7 Plus", "imei":"863360xxxx85012", "osName":"ios", "osVersion":"9.1.1", "wirelessNetwork":"china unicom", "wirelessCarrier":"china unicom", "flightMode":"enabled", "fingerPrintEnabled":"enabled", "deviceBootTime":"2001-07-04T12:08:56+05:30", "lastUnlockTime":"2001-07-04T12:08:56+05:30", "screenResolution":"1024*768", "isJailbreaked":"true", "macAddress":"8c:be:be:71:1f:34", "systemLanguage":"EN", "timeZone":"UTC+11" }, "userInfo":{ "signupTime":"2001-07-04T12:08:56+05:30", "lastLoginTime":"2001-07-04T12:08:56+05:30", "merchantUserId":"user0001" }, "orderInfos":[ { "productName":"iPhone 7", "productCategory":"Phone", "productSubCategory":"smart phone", "itemPrice":{ "currency":"USD", "value":"239" } } ], "riskExtendInfo":"{}"}

      notifyUrl

      String(256)

      Merchant notify URL, which is used for receiving asynchronous notifications after the payment is done

      Example:https://xxxx.xxx.com/jjjj

      userAgent

      String(1024) Required

      The user agent of the electronic wallet used for payment

      Example:Mozilla/5.0 (Linux; Android 9; LYA-AL00 Build/HUAWEILYA-AL00L; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36 NebulaSDK/1.8.100112 Nebula AlipayDefined(nt:WIFI,ws:360|0|3.0) AliApp(APHK/2.6.0.160) AlipayClientHK/2.6.0.160 Language/zh-HK useStatusBar/true isConcaveScreen/true

      merchantRedirectUrl

      String(512)

      Merchant redirect URL when the payment succeeds.

      Example:http://success.com

      sceneType

      String(32) Required

      The scene type. The value is THIRDPARTYQRCODE for the third-party merchant QR code payment solution

      Example:THIRDPARTYQRCODE

      extendInfo

      String(6000)

      Extended information, a key-value formatted parameter for future use.When information about the trade industry need to be provided, specify the tradeInformation sub fields in this field. See tradeInformation for details. 

      Example:{"chinaExtraTransInfo":{"businessType":"1","hotelName":"zlidu, sluhg-987, 889utng","checkInTime":"2018-10-20","checkOutTime":"2018-10-22"}}


      #Synchronous Response

      #Response head

      ParameterDescription

      version

      String(8) Required

      The API version

      Example:2.0.4

      function

      String(128) Required

      The API name 

      Example:alipay.intl.acquiring.offline.pay

      clientId

      String(32) Required

      The unique ID assigned by Alipay to identify a client that makes API calls 

      Example:385xxxxxxxxx0001

      respTime

      Date time Required

      Response time. Date time with timezone, see RFC 3339 Section 5.6 for details 

      Example:2001-07-04T12:08:56+05:30

      reqMsgId

      String(64) Required

      Request message ID. The unique ID assigned by client to identify a request message 

      Example:123xxxxxxxxxxxxxxx3fda

      reserve

      String(256)

      Reserved parameter. Key-Value formatted parameter for future use 

      Example:{key/value}


      #Response body

      ParameterDescription

      resultInfo

      ResultInfo Required

      Result info. See resultInfo for details 

      Example:{ "resultStatus": "S", "resultCodeId": "00000000", "resultCode":"SUCCESS", "resultMsg": "result message" }

      merchantTransId

      String(64)

      Merchant transaction ID. The unique ID assigned by the merchant to identify a transaction. Only when the transaction succeeds, this field is returned. 

      Example:510xxxxxxxxxxxxx1234

      orderQrCode

      String(1024)

      The QR code of the precreated order. Only when resultInfo.resultCode is SUCCESS, this field is returned.

      Example:https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII

      extendInfo

      String(2048)

      Extended information. Key-Value formatted parameter for future use 

      Example:{"isEnterpriseUser":"true"}

      bigPicUrl

      String(2048)

      URL for the big picture of the QR code

      Example:http://mobilecodec.alipay.com/show.htm?code=bax06253ak3kj15fkjf700a4&picSize=L

      smallPicUrl

      String(2048)

      URL for the small picture of the QR code

      Example:http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=S

      picUrl

      String(2048)

      URL for the QR code picture with a normal size 

      Example:http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=M

      acquirementId

      String(64)

      Alipay transaction ID, the unique transaction ID assigned by Alipay only when the transaction succeeds

      Example:201xxxxxxxxxxxxxxxxxxxxx2747

      createTime

      Date time

      The time when the transaction is created. Date time with timezone, see RFC 3339 Section 5.6 for details.This parameter is returned only when resultInfo.resultCode is SUCCESS

      Example:2001-07-04T12:08:56+05:30

      orderAmount

      Money

      This value must be the same as that of orderAmount passed in the request.This parameter is returned only when resultInfo.resultCode is SUCCESS.See Money for details

      Example:{"currency":"USD", "value":"239"}

      payScheme

      String(256)

      A scheme URL for wallet to complete the payment.

      Example:alipays://platformapi/startApp?appId=10000007&actionType=route&qrcode=https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII


      #Sub-parameters

      #order

      ParameterDescription

      orderAmount

      Money Required

      The order amount. See Money for details 

      Example:{ "value" : "293", "currency" : "CNY" }

      orderTitle

      String(256) Required

      The order title 

      Example:Women Summer Dress

      orderDetail

      String(400) Required

      The detailed description of the order 

      Example:New White Lace Sleeveless Cute Casual Summer Dresses Vestidos roupas femininas WQW10.

      seller

      Seller Required

      The seller information.See seller for details. 

      Example:{ "sellerId": "211xxxxxxxxxxxxxx0415", "sellerName": "Zara", "storeName": "Zara-Store #30", "sellerMCC": "5691", "terminalId": "Z98xxxxxx9745", "storeId": "211xxxxxxxxxxxxxx0415" }

      #

      #RiskInfo

      ParameterDescription

      deviceInfo

      DeviceInfo

      Device information. See DeviceInfo for details 

      Example:{ "sessionId":"26dxxxxxxxxxxxxxxxxxxxxxxxxx03e9", "serialNo":"f0xxxc9a", "clientIp":"121.0.29.220", "latitudeLongitude":"39.9151190000,116.4039630000", "idfa":"5D08BADB6-B7D1-46DE-BDAB-B66468A1EFCC", "terminalType":"APP", "deviceName":"Mike's iPhone", "deviceBrand":"APPLE", "deviceModel":"iPhone 7 Plus", "imei":"863xxxxxxxx5012", "osName":"ios", "osVersion":"9.1.1", "wirelessNetwork":"china unicom", "wirelessCarrier":"china unicom", "flightMode":"enabled", "fingerPrintEnabled":"enabled", "deviceBootTime":"2001-07-04T12:08:56+05:30", "lastUnlockTime":"2001-07-04T12:08:56+05:30", "screenResolution":"1024*768", "isJailbreaked":"true", "macAddress":"8c:be:be:71:1f:34", "systemLanguage":"EN", "timeZone":"UTC+11"}

      userInfo

      UserInfo

      Information about the user. See UserInfo for details

      Example:{ "signupTime":"2001-07-04T12:08:56+05:30", "lastLoginTime":"2001-07-04T12:08:56+05:30", "merchantUserId":"user0001"}

      orderInfos

      list<OrderInfo>

      Transaction information. See OrderInfo for details 

      Example:[ { "productName":"iPhone 7", "productCategory":"Phone", "productSubCategory":"smart phone", "itemPrice":{ "currency":"USD", "value":"239" } }]

      riskExtendInfo

      String(2048)

      Risk extend information. Key-Value formatted parameter for future use 

      Example:{Key/Value}


      #DeviceInfo

      ParameterDescription

      sessionId

      String(64)

      The session ID that identifies the device, can be obtained from the integrated Alipay device fingerprint SDK

      Example:26dxxxxxxxxxxxxxxxxx7xxxxxxx03e9

      serialNo

      String(64)

      Serial number of the device. Note: It is recommended to provide this parameter, although it is optional

      Example:f0cxec9a

      clientIp

      String(32)

      Client IP address.Note: It is recommended to provide this parameter, although it is optional 

      Example:121.0.29.220

      latitudeLongitude

      String(128)

      Latitude and longitude of the user's request to the merchant.Note: It is recommended to provide this parameter, although it is optional 

      Example:39.9151190000,116.4039630000

      idfa

      String(128)

      Advertising identifier.Note: It is recommended to provide this parameter, although it is optional 

      Example:5D08BADB6-B7D1-46DE-BDAB-B66468A1EFCC

      terminalType

      enum<TerminalType>

      Terminal type. See TerminalType for details 

      Example:APP

      deviceName

      String(256)

      Device name 

      Example:Mike's iPhone

      deviceBrand

      String(256)

      Device brand 

      Example:APPLE

      deviceModel

      String(64)

      Device model 

      Example:iPhone 7 Plus

      imei

      String(64)

      International mobile equipment identity

      Example:863xxxxxxxx5012

      osName

      String(64)

      Operating system name 

      Example:ios

      osVersion

      String(32)

      Operating system version 

      Example:9.1.1

      wirelessNetwork

      String(128)

      Wireless network 

      Example:china unicom

      wirelessCarrier

      String(128)

      Wireless carrier name 

      Example:china unicom

      flightMode

      String(32)

      Specifies whether the flight mode is enabled or not

      Example:enabled

      fingerPrintEnabled

      String(32)

      Specifies whether the finger print is enabled or not

      Example:enabled

      deviceBootTime

      Date time

      The boot time of the device 

      Example:2001-07-04T12:08:56+05:30

      lastUnlockTime

      Date time

      The last unlock time of the device 

      Example:2001-07-04T12:08:56+05:30

      screenResolution

      String(32)

      The resolution of the device screen 

      Example:1024*768

      isJailbreaked

      Boolean(32)

      Specifies whether the device is jailbreaked or not

      Example:true

      macAddress

      String(64)

      Mac address 

      Example:8c:be:be:71:1f:34

      systemLanguage

      String(64)

      Device system language 

      Example:EN

      timeZone

      String(32)

      Time zone in device settings 

      Example:UTC+11

      #

      #UserInfo

      ParameterDescription

      signupTime 

      Date time

      The user signup time, in a format of date time with timezone that follows the ISO-8601 standard. See RFC 3339 Section 5.6 for details. 

      Example:2001-07-04T12:08:56+05:30

      lastLoginTime

      Date time

      Merchant user last login time, in a format of date time with timezone that follows the ISO-8601 standard. See RFC 3339 Section 5.6 for details. 

      Example:2001-07-04T12:08:56+05:30

      merchantUserId

      String(64)

      The user ID in the merchant system 

      Example:user0001


      #OrderInfo

      ParameterDescription

      productName

      String(64)

      The product name 

      Example:iPhone7

      productCategory

      String(64)

      The category that the product belongs to 

      Example:Phone

      productSubCategory

      String(64)

      The subcategory that the product belongs to 

      Example:Smartphone

      itemPrice

      Money

      Item price. See Money for details. 

      Example:{ "value" : "297", "currency" : "CNY" }


      #TerminalType

      Name

      Type

      Description

      APP

      String

      Mobile application

      WEB

      String

      Browser web

      WAP

      String

      Mobile wap

      SYSTEM

      String

      System call

      APP_LINK

      String

      Direct jump to mobile app through universal link


      #seller

      ParameterDescription

      sellerId

      String(32) Required

      The merchant ID, assigned by acquirer to the merchant

      Example:201xxxxxxx0012

      sellerMCC

      String(32) Required

      The merchant industry. See Merchant category code for details.

      Example:5691

      sellerName

      String(128) Required

      The seller name 

      Example:Sara

      sellerEngName

      String(256)

      The English name of the seller 

      Example:Sara

      storeId

      String(32) Required

      The store ID 

      Example:123324

      storeMCC

      String(32) Required

      The merchant category code of the store. See Merchant category code for details 

      Example:1232

      storeName

      String(128) Required

      The name of the store 

      Example:new store

      storeEngName

      String(256)

      English name of the store 

      Example:new store

      terminalId

      String(64)

      The POS terminal ID 

      Example:tid-3489439085

      operatorId

      String(64)

      The operator ID 

      Example:Juliet-001


      #Money

      ParameterDescription

      currency

      String(3) Required

      The 3-letter currency code. See supported currencies for details

      Example:USD

      value

      Number(16) Required

      The amount. This value must be provided in the smallest common currency unit. For example, to create a charge for $1.00, you can set orderAmount: value=100 (100 cents) 

      Example:239


      #resultInfo

      ParameterDescription

      resultStatus

      String(2) Required

      The request status can be:S: successF: failureU: unknown

      Example:S

      resultCodeId

      String(8) Required

      An 8-digit code that is used to identify a result. When resultStatus is S, the value must be 00000000. When resultStatus is F or U, the value can be other result ID specified by the interface 

      Example:00000000

      resultCode

      String(64) Required

      The result code 

      Example:SUCCESS

      resultMsg

      String(256)

      Result message. When resultCode is S, this value can be empty. When resultCode is F or U, the error description is required

      Example:success


      #ExchangeRate

      ParameterDescription

      baseCurrency

      String(3) Required

      The base currency

      Example:USD

      exchangeCurrency

      String(3) Required

      The exchange currency 

      Example:CNY

      rate

      String(16) Required

      The exchange rate of baseCurrency against exchangeCurrency

      Example:6.9123


      #SiteEnum

      Name

      Type

      Description

      ALIPAY_CN

      String

      Alipay site for Chinese mainland 

      ALIPAY_HK

      String

      Alipay site for Hong Kong, China

      ALIPAY_SG

      String

      Alipay Singapore site

      KAKAOPAY

      String

      KakaoPay


      #tradeInformation

      ParameterDescription

      businessType

      String

      Business type. 5 types are supported.1: Hotel2: AIR3: Overseas study consulting4: Sales of goods5: Others, including all the other business types that do not fall into the above 4 categories. For example, mobile data service recharge, airport pick up service, etc.If more than one type is involved, separate type values with vertical bar (|). 

      Example:1|2|3|4|5or1

      hotelName

      String

      Hotel name that consists of numbers, letters, spaces, and special characters including ,.<>()[]/\-,. If more than one hotel name exists, separate values with vertical bar (|). Specify this field only when business_type is 1 (Hotel). 

      Example:zlidu, sluhg-987, 889utng

      checkInTime

      Date

      Check-in time. Format: yyyy-MM-dd. Timezone: GMT +8. Specify this field only when business_type is 1 (Hotel). 

      Example:2018-10-20

      checkOutTime

      Date

      Check-out time. Format: yyyy-MM-dd. Timezone: GMT +8. Specify this field only when business_type is 1 (Hotel). 

      Example:2018-10-22

      flightNumber

      String

      Flight number. If flight transfer exists, separate flight numbers with vertical bar (|). Specify this field only when business_type is 2 (AIR). 

      Example:NWS 996|TWF 8854

      departureTime

      Date

      Departure time.Format: yyyy-MM-dd HH:mmTimezone: GMT +8. If flight transfer exists, separate time values with vertical bar (|). Specify this field only when business_type is 2 (AIR).

      Example:2018-10-22 20:49

      admissionNoticeUrl

      String

      If business_type is 3 (Overseas study consulting), the URL of admission notice (image) must be specified.

      Example:https://www.iconfont.cn/search/index?test

      goodsInfo

      String

      Goods information that includes SKU names and corresponding quantities, in the format of SKU_name^quantity. If more than one goods exists, separate values with vertical bar (|). Specify this field only when business_type is 4 (Sales of goods).

      Example:pencil^2|eraser^5|iPhone XS 256G^1

      totalQuantity

      Number

      Total quantities of all goods in one order. Specify this field only when business_type is 4 (Sales of goods). 

      Example:8

      otherBusinessType

      String

      If business_type is 5 (Others), specify the business type in details. 

      Example:Airport pick up service


      #Result code

      #Functional logic result code

      resultCodeId

      resultCode

      resultStatus

      Remarks

      00000025

      REPEAT_REQ_INCONSISTENT

      F

      Repeated or inconsistent requests

      00000011

      RISK_REJECT

      F

      The payment is declined because of risk control

      12005001

      CURRENCY_NOT_SUPPORT

      F

      The transaction currency is not supported. See supported currencies for details

      12005104

      AMOUNT_EXCEED_LIMIT

      F

      The amount exceeds the limit

      12005128

      COUNT_EXCEED_LIMIT

      F

      The count exceeds the limit

      12005100

      ORDER_IS_CLOSED

      F

      The transaction status is closed

      12005003

      ORDER_STATUS_INVALID

      F

      The transaction status is invalid

      12006007

      MERCHANT_MONTHLY_AMOUNT_LIMIT_EXCEED

      F

      The monthly amount limit of merchant has been reached, cannot receive payment

      12005136

      MERCHANT_NOT_SUPPORT_ACQUIRE

      F

      The merchant is not supported to acquire.

      12005137

      USER_AGENT_NOT_SUPPORT

      F

      The user agent is not supported.


      #Basic result code

      resultCodeId

      resultCode

      resultStatus

      Remarks

      00000000

      SUCCESS

      S

      Success

      00000019

      PROCESS_FAIL

      F

      General business failure

      00000901

      UNKNOWN_EXCEPTION

      U

      API failed because of unknown reasons

      00000004

      PARAM_ILLEGAL

      F

      The parameter is incorrect.

      00000007

      INVALID_SIGNATURE

      F

      The signature is invalid.

      00000008

      KEY_NO_FOUND

      F

      The key is not found.

      00000013

      NO_INTERFACE_DEF

      F

      The API is undefined.

      00000014

      API_IS_INVALID

      F

      The API is invalid or nonactivated.

      00000016

      OAUTH_FAILED

      F

      The oAuth authentication failed

      00000021

      ACCESS_DENIED

      F

      Access denied

      12014152

      CLIENT_FORBIDDEN_ACCESS_API

      F

      The Client is not authorized to use this API.

      12014155

      UNKNOWN_CLIENT

      F

      Unknown client

      12014156

      INVALID_CLIENT_STATUS

      F

      Invalid client status

      00000024

      REQUEST_TRAFFIC_EXCEED_LIMIT

      F

      The request traffic exceeds the limit.

      00000030

      SIGN_TYPE_INVALID

      F

      The sign type is invalid.


      #Sample

      #Request sample

      copy
      {
          "request": {
              "head": {
                  "version": "2.0.4",
                  "function": "alipay.intl.acquiring.offline.preCreate",
                  "clientId": "211xxxxxxxxxxxxxx0044",
                  "reqTime": "2001-07-04T12:08:56+05:30",
                  "reqMsgId": "123xxxxxxxxxxxxxxx3fda",
                  "signType": "RSA2"
              },
              "body": {
                  "merchantId": "211xxxxxxxxxxxxxx2999",
                  "productCode": "OFFLINE_PAY",
                  "merchantTransId": "510xxxxxxxxxxxxx0002",
                  "order": {
                      "orderAmount": {
                          "currency": "USD",
                          "value": "239"
                      },
                      "seller":{
                         "sellerId": "211xxxxxxxxxxxxxx0415",
                         "sellerName": "Zara",
                         "storeName": "Zara-Store  #30",
                         "sellerMCC": "5691",
                         "terminalId": "Z98xxxxxx9745",
                         "storeId": "211xxxxxxxxxxxxxx0415"
                      },
                      "orderTitle": "Women Summer Dress",
                      "orderDetail": "New White Lace Sleeveless Cute Casual Summer Dresses Vestidos roupas femininas WQW10",
                  },
                  "settleContractId": "USD-1",
                  "riskInfo": {
                      "deviceInfo": {
                          "sessionId": "26dxxxxxxxxxxxxxxxxxxxxxxxxx03e9",
                          "serialNo": "f0c0ec9a",
                          "clientIp": "121.0.29.220",
                          "latitudeLongitude": "39.9151190000,116.4039630000",
                          "idfa": "5D08BADB6-B7D1-46DE-BDAB-B66468A1EFCC",
                          "terminalType": "APP",
                          "deviceName": "Mike's iPhone",
                          "deviceBrand": "APPLE",
                          "deviceModel": "iPhone 7 Plus",
                          "imei": "863xxxxxxxx5012",
                          "osName": "ios",
                          "osVersion": "9.1.1",
                          "wirelessNetwork": "china unicom",
                          "wirelessCarrier": "china unicom",
                          "flightMode": "enabled",
                          "fingerPrintEnabled": "enabled",
                          "deviceBootTime": "2001-07-04T12:08:56+05:30",
                          "lastUnlockTime": "2001-07-04T12:08:56+05:30",
                          "screenResolution": "1024*768",
                          "isJailbreaked": true,
                          "macAddress": "8c:be:be:71:1f:34",
                          "systemLanguage": "EN",
                          "timeZone": "UTC+11"
                      },
                      "userInfo": {
                          "signupTime": "2001-07-04T12:08:56+05:30",
                          "lastLoginTime": "2001-07-04T12:08:56+05:30",
                          "merchantUserId": "user0001"
                      },
                      "orderInfos": [
                          {
                              "productName": "iPhone 7",
                              "productCategory": "Phone",
                              "productSubCategory": "smart phone",
                              "itemPrice": {
                                  "currency": "USD",
                                  "value": "239"
                              }
                          }
                      ],
                      "riskExtendInfo": "{}"
                  },
                  "extendInfo": "{\"chinaExtraTransInfo\":{\"businessType\":\"5\"}}",
                  "notifyUrl": "http://notify.com",
                  "userAgent": "ALIPAY_HK",
                  "merchantRedirectUrl": "http://success.com",
                  "sceneType": "THIRDPARTYQRCODE"
              }
          },
          "signature": "signature string"
      }


      #Synchronous response sample

      Request succeeds:


      copy
      {
          "response":{
              "head":{
                  "version":"2.0.4",
                  "function":"alipay.intl.acquiring.offline.preCreate",
                  "clientId":"211xxxxxxxxxxxxxx0044",
                  "respTime":"2001-07-04T12:08:56+05:30",
                  "reqMsgId":"123xxxxxxxxxxxxxxx3fda",
                  "reserve":"{}"
              },
              "body":{
                  "resultInfo":{
                      "resultStatus":"S",
                      "resultCodeId":"00000000",
                      "resultCode":"SUCCESS",
                      "resultMsg":"success"
                  },
                  "merchantTransId":"510xxxxxxxxxxxxx0002",
                  "orderQrCode":"https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII",
                  "extendInfo":"{\"isEnterpriseUser\":\"true\"}",
                  "bigPicUrl":"http://mobilecodec.alipay.com/show.htm?code=bax06253ak3kj15fkjf700a4&picSize=L",
                  "smallPicUrl":"http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=S",
                  "picUrl":"http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=M",
                  "acquirementId":"201xxxxxxxxxxxxxxxxxxxxx2747",
                  "createTime":"2001-07-04T12:08:56+05:30",
                  "orderAmount":{
                      "currency":"USD", 
                      "value":"239"
                  },
                  "payScheme":"alipays://platformapi/startApp?appId=10000007&actionType=route&qrcode=https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII"
              }
          },
          "signature":"signature string"
      }


      Request fails:

      copy
      {
          "response":{
              "head":{
                  "version":"2.0.4",
                  "function":"alipay.intl.acquiring.offline.preCreate",
                  "clientId":"211xxxxxxxxxxxxxx0044",
                  "respTime":"2001-07-04T12:08:56+05:30",
                  "reqMsgId":"123xxxxxxxxxxxxxxx3fda",
                  "reserve":"{}"
              },
              "body":{
                  "resultInfo":{
                      "resultStatus":"F",
                      "resultCodeId":"00000019",
                      "resultCode":"PROCESS_FAIL",
                      "resultMsg":"General business failure"
                  },
                  "merchantTransId":"510xxxxxxxxxxxxx0002",
                  "orderQrCode":"https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII",
                  "extendInfo":"{\"isEnterpriseUser\":\"true\"}",
                  "bigPicUrl":"http://mobilecodec.alipay.com/show.htm?code=bax06253ak3kj15fkjf700a4&picSize=L",
                  "smallPicUrl":"http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=S",
                  "picUrl":"http://mobilecodec.alipay.com/show.htm?code=bax00636140jfx40pmiz518a&picSize=M",
                  "acquirementId":"201xxxxxxxxxxxxxxxxxxxxx2747",
                  "createTime":"2001-07-04T12:08:56+05:30",
                  "orderAmount":{
                      "currency":"USD", 
                      "value":"239"
                  },
                  "payScheme":"alipays://platformapi/startApp?appId=10000007&actionType=route&qrcode=https://global.alipay.com/281002042tmCd8ZkTS2sxBuzSNu431cII"
              }
          },
          "signature":"signature string"
      }