沙箱调试
支付有礼沙箱调试说明
业务用例
指定支付成功页推广商家券
创建推广计划
{
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_base_info": {
"delivery_end_time": "2022-10-28 16:00:11",
"delivery_name": "支付有礼指定支付成功页推广券",
"delivery_begin_time": "2022-08-29 16:00:11"
},
"delivery_play_config": {
"delivery_full_send_config": {
"delivery_floor_amount": "1.00",
"delivery_content_info": {
"delivery_content_type": "ACTIVITY",
"delivery_activity_content": {
"activity_id": "2022092800826004586300207814"
}
}
}
},
"delivery_target_rule": {
"delivery_merchant_rule": {
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}]
},
"delivery_city_code_rule": {
"city_codes": ["431200"]
}
},
"merchant_access_mode": "SELF_MODE",
"out_biz_no": "202209285906888968"
}
{
"alipay_marketing_activity_delivery_create_response": {
"msg": "Success",
"code": "10000",
"delivery_id": "2022092800826029586300081225"
}
}
接收推广计划审核通过通知
{
"delivery_id": "2022092800826029586300081225",
"out_biz_no": "202209285906888968",
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_status": "ACTIVE",
"event_time": "1664352012121"
}
查询推广计划详情
{
"merchant_access_mode": "SELF_MODE",
"delivery_id": "2022092800826029586300081225"
}
{
"alipay_marketing_activity_delivery_query_response": {
"msg": "Success",
"delivery_base_info": {
"delivery_end_time": "2022-10-28 16:00:11",
"delivery_name": "支付有礼指定支付成功页推广券",
"delivery_begin_time": "2022-08-29 16:00:11"
},
"code": "10000",
"delivery_id": "2022092800826029586300081225",
"delivery_play_config": {
"delivery_full_send_config": {
"delivery_floor_amount": "1.00",
"delivery_content_info": {
"delivery_content_type": "ACTIVITY",
"delivery_activity_content": {
"activity_id": "2022092800826004586300207814"
}
}
}
},
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_target_rule": {
"delivery_city_code_rule": {
"city_codes": [
"431200"
]
},
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}],
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"delivery_available_scope": {
"delivery_available_city_code": {
"city_codes": [
"431200"
]
},
"delivery_available_scope_type": "CITY_CODE"
},
"delivery_merchant_rule": {
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}],
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"brand_id_list": [
"2088102175963583"
]
},
"brand_id_list": [
"2088102175963583"
]
},
"delivery_status": "ACTIVE"
}
}
停止推广计划
{
"merchant_access_mode": "SELF_MODE",
"delivery_id": "2022092800826029586300081225",
"out_biz_no": "202209285906888968"
}
{
"alipay_marketing_activity_delivery_stop_response": {
"msg": "Success",
"code": "10000",
"delivery_id": "2022092800826029586300081225"
}
}
指定订单推广商家券
创建推广计划
{
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_base_info": {
"delivery_end_time": "2022-10-28 16:00:11",
"delivery_name": "支付有礼指定订单推广商家券测试",
"delivery_begin_time": "2022-08-29 16:00:11"
},
"delivery_play_config": {
"delivery_single_send_config": {
"delivery_content_info": {
"delivery_content_type": "ACTIVITY",
"delivery_activity_content": {
"activity_id": "2022092800826004586300207814"
}
}
}
},
"delivery_target_rule": {
"delivery_merchant_rule": {
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}]
},
"delivery_city_code_rule": {
"city_codes": ["100100"],
"all_city": ""
},
"delivery_promo_tags": "memberLevel1,memberLevel2"
},
"merchant_access_mode": "SELF_MODE",
"out_biz_no": "202209288561898390"
}
{
"alipay_marketing_activity_delivery_create_response": {
"msg": "Success",
"code": "10000",
"delivery_id": "2022092800826029586300081226"
}
}
接收推广计划审核通过通知
{
"delivery_id": "2022092800826029586300081226",
"out_biz_no": "202209288561898390",
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_status": "ACTIVE",
"event_time": "1664352013125"
}
查询推广计划详情
{
"merchant_access_mode": "SELF_MODE",
"delivery_id": "2022092800826029586300081226"
}
{
"alipay_marketing_activity_delivery_query_response": {
"msg": "Success",
"delivery_base_info": {
"delivery_end_time": "2022-10-28 16:00:11",
"delivery_name": "支付有礼指定订单推广商家券测试",
"delivery_begin_time": "2022-08-29 16:00:11"
},
"code": "10000",
"delivery_id": "2022092800826029586300081226",
"delivery_play_config": {
"delivery_single_send_config": {
"delivery_content_config": {
"delivery_send_guide": {
"delivery_guide_url": "alipays://platformapi/startapp?appId=2017052601000815&page=/index/path/path&query=12%3d21"
}
},
"delivery_content_info": {
"delivery_content_type": "ACTIVITY",
"delivery_activity_content": {
"activity_id": "2022092800826004586300207814"
}
}
}
},
"delivery_booth_code": "PAYMENT_RESULT",
"delivery_target_rule": {
"delivery_city_code_rule": {
"city_codes": [
"100100"
]
},
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}],
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"delivery_available_scope": {
"delivery_available_city_code": {
"city_codes": [
"100100"
]
},
"delivery_available_scope_type": "CITY_CODE"
},
"delivery_merchant_rule": {
"delivery_merchant_infos": [{
"merchant_id_type": "PID",
"merchant_id": "2088102175963583"
}],
"delivery_merchant_mode": "MANUAL_INPUT_MERCHANT",
"brand_id_list": [
"2088102175963583"
]
},
"brand_id_list": [
"2088102175963583"
],
"delivery_promo_tags": "memberLevel1,memberLevel2"
},
"delivery_status": "ACTIVE"
}
}
停止推广计划
{
"merchant_access_mode": "SELF_MODE",
"delivery_id": "2022092800826029586300081226",
"out_biz_no": "202209288561898390"
}
{
"alipay_marketing_activity_delivery_stop_response": {
"msg": "Success",
"code": "10000",
"delivery_id": "2022092800826029586300081226"
}
}
修改于 2023-11-22 02:18:55