Call this interface to query the registration status of secondary merchants for in-store payments.
The partner ID that is assigned by Alipay to identify an Alipay account. The partner ID is composed of 16 digits and begins with 2088.
The charset with which the request data are encoded. UTF-8, GBK, and GB2312 are supported.
Sign type. RSA, RSA2 and MD5 are supported. Use uppercase.
The time when the merchant server sends the request. The time is in GMT+8, with a format of yyyy-MM-dd HH:mm:ss. By default, the request expires in 30 minutes.
The unique ID assigned by the partner to identify a secondary merchant. The ID can contain letters, numbers, and underscores, but special characters or spaces are not allowed. Note: It is strongly suggested to keep the value within 20 bytes, for the convenience of management.
The store ID assigned by the partner to identify a store, which needs to be unique for each group of PID and MID. This field is required when the value of payment_method is INSTORE_PAYMENT.
Payment method of the secondary merchant, the value is INSTORE_PAYMENT for offline payments.
#Business error codes
Required parameters are not entered or illegal parameters are entered. The illegal parameter might be too long, or with incorrect format.
Action: Enter the correct parameters and send the request again.
No data exist for the queried secondary merchant because the merchant is not registered.
Action: Register the secondary merchant to Alipay system before you query the registration status.
Alipay system error
Action: Try again later.
The request succeeds and the query result is returned:
Failed to get the query result: