调用ListOpenPlatformConfig查询支付宝、微信开放平台配置。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListOpenPlatformConfig

系统规定参数。取值:ListOpenPlatformConfig。

SpaceId String 0e16bb12-14af-****-b24c-5ac1a9a7bb9f

服务空间ID。

Platform String Alipay

平台。可选值:

  • Alipay
  • Wechat

返回数据

名称 类型 示例值 描述
RequestId String 2540E86F-2CD4-44AC-A7AB-59CAF40C225D

请求ID。

SecretList Array

密钥列表。

AppId String 201909116717****

小程序ID。

PrivateKey String MIIEvgIBADANBgkqhkiG9w0BAQEFAAS

私钥。

PublicKey String MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ

公钥。

SpaceId String 0e16bb12-14af-****-b24c-5ac1a9a7bb9f

服务空间ID。

Platform String Alipay

平台。

AppSecret String 1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO

应用密钥。

示例

请求示例

http(s)://[Endpoint]/?Action=ListOpenPlatformConfig
&SpaceId=0e16bb12-14af-****-b24c-5ac1a9a7bb9f
&Platform=Alipay
&<公共请求参数>

正常返回示例

XML 格式

<HttpStatusCode>200</HttpStatusCode>
<RequestId>2540E86F-2CD4-44AC-A7AB-59CAF40C225D</RequestId>
<Success>true</Success>
<SecretList>
    <PublicKey>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlo8fPV47SR2gARAlHskQBsz0vLJYqOqoU6qv85udkYM***********************************osz5QMuW7MhqACKNZxWf0xFzHblCawTBSPNRHNL0Y3dWhBi+EltpoemoCOirFk41a3J3hbQd/GhD7xvnTVM66nTv+KLgPsyxDjhwcX2YA2ZMizDQ79t+d+JU6d0mw8h6tu7RopnmYRgO2pLIeuKwGZQLTLeuGv42RvcaYYpWV7Y9JobANe3DZL31nX26ZpK6RLajxJnjS/GebFvMkU1mWBs9mXJ/ZoN4oBrKasGhsgQXKbP6oHIzqO6vNx20MUcVInRWSzgoeCWngIzJrrTqPxwIDAQAB</PublicKey>
    <AppId>201909116717****</AppId>
    <PrivateKey>MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCs47k4iCAzQ52ieLt74YBGrMEJjhrZ0xKOw************************************9gMJ2Ez26Qjzy0XNrCuzItGjnV+awr6b/S1oB6L9DweF9raIaU8pil9WC2T1urLxLnn15MfNJq2SqB8VVm+dDnnzNqcxoWv6kKsRZE69ZyO0nYT4DxQ1iYihMWemTqPBj+/jXCpm1+f7MSJi1zwVKgvl6ZBOFKY25RBlKogS4nUXQl/dItUsVjvhkUZVa9eQEz5Mj+/b9s+0SjEK/dLu45rBnP+NxbOzySRMWypLSeLsxgDcPvKGc1q/ybpuh7F9417OoL8uKqMiJtAgMBAAECggEBAJW*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************KZ0viKML/lDfCjoEi8TxSBkbAPeyl2ce+2hVwxwmADJlL0wlcIQl5d1l0CgYBCiKGNPw6NOy/XTd/r1ipSZESpNvblX2eL3vYwn/f12xQofRKokZDoXjZzi0yNxcxC9iBgpNSeBY+EbtXz7Dc7zI3edDpAT6B4HMMPg6xj3+LFxuPknAQagrxF7e9fJwtd9lZ/VzyEhhhivXseMsdEYktgyp5Sj8wtCCvXUdN5sQKBgEcRJKUa0nlJSZrHoaFdSSzzR7vTXhWeZAbH7Y+LklghV9vop9MikPJYkbJPFkywqgUJL5ibbQkcstz+SvdAH2tseBckNPNuET/hO8s+x99lYUbWikTwmpuRh2g8rB3b4rEOJ09jGe4TNgPInCI5AWmeBbV5IlDGjdIt8y2FyUns</PrivateKey>
    <Platform>Alipay</Platform>
    <SpaceId>0e16bb12-14af-****-b24c-5ac1a9a7bb9f</SpaceId>
</SecretList>
<Code>OK</Code>

JSON 格式

{
	"HttpStatusCode": "200",
	"RequestId": "2540E86F-2CD4-44AC-A7AB-59CAF40C225D",
	"Success": true,
	"SecretList": [
		{
			"PublicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlo8fPV47SR2gARAlHskQBsz0vLJYqOqoU6qv85udkYM***********************************osz5QMuW7MhqACKNZxWf0xFzHblCawTBSPNRHNL0Y3dWhBi+EltpoemoCOirFk41a3J3hbQd/GhD7xvnTVM66nTv+KLgPsyxDjhwcX2YA2ZMizDQ79t+d+JU6d0mw8h6tu7RopnmYRgO2pLIeuKwGZQLTLeuGv42RvcaYYpWV7Y9JobANe3DZL31nX26ZpK6RLajxJnjS/GebFvMkU1mWBs9mXJ/ZoN4oBrKasGhsgQXKbP6oHIzqO6vNx20MUcVInRWSzgoeCWngIzJrrTqPxwIDAQAB",
			"AppId": "201909116717****",
			"PrivateKey": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCs47k4iCAzQ52ieLt74YBGrMEJjhrZ0xKOw************************************9gMJ2Ez26Qjzy0XNrCuzItGjnV+awr6b/S1oB6L9DweF9raIaU8pil9WC2T1urLxLnn15MfNJq2SqB8VVm+dDnnzNqcxoWv6kKsRZE69ZyO0nYT4DxQ1iYihMWemTqPBj+/jXCpm1+f7MSJi1zwVKgvl6ZBOFKY25RBlKogS4nUXQl/dItUsVjvhkUZVa9eQEz5Mj+/b9s+0SjEK/dLu45rBnP+NxbOzySRMWypLSeLsxgDcPvKGc1q/ybpuh7F9417OoL8uKqMiJtAgMBAAECggEBAJW*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************KZ0viKML/lDfCjoEi8TxSBkbAPeyl2ce+2hVwxwmADJlL0wlcIQl5d1l0CgYBCiKGNPw6NOy/XTd/r1ipSZESpNvblX2eL3vYwn/f12xQofRKokZDoXjZzi0yNxcxC9iBgpNSeBY+EbtXz7Dc7zI3edDpAT6B4HMMPg6xj3+LFxuPknAQagrxF7e9fJwtd9lZ/VzyEhhhivXseMsdEYktgyp5Sj8wtCCvXUdN5sQKBgEcRJKUa0nlJSZrHoaFdSSzzR7vTXhWeZAbH7Y+LklghV9vop9MikPJYkbJPFkywqgUJL5ibbQkcstz+SvdAH2tseBckNPNuET/hO8s+x99lYUbWikTwmpuRh2g8rB3b4rEOJ09jGe4TNgPInCI5AWmeBbV5IlDGjdIt8y2FyUns",
			"Platform": "Alipay",
			"SpaceId": "0e16bb12-14af-****-b24c-5ac1a9a7bb9f"
		}
	],
	"Code": "OK"
}