支付宝企业转账/红包/单笔转账到用户接口详解

2023-10-11 14:37:23 浏览数 (1)

代码语言:javascript复制
传递参数:
{
	"order_title": "扫码领红包",
	"biz_scene": "DIRECT_TRANSFER",
	"remark": "扫码领红包",
	"out_biz_no": "db1873cf85984ac8a24ff1653343e786",
	"trans_amount": "0.1",
	"product_code": "TRANS_ACCOUNT_NO_PWD",
	"payee_info": {
		"identity": "2088612477411337",
		"identityType": "ALIPAY_USER_ID"
	}
}
调用成功
接口返回:
{
	"success": true,
	"value": {
		"body": "{"alipay_fund_trans_uni_transfer_response":{"code":"10000","msg":"Success","order_id":"20191115110070000006040050105202","out_biz_no":"db1873cf85984ac8a24ff1653343e786","pay_fund_order_id":"20191115110070001506040049801906","status":"SUCCESS","trans_date":"2019-11-15 10:41:39"},"alipay_cert_sn":"e67e87751c905c95d28dbed1682b2053","sign":"mcUiIOUHQ5M2qkCVf69XX1WVjhe3b1MMN7ER/ PEN21HK4U6GeDDZ01GaLRf0vTl3tRQ o3qRasgENOLwDDi8DSmiXmTS7N60Iu8A/jb6CHoBgLzfNQGVOjdGKY 62iB2PBCNesUuGGlURVXxWpBzyj89VirnKWtizYi6FbvyjrB2lbq8EUEjRd6SNRMG1kfag5mBNfv kGsp 6g/axnW/QCmynxswhyi2Jav7rBVXSbfFDgXZ/hCv3GZwptsaO7epMkbPWhCre7goqPl6RVymWd8Ga3eLLWQEOdp7Yn0pFH2XCeq5EfM6W7e/1dfeNw8ya0H2A8IFhRxHmIx2pM w=="}",
		"code": "10000",
		"errorCode": "10000",
		"msg": "Success",
		"orderId": "20191115110070000006040050105202",
		"outBizNo": "db1873cf85984ac8a24ff1653343e786",
		"params": {
			"biz_content": "{"biz_scene":"DIRECT_TRANSFER","order_title":"扫码领红包","out_biz_no":"db1873cf85984ac8a24ff1653343e786","payee_info":{"identity":"2088612477411337","identity_type":"ALIPAY_USER_ID"},"product_code":"TRANS_ACCOUNT_NO_PWD","remark":"扫码领红包","trans_amount":"0.1"}"
		},
		"payFundOrderId": "20191115110070001506040049801906",
		"status": "SUCCESS",
		"success": true,
		"transDate": "2019-11-15 10:41:39"
	}
}



查询单据:
传递参数:
{
	"biz_scene": "DIRECT_TRANSFER",
	"product_code": "TRANS_ACCOUNT_NO_PWD",
	"out_biz_no": "db1873cf85984ac8a24ff1653343e786"
}
接口返回:
{
	"success": true,
	"value": {
		"body": "{"alipay_fund_trans_common_query_response":{"code":"10000","msg":"Success","order_id":"20191115110070000006040050105202","out_biz_no":"db1873cf85984ac8a24ff1653343e786","pay_date":"2019-11-15 10:41:39","pay_fund_order_id":"20191115110070001506040049801906","status":"SUCCESS","trans_amount":"0.10"},"alipay_cert_sn":"e67e87751c905c95d28dbed1682b2053","sign":"koYu4ti2nKRxtFwEBfg1ZdOJ0UvhVSxnNbca27ocRT 8yjaLxgW8Sz5UixZMcssv4xop3bhfoRWl54sw01E49g4yOp9XowN/NL4qIwyAvvKm5PohZZObCb2Saz09Mq6beUCkalhBzjZ2Ayq4VZRRCJRpVUjI57dfeHG1cmwiTinlKpmkvsp WXvvDZv8WvP0NmlT7I/NUmgddtV8szxqTZY8pUfd2dHHYAqT6QkNUwahXSlFvlnjsNsjlOZhpfCUS 178gG52jd0VS2wjSuF5NEqCtSvtg06utTRquEkyabeRqVM63gHjet3Wh4/09SDozHmW97L0doZgsxhI1khOA=="}",
		"code": "10000",
		"msg": "Success",
		"orderId": "20191115110070000006040050105202",
		"outBizNo": "db1873cf85984ac8a24ff1653343e786",
		"params": {
			"biz_content": "{"biz_scene":"DIRECT_TRANSFER","out_biz_no":"db1873cf85984ac8a24ff1653343e786","product_code":"TRANS_ACCOUNT_NO_PWD"}"
		},
		"payDate": "2019-11-15 10:41:39",
		"payFundOrderId": "20191115110070001506040049801906",
		"status": "SUCCESS",
		"success": true,
		"transAmount": "0.10"
	}
}


账户余额查询:
传递参数:{"account_type":"ACCTRANS_ACCOUNT","alipay_user_id":"2088531756559042"}
接口返回:
{
	"success": true,
	"value": {
		"availableAmount": "8.96",
		"body": "{"alipay_fund_account_query_response":{"code":"10000","msg":"Success","available_amount":"8.96"},"alipay_cert_sn":"e67e87751c905c95d28dbed1682b2053","sign":"mlh/UZMMtsCWqvpviR2AzwQvei/wI0P0i1 JcJMeGBI/oENRS4dl86JzPpFCwdJ0bDWBKGU640TEaqldAWjMxj8WwvYX4oMj XbhM wrgWwIyKFgoSYxfBLl3k HQ0mD7fL617R9H3b qejntHwLpoctvO6fYS72gJqoqfxsCPuWkumg7W4bRwkzCcJ/pSVxQDSLusVMkGSkUMm8gicMaVGGyY4WmKOsJTMvtncCE4 S29DHg81tRUOilwRzIIydcTgviLewCNvEB1Ey QIkYXgVSnfZWiYouTeB2bEZWE/EtmLVQi7k CnYp/AjkF/5CplmICYKNEWNWMACtyzBvw=="}",
		"code": "10000",
		"errorCode": "10000",
		"msg": "Success",
		"params": {
			"biz_content": "{"account_type":"ACCTRANS_ACCOUNT","alipay_user_id":"2088531756559042"}"
		},
		"success": true
	}
}

0 人点赞