付款方

创建付款方

端点目标 URL

生产环境请求地址:POST https://api.futurepay.global/api/v1/payer/create

字段说明

调用的特定输入参数

字段名称必填类 型描述
merchantReferenceMstring商户请求流水号,不能重复
payerTypeOint付款人类型,固定为「合作伙伴」, 枚举值为:7
identityNationalityCodeMstring付款方证件所在国家的国际标准化组织(ISO)国家代码(如US代表美国,CN代表中国 ISO 3166-1 标准)
firstNameMstring付款方名字
lastNameMstring付款方姓式
identityNumberMstring付款方证件号码
identitySexMstring付款方性别(1-男性,2-女性)
identityTypeMstring付款方证件类型(1-身份证,2-护照)
identityBirthdayMstring付款方出生日期(yyyy-MM-dd格式)
residenceCountryCodeMstring付款方居住所在国家的国际标准化组织(ISO)国家代码(如US代表美国,CN代表中国 ISO 3166-1 标准)
residenceAddressMstring付款方详细居住地址

响应data参数

字段名类型说明
merchantReferenceString商户请求流水号
payerIdString付款方Id
resultCodeString付款方状态,ACCEPT(通过) REJECT(禁止) REVIEW(等待中)

集成

创建付款方调用输入

{   
    "merchantReference":"81092123hkjhaew124",
    "identityNationalityCode":"CN",
    "firstName":"jorn",
    "lastName":"huyawe",
    "identityNumber":"G22222224CHN85101",
    "identitySex":"1",
    "identityType":"2",
    "identityBirthday":"2025-01-22",
    "residenceCountryCode":"CN",
    "residenceAddress":"广东省广州市越秀区东风中路305号"
}

创建付款方调用输出

{
    "code": "0",
    "msg": "success",
    "serverTime": 1738828807346,
    "data": {
        "merchantReference": "81092123hkjhaew124",
        "payerId": "314",
        "resultCode": "REVIEW"
    },
    "success": true

在创建付款人后,请及时调用文件上传接口上传人员证件信息;文件上传

查询付款方

端点目标 URL

字段说明

调用的特定输入参数

字段名称必填类 型描述
merchantReferenceMstring创建付款方时商户提交的请求流水号

响应data参数

字段名类型说明
merchantReferenceString商户请求流水号
payerIdString付款方Id
resultCodeString付款方状态,ACCEPT(通过) REJECT(禁止) REVIEW(等待中)

集成

查询付款方调用输入

{
    "merchantReference":"81092123hkjhaew124"
}

查询付款方调用输出

{
    "code": "0",
    "msg": "success",
    "serverTime": 1738829399457,
    "data": {
        "merchantReference": "81092123hkjhaew124",
        "payerId": "314",
        "resultCode": "REVIEW"
    },
    "success": true
}

WEBHOOK

{
    "appId":"1864861460728012800",
    "merchantId":"1864861460719644672",
    "notificationItems":[
        {
            "eventCode":"CREATE_PAYER_RESULT",
            "eventDate":1737613810829,
            "merchantReference":"81092123hkjhaew124",
            "payerId":314,
            "resultCode":"ACCEPT"
        }
    ]
}