money+

需求

将kyc的激活流程和ekyc流程集成到money+

提供API查询用户的激活状态

account

提供API查询是否满足kyc的business(ISKYCmeetbusiness)

已上线

增加是否有pending case的字段

增加ic_type字段

提供API查询kyc信息

queryfieldresult接口配置money+需要的字段

提供account激活流程和ekyc流程

用户还没有激活shopeepay

consent page-> set PP -> ekyc

shopeepay已经激活,但是被ban了

popup

用户已经激活,并且有pending的full kyc或者pending的ekyc

popup,用户的kyc状态,tag, action

用户已经有full的kyc

进入ekyc流程

用户已经有ekyc

进入money+注册流程

给money+同步account、kyc status、kyc info的变更信息

订阅API

输入

shopee uid

kyc biz info

money+在kyc注册的biz id ,secreat key

action

SUBSCRIBE

UNSUBSCRIBE

subscribe content,三种,多选

ShopeePay Account Status Change

ShopeePay KYC Status Change

ShopeePay KYC Info Change

输出

订阅事件,订阅结果啥的

然后account/kyc call back 业务方的API, 通知业务方信息变更

当用户在account中电话号码变了,approve的ekyc的信息也要自动更新

Offer auth SDK service for the Withdrawal Transactions

account

Notice the Money+ when the user's Shopee account will be closed

account

kyc 测试

订阅回调给moeny+ kyc信息/状态变化

提供订阅API订阅kyc状态和信息变更

已经上线

money+订阅kyc状态变更

partial

pending

approve

"spay_kyc_client_status":3, "spay_kyc_level":100, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

reject

none to ekyc

auto approve

检查回调接口的入参

"spay_kyc_client_status":3, "spay_kyc_level":300, "is_meet_business":true, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

ops review to approve

检查回调接口的入参

"spay_kyc_client_status":3, "spay_kyc_level":300, "is_meet_business":true, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

ops review to reject

reject reason is others

检查回调接口的入参

"spay_kyc_client_status":4, "spay_kyc_level":300, "is_meet_business":false, "spay_reject_reason":"reject by spp auto", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

spay_reject_reason has value, spay_reject_reason_key is empty

reject reason is select by reason key

检查回调接口的入参

"spay_kyc_client_status":4, "spay_kyc_level":300, "is_meet_business":false, "spay_reject_reason":"reject by spp auto", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

spay_reject_reason is empty, spay_reject_reason_key has value

pending

检查回调接口的入参

"spay_kyc_client_status":2, "spay_kyc_level":300, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

partial to full

pending

"spay_kyc_client_status":2, "spay_kyc_level":200, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

approve

"spay_kyc_client_status":3, "spay_kyc_level":200, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

reject

"spay_kyc_client_status":4, "spay_kyc_level":200, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

full to ekyc

只看最终状态,和none to ekyc结果一致

ekyc

reupload photo

pending

{"spay_kyc_client_status":2,"spay_kyc_level":300,"is_meet_business":true,"spay_reject_reason":"","spay_reject_reason_key":"","spay_delete_reason":"","spay_delete_reason_key":"","change_status_time":1666767444}

approve

{"spay_kyc_client_status":3,"spay_kyc_level":300,"is_meet_business":true,"spay_reject_reason":"","spay_reject_reason_key":"","spay_delete_reason":"","spay_delete_reason_key":"","change_status_time":1666767444}

reject

{"spay_kyc_client_status":4,"spay_kyc_level":300,"is_meet_business":true,"spay_reject_reason":"reject for testing","spay_reject_reason_key":"[\\"kyc_reject_reason_one__MY\\",\\"kyc_reject_reason_three__MY\\"]","spay_delete_reason":"","spay_delete_reason_key":"","change_status_time":1666767800}

delete

检查回调接口的入参

"spay_kyc_client_status":5, "spay_kyc_level":300, "is_meet_business":false, "spay_reject_reason":"", "spay_reject_reason_key":"", "spay_delete_reason":"", "spay_delete_reason_key":"", "change_status_time":1666755263

检查delete reason和delete reason key

delete时选择多个delete reasoon,并且选择others,填写自定义的delete reason

money+订阅kyc 信息改变

修改name

修改occupation

检查回调参数中occupation是否正确

这里传入的是occupation code:occupation

PM会提供code和name的字典给money+团队,money+团队自己转换

修改Industry

检查回调参数中nature_of_business是否正确

这里是传入的industry code

PM会提供code和name的字典给money+团队,money+团队自己转换

修改phone

修改DOB

修改gender

修改address

修改mailing address

修改nationality

approve kyc信息

修改approve case 以上信息都会调用回调接口

pending kyc信息

修改pending case 以上信息不会回调

回调逻辑

回调成功

回调返回系统错误:404,timeout等

outbox重试,直到max retry,task fail

回调失败,retcode != 0

outbox重试,直到max retry,task fail

监听account电话号码变化,修改ekyc信息

partial kyc

检查到不是ekyc,电话号码修改不会改变kyc信息

full kyc

检查到不是ekyc,电话号码修改不会改变kyc信息

ekyc

approve

检查kyc信息,phone修改

检查是否重新调用seamless individual

预期不会调用

检查是否删除接口缓存

检查history信息

Ops(ekyc_phone_change_consumer)

是否订阅

订阅了

调用money+ change info接口

没有订阅

不会调用money+change info接口

pending

approve info for this user is no ekyc, 不会修改phone number