{
"success": true,
"data": [
{
"id": 15286063,
"name": "Account",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID"
},
"legal_entity": {
"$ref": "#/definitions/15286065",
"description": "实名信息"
},
"status": {
"type": "string",
"description": "账户状态",
"enum": [
"SUBMITTED",
"ACTIVE",
"FAILED",
"SUSPENDED",
"TERMINATED"
],
"x-apifox": {
"enumDescriptions": {
"SUBMITTED": "已提交",
"ACTIVE": "激活",
"FAILED": "失败",
"SUSPENDED": "冻结",
"TERMINATED": "关闭"
}
}
},
"reason": {
"type": [
"string",
"null"
],
"description": "认证失败原因"
},
"create_time": {
"type": "string",
"description": "账户创建时间,格式:2020-01-01T01:01:01+00:00"
},
"update_time": {
"type": "string",
"description": "账户最近更新时间,格式:2020-01-01T01:01:01+00:00"
},
"request_id": {
"type": "string",
"description": "请求ID"
}
},
"required": [
"id",
"legal_entity",
"status",
"reason",
"create_time",
"update_time",
"request_id"
],
"x-apifox-orders": [
"id",
"request_id",
"legal_entity",
"status",
"reason",
"create_time",
"update_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 24,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2025-01-11T08:51:44.000Z",
"visibility": "INHERITED"
},
{
"id": 15286064,
"name": "Pagination",
"displayName": "",
"jsonSchema": {
"required": [
"page",
"size",
"total_elements",
"total_pages"
],
"type": "object",
"properties": {
"total_elements": {
"type": "integer",
"format": "int64"
},
"total_pages": {
"type": "integer",
"format": "int32"
},
"page": {
"type": "integer",
"format": "int32"
},
"size": {
"type": "integer",
"format": "int32"
}
},
"x-apifox-orders": [
"page",
"size",
"total_elements",
"total_pages"
]
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 162,
"creatorId": 351185,
"editorId": 351185,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-02-04T09:23:58.000Z",
"visibility": "INHERITED"
},
{
"id": 15286065,
"name": "LegalEntity",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "实体类型",
"enum": [
"PERSON",
"COMPANY"
],
"x-apifox": {
"enumDescriptions": {
"PERSON": "个人",
"COMPANY": "企业"
}
}
},
"region": {
"type": "string",
"description": "国家地区代码(填写值请参考 ISO 3166-1 alpha-2)"
},
"name": {
"type": "string",
"description": "姓名 或 企业名称"
},
"company_name_en": {
"type": "string",
"description": "[企业] 企业英文名\n支持 a-z, A-Z, 0-9 / - ? : ( ) . , + 空格"
},
"dob": {
"type": "string",
"description": "出生日期 或 企业成立日期(格式为 2020-01-01)"
},
"gender": {
"description": "[个人] 性别",
"type": [
"string",
"null"
],
"enum": [
"MALE",
"FEMALE"
]
},
"email": {
"type": "string",
"description": "邮箱"
},
"phone_country": {
"type": [
"string",
"null"
],
"description": "填写值请参考 Country Calling Codes"
},
"phone": {
"type": "string",
"description": "联系方式"
},
"address": {
"type": "string",
"description": "居住地址 或 企业注册地址"
},
"occupation": {
"description": "[个人] 职业",
"type": [
"string",
"null"
],
"enum": [
"党的机关、国家机关、群众团体和社会组织、企事业单位负责人",
"专业技术人员",
"办事人员和有关人员",
"社会生产服务和生活服务人员",
"农、林、牧、渔业生产及辅助人员",
"生产制造及有关人员",
"军人",
"不便分类的其他从业人员"
]
},
"company_type": {
"type": [
"string",
"null"
],
"description": "[企业] 企业类型",
"enum": [
"有限责任公司",
"合资企业",
"外资企业",
"国有企业",
"私营企业",
"股份制企业",
"集体所有制企业",
"个体工商户",
"其他"
],
"x-apifox": {
"enumDescriptions": {
"有限责任公司": "",
"合资企业": "",
"外资企业": "",
"国有企业": "",
"私营企业": "",
"股份制企业": "",
"集体所有制企业": "",
"个体工商户": "",
"其他": ""
}
}
},
"business_scope": {
"type": "string",
"description": "[企业] 经营范围"
},
"industry": {
"description": "[企业必输] 所属行业",
"type": [
"string",
"null"
],
"enum": [
"农、林、牧、渔业",
"采矿业",
"制造业",
"电力、热力、燃气及水生产和供应业",
"建筑业",
"批发和零售业",
"交通运输、仓储和邮政业",
"住宿和餐饮业",
"信息传输、软件和信息技术服务业",
"金融业",
"房地产业",
"租赁和商务服务业",
"科学研究和技术服务业",
"水利、环境和公共设施管理业",
"居民服务、修理和其他服务业",
"教育",
"卫生和社会工作",
"文化、体育和娱乐业",
"公共管理、社会保障和社会组织",
"国际组织"
]
},
"website": {
"description": "[企业] 公司网址",
"type": [
"string",
"null"
]
},
"id_type": {
"description": "[个人] 证件类型",
"type": [
"string",
"null"
],
"enum": [
"ID_CARD",
"PASSPORT"
]
},
"id_card_number": {
"description": "[个人] 身份证号",
"type": [
"string",
"null"
]
},
"id_card_front_image": {
"description": "[个人] 身份证正面图片",
"type": [
"string",
"null"
]
},
"id_card_back_image": {
"description": "[个人] 身份证背面图片",
"type": [
"string",
"null"
]
},
"id_card_handheld_image": {
"description": "[个人] 身份证手持图片",
"type": [
"string",
"null"
]
},
"passport_number": {
"description": "[个人] 护照号",
"type": [
"string",
"null"
]
},
"passport_front_image": {
"description": "[个人] 护照正面图片",
"type": [
"string",
"null"
]
},
"passport_handheld_image": {
"description": "[个人] 护照手持图片",
"type": [
"string",
"null"
]
},
"license_number": {
"description": "[大陆企业] 营业执照号",
"type": [
"string",
"null"
]
},
"license_image": {
"description": "[大陆企业] 营业执照图片",
"type": [
"string",
"null"
]
},
"br_number": {
"description": "[香港企业] 商业登记证编号",
"type": [
"string",
"null"
]
},
"br_image": {
"description": "[香港企业] 商业登记证",
"type": [
"string",
"null"
]
},
"cr_number": {
"description": "[非大陆企业] 公司注册证明书编号",
"type": [
"string",
"null"
]
},
"cr_image": {
"description": "[非大陆企业] 公司注册证明书照片",
"type": [
"string",
"null"
]
},
"nc1_images": {
"description": "[非大陆企业] 法团成立表格",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"ownership_structure_image": {
"description": "[企业] 企业股权架构图",
"type": [
"string",
"null"
]
},
"aoa": {
"description": "[香港企业] 公司章程 (文件)",
"type": [
"string",
"null"
]
},
"issue_date": {
"type": "string",
"description": "证件发行日期"
},
"expiry_date": {
"type": "string",
"description": "证件失效日期"
},
"issue_agency": {
"type": "string",
"description": "[个人] 证件发行机构"
},
"documents": {
"description": "[企业] 补充材料",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"owner": {
"description": "[企业] 法人或董事",
"oneOf": [
{
"description": "[企业] 法人或董事",
"$ref": "#/definitions/15286066",
"x-apifox-overrides": {}
},
{
"type": "null"
}
],
"x-apifox-overrides": {},
"$ref": "#/definitions/15286066"
},
"shareholders": {
"description": "[企业] 股东",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/15286067",
"x-apifox-overrides": {}
}
},
"address_proof_image": {
"type": "string",
"description": "地址证明"
}
},
"x-apifox-orders": [
"type",
"region",
"name",
"company_name_en",
"dob",
"gender",
"email",
"phone_country",
"phone",
"address",
"address_proof_image",
"occupation",
"company_type",
"business_scope",
"industry",
"website",
"id_type",
"id_card_number",
"id_card_front_image",
"id_card_back_image",
"id_card_handheld_image",
"passport_number",
"passport_front_image",
"passport_handheld_image",
"license_number",
"license_image",
"br_number",
"br_image",
"cr_number",
"cr_image",
"nc1_images",
"ownership_structure_image",
"aoa",
"issue_date",
"expiry_date",
"issue_agency",
"documents",
"owner",
"shareholders"
],
"required": [
"type",
"region",
"name",
"dob",
"email",
"phone",
"address",
"issue_date",
"expiry_date",
"issue_agency",
"company_name_en"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 60,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-08-15T09:30:09.000Z",
"visibility": "INHERITED"
},
{
"id": 15286066,
"name": "Owner",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "实体类型",
"enum": [
"PERSON"
]
},
"region": {
"type": "string",
"description": "国籍",
"enum": [
"CN",
"HK"
]
},
"name": {
"type": "string",
"description": "姓名"
},
"dob": {
"type": "string",
"description": "出生日期:格式 2020-01-01"
},
"address": {
"type": "string",
"description": "居住地址"
},
"id_type": {
"type": "string",
"description": "[个人] 证件类型",
"enum": [
"ID_CARD",
"PASSPORT"
]
},
"id_card_number": {
"type": "string",
"description": "[个人] 身份证号"
},
"id_card_front_image": {
"type": "string",
"description": "[个人] 身份证正面图片"
},
"id_card_back_image": {
"type": "string",
"description": "[个人] 身份证背面图片"
},
"id_card_handheld_image": {
"type": "string",
"description": "[个人] 身份证手持图片"
},
"passport_number": {
"type": "string",
"description": "[个人] 护照号"
},
"passport_front_image": {
"type": "string",
"description": "[个人] 护照正面图片"
},
"passport_handheld_image": {
"type": "string",
"description": "[个人] 护照手持图片"
},
"issue_date": {
"type": "string",
"description": "证件发行日期"
},
"expiry_date": {
"type": "string",
"description": "证件失效日期"
},
"issue_agency": {
"type": "string",
"description": "证件发行机构"
},
"address_proof_image": {
"type": "string",
"description": "地址证明"
}
},
"x-apifox-orders": [
"type",
"region",
"name",
"dob",
"address",
"address_proof_image",
"id_type",
"id_card_number",
"id_card_front_image",
"id_card_back_image",
"id_card_handheld_image",
"passport_number",
"passport_front_image",
"passport_handheld_image",
"issue_date",
"expiry_date",
"issue_agency"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 54,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-08-23T04:09:39.000Z",
"visibility": "INHERITED"
},
{
"id": 15286067,
"name": "Shareholder",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "姓名"
},
"type": {
"type": "string",
"description": "PERSON"
},
"dob": {
"type": "string",
"description": "出生日期"
},
"region": {
"type": "string",
"description": "国家地区代码(填写值请参考 ISO 3166-1 alpha-2)"
},
"address": {
"type": "string",
"description": "地址"
},
"id_type": {
"type": "string",
"description": "证件类型"
},
"issue_date": {
"type": "string",
"description": "发行日期"
},
"expiry_date": {
"type": "string",
"description": "过期日期"
},
"issue_agency": {
"type": "string",
"description": "发行机构"
},
"id_card_number": {
"type": "string",
"description": "身份证号码(证件类型为身份证时)"
},
"passport_number": {
"type": "string",
"description": "护照号码(证件类型为护照时)"
},
"id_card_front_image": {
"type": "string",
"description": "身份证正面图片地址"
},
"id_card_back_image": {
"type": "string",
"description": "身份证背面图片地址"
},
"passport_front_image": {
"type": "string",
"description": "护照正面图片地址"
},
"ratio": {
"type": "string",
"description": "占股比 0~1 之间"
},
"address_proof_image": {
"type": "string",
"description": "地址证明"
}
},
"required": [
"name",
"type",
"dob",
"region",
"address",
"id_type",
"issue_date",
"expiry_date",
"issue_agency",
"id_card_number",
"passport_number",
"id_card_front_image",
"id_card_back_image",
"passport_front_image",
"ratio"
],
"x-apifox-orders": [
"name",
"type",
"dob",
"region",
"address",
"address_proof_image",
"id_type",
"issue_date",
"expiry_date",
"issue_agency",
"id_card_number",
"passport_number",
"id_card_front_image",
"id_card_back_image",
"passport_front_image",
"ratio"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 126,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-12-13T07:28:02.000Z",
"visibility": "INHERITED"
},
{
"id": 15286068,
"name": "Application",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "申请 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"reference": {
"description": "商户可保存信息",
"type": [
"string",
"null"
]
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"purpose": {
"type": "string",
"title": "",
"description": "开户目的",
"enum": [
"ECOMM_PLATFORM",
"ECOMM_STANDALONE",
"B2B",
"RETAIL",
"WHOLESALE",
"B2C_ONLINE",
"B2C_ONLINE_OFFLINE"
],
"x-apifox": {
"enumDescriptions": {
"ECOMM_PLATFORM": "线上电商平台收款",
"ECOMM_STANDALONE": "线上独立站收款",
"B2B": "B2B 收款",
"RETAIL": "实体零售收款",
"WHOLESALE": "实体批发收款",
"B2C_ONLINE": "",
"B2C_ONLINE_OFFLINE": ""
}
}
},
"currency": {
"type": "string",
"description": "币种"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"LOCAL",
"SWIFT",
"WECHAT_PAY"
],
"x-apifox": {
"enumDescriptions": {
"LOCAL": "",
"SWIFT": "",
"WECHAT_PAY": ""
}
}
},
"additional_info": {
"description": "扩展信息",
"x-apifox-overrides": {},
"type": "object",
"properties": {
"online_sales_method": {
"description": "线上销售方式(线上必填,支持多选,按英文逗号分隔)",
"type": [
"string",
"null"
],
"enum": [
"AMAZON",
"EBAY",
"ALI_EXPRESS",
"ALIBABA",
"MERCARI",
"ETSY",
"SHOPIFY",
"SELF_BUILD",
"APP",
"OFFICIAL_ACCOUNT",
"MINI_PROGRAM"
],
"x-apifox": {
"enumDescriptions": {
"AMAZON": "",
"EBAY": "",
"ALI_EXPRESS": "",
"ALIBABA": "",
"MERCARI": "",
"ETSY": "",
"SHOPIFY": "",
"SELF_BUILD": "",
"APP": "",
"OFFICIAL_ACCOUNT": "",
"MINI_PROGRAM": ""
}
}
},
"offline_sales_method": {
"description": "线下销售方式(开户目的为 B2B, RETAIL, WHOLESALE 时必填)",
"type": [
"string",
"null"
]
},
"website_url": {
"description": "网站链接/店铺链接(线上销售必填,AMAZON 除外)",
"type": [
"string",
"null"
]
},
"store_name": {
"description": "店铺名(线上销售必填)",
"type": [
"string",
"null"
]
},
"store_address": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "经营地址所在国家或地区"
},
"state_or_province": {
"type": "string",
"description": "经营地址所在省或州"
},
"city": {
"type": "string",
"description": "经营地址所在城市"
},
"street": {
"type": "string",
"description": "经营地址所在街道(英文填写)"
},
"zip_code": {
"type": "string",
"description": "经营地址所在邮编"
}
},
"required": [
"region",
"state_or_province",
"city",
"street",
"zip_code"
],
"x-apifox-orders": [
"region",
"state_or_province",
"city",
"street",
"zip_code"
],
"description": "店铺经营地址"
},
"app_download_url": {
"type": [
"string",
"null"
],
"description": "APP 下载地址"
},
"mini_program": {
"type": [
"string",
"null"
],
"description": "小程序"
},
"official_account": {
"type": [
"string",
"null"
],
"description": "公众号"
},
"store_photos": {
"type": "array",
"items": {
"type": "string"
},
"description": "店铺照片(线上销售为持有人截图、线下销售为实体店照片)"
},
"business_category": {
"type": "string",
"description": "经营品类",
"enum": [
"纺织、服装及日化用品专门销售",
"文化、体育用品及器材专门销售",
"五金、家具及室内装饰材料专门销售",
"食品、饮料及烟草制品专门销售",
"珠宝首饰、贵金属、钟表销售",
"医药及医疗器材专门销售",
"软件、CD光盘、APP应用程序",
"电子新闻、电子书、电子杂志、股票和财务信息",
"音乐、视频、电视节目",
"搜索服务、云服务",
"网络游戏的虚拟产品和服务(如:充值、点卡)",
"二手产品销售",
"汽车、摩托车、燃料及零配件专门销售",
"家用电器及电子产品专门销售",
"综合销售及其他销售业"
],
"x-apifox": {
"enumDescriptions": {
"纺织、服装及日化用品专门销售": "",
"文化、体育用品及器材专门销售": "",
"五金、家具及室内装饰材料专门销售": "",
"食品、饮料及烟草制品专门销售": "",
"珠宝首饰、贵金属、钟表销售": "",
"医药及医疗器材专门销售": "",
"软件、CD光盘、APP应用程序": "",
"电子新闻、电子书、电子杂志、股票和财务信息": "",
"音乐、视频、电视节目": "",
"搜索服务、云服务": "",
"网络游戏的虚拟产品和服务(如:充值、点卡)": "",
"二手产品销售": "",
"汽车、摩托车、燃料及零配件专门销售": "",
"家用电器及电子产品专门销售": "",
"综合销售及其他销售业": ""
}
}
},
"business_regions": {
"type": "array",
"items": {
"type": "string"
},
"description": "经营国家或地区"
},
"payer_party": {
"type": "string",
"description": "资金结算方",
"enum": [
"AMAZON",
"MERCARI",
"PAYPAL",
"STRIPE",
"ADYEN",
"ETSY",
"WECHAT_PAY",
"PERSON",
"COMPANY",
"BOTH",
"OTHER"
],
"x-apifox": {
"enumDescriptions": {
"AMAZON": "",
"MERCARI": "",
"PAYPAL": "",
"STRIPE": "",
"ADYEN": "",
"ETSY": "",
"WECHAT_PAY": "",
"PERSON": "",
"COMPANY": "",
"BOTH": "",
"OTHER": ""
}
}
},
"payer_party_account": {
"type": [
"string",
"null"
],
"description": "资金结算平台所注册的账户(例如:AMAZON 为 Seller ID, PAYPAL 为 PayPal 账户)"
},
"funds_regions": {
"description": "资金来源国家或地区",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"funds_type": {
"type": [
"string",
"null"
],
"description": "资金来源性质<br/>INVESTMENT: 投资<br/>SHAREHOLDER: 股东<br/>BUSINESS: 经营<br/>OTHER: 其它<br/>",
"enum": [
"INVESTMENT",
"SHAREHOLDER",
"BUSINESS",
"OTHER"
],
"x-apifox": {
"enumDescriptions": {
"INVESTMENT": "投资",
"SHAREHOLDER": "股东",
"BUSINESS": "经营",
"OTHER": "其它"
}
}
},
"monthly_transaction_count": {
"description": "预估月交易笔数",
"type": [
"string",
"null"
]
},
"monthly_transaction_amount": {
"description": "预估月交易金额(单位为元人民币)",
"type": [
"string",
"null"
]
},
"documents": {
"description": "证明材料",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"abbreviated_company_name": {
"type": [
"string",
"null"
],
"description": "公司简称"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"online_sales_method",
"offline_sales_method",
"website_url",
"store_name",
"store_address",
"app_download_url",
"mini_program",
"official_account",
"store_photos",
"business_category",
"business_regions",
"payer_party",
"payer_party_account",
"funds_regions",
"funds_type",
"monthly_transaction_count",
"monthly_transaction_amount",
"documents",
"abbreviated_company_name"
],
"required": [
"store_address",
"store_photos",
"business_category",
"business_regions",
"payer_party"
]
},
"status": {
"type": "string",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "",
"SUCCESS": "",
"FAILED": ""
}
},
"description": "状态"
},
"reason": {
"type": "string",
"description": "失败原因"
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "更新时间"
}
},
"required": [
"id",
"request_id",
"account_id",
"purpose",
"currency",
"payment_type",
"additional_info",
"status",
"reason",
"create_time",
"update_time"
],
"x-apifox-orders": [
"id",
"request_id",
"reference",
"account_id",
"purpose",
"currency",
"payment_type",
"additional_info",
"status",
"reason",
"create_time",
"update_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 78,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-08-18T02:54:07.000Z",
"visibility": "INHERITED"
},
{
"id": 15286069,
"name": "Balance",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"amount": {
"type": "string",
"description": "余额(分)"
},
"currency": {
"type": "string",
"description": "币种"
},
"type": {
"type": "string",
"description": "业务类型"
}
},
"required": [
"amount",
"currency",
"type"
],
"x-apifox-orders": [
"amount",
"currency",
"type"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 66,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286070,
"name": "Purpose",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"seller_id": {
"type": "string",
"description": "亚马逊店铺 Seller ID"
},
"store_name": {
"type": "string",
"description": "店铺名"
},
"paypal_account": {
"type": "string",
"description": "PayPal 账号"
},
"website_url": {
"type": "string",
"description": "店铺链接"
},
"business_scope": {
"type": "string",
"description": "经营范围"
}
},
"required": [
"seller_id",
"store_name",
"paypal_account",
"website_url",
"business_scope"
],
"x-apifox-orders": [
"seller_id",
"store_name",
"paypal_account",
"website_url",
"business_scope"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 18,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286071,
"name": "BankAccount",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"application_id": {
"type": "string",
"description": "申请 ID"
},
"account_holder_name": {
"type": "string",
"description": "账户名"
},
"account_number": {
"type": "string",
"description": "账户号"
},
"bank_name": {
"type": "string",
"description": "银行名"
},
"bank_location": {
"type": "string",
"description": "银行地址"
},
"currency": {
"type": "string",
"description": "币种"
},
"bic_number": {
"type": "string",
"description": "路由号(电商用)(即将废弃,请使用 routing_codes)"
},
"swift_code": {
"type": "string",
"description": "SWIFT code"
},
"wire_routing_code": {
"type": "string",
"description": "Wire routing code(即将废弃,请使用 routing_codes)"
},
"sort_code": {
"type": "string",
"description": "Sort code(即将废弃,请使用 routing_codes)"
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "最近更新时间"
},
"currencies": {
"type": "array",
"items": {
"type": "string"
},
"description": "币种"
},
"payment_type": {
"type": "string",
"description": "regular / priority",
"enum": [
"regular",
"priority"
],
"x-apifox": {
"enumDescriptions": {
"regular": "",
"priority": ""
}
}
},
"routing_codes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ABA",
"WIRE",
"SORT_CODE",
"BANK_CODE",
"BRANCH_CODE"
],
"x-apifox": {
"enumDescriptions": {
"ABA": "",
"WIRE": "",
"SORT_CODE": "",
"BANK_CODE": "",
"BRANCH_CODE": ""
}
}
},
"value": {
"type": "string"
}
},
"x-apifox-orders": [
"type",
"value"
],
"required": [
"type",
"value"
]
},
"description": "路由号(综合了 bic_number, wire_routing_code 和 sort_code)"
}
},
"required": [
"id",
"account_id",
"application_id",
"account_holder_name",
"account_number",
"bank_name",
"bank_location",
"currency",
"bic_number",
"swift_code",
"wire_routing_code",
"sort_code",
"create_time",
"update_time",
"currencies",
"payment_type",
"routing_codes"
],
"x-apifox-orders": [
"id",
"account_id",
"application_id",
"account_holder_name",
"account_number",
"bank_name",
"bank_location",
"currency",
"currencies",
"payment_type",
"swift_code",
"bic_number",
"wire_routing_code",
"sort_code",
"routing_codes",
"create_time",
"update_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 84,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-01-23T03:02:20.000Z",
"visibility": "INHERITED"
},
{
"id": 15286072,
"name": "Deposit",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "订单 ID"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"bank_account_id": {
"type": "string",
"description": "收款账户 ID"
},
"account_number": {
"type": "string",
"description": "收款账号"
},
"bic_number": {
"type": "string",
"description": "收款路由号"
},
"amount": {
"type": "integer",
"description": "金额,单位为分 amount = inward_amount-fee"
},
"currency": {
"type": "string",
"description": "币种"
},
"payer": {
"type": "string",
"description": "付款信息",
"mock": {
"mock": "格式:{sender.name};{sender.address};{sender.country};{sender.account_number} or {sender.iban};{sender.bic};{sender.routing_code};附言"
},
"examples": [
"格式:{sender.name};{sender.address};{sender.country};{sender.account_number} or {sender.iban};{sender.bic};{sender.routing_code};附言"
]
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "更新时间"
},
"completed_time": {
"type": "string",
"description": "完成时间"
},
"inward_amount": {
"type": "integer",
"description": "到账金额"
},
"fee": {
"type": "integer",
"description": "手续费,单位为分"
},
"clearing_system": {
"type": "string",
"enum": [
"FPS",
"RTGS",
"ACT",
"TT"
],
"x-apifox": {
"enumDescriptions": {
"FPS": "",
"RTGS": "",
"ACT": "",
"TT": ""
}
},
"description": "清算方式"
},
"payment_type": {
"type": "string",
"description": "付款类型",
"enum": [
"LOCAL",
"SWIFT"
],
"x-apifox": {
"enumDescriptions": {
"LOCAL": "",
"SWIFT": ""
}
}
},
"order_type": {
"type": "string",
"description": "订单类型(2024-11-26 上线)",
"enum": [
"DEPOSIT",
"REFUND"
],
"x-apifox": {
"enumDescriptions": {
"DEPOSIT": "入账",
"REFUND": "退款"
}
}
},
"payment_id": {
"type": [
"string",
"null"
],
"description": "退款关联付款单ID (2024-11-26 上线)"
}
},
"required": [
"id",
"order_no",
"account_id",
"bank_account_id",
"account_number",
"bic_number",
"amount",
"currency",
"payer",
"create_time",
"update_time",
"completed_time",
"inward_amount",
"fee",
"order_type"
],
"x-apifox-orders": [
"id",
"order_no",
"account_id",
"bank_account_id",
"account_number",
"bic_number",
"inward_amount",
"fee",
"amount",
"currency",
"payer",
"clearing_system",
"payment_type",
"order_type",
"payment_id",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 42,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-11-26T03:44:30.000Z",
"visibility": "INHERITED"
},
{
"id": 15286073,
"name": "Beneficiary",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"legal_entity_type": {
"type": "string",
"description": "账户类型",
"enum": [
"PERSON",
"COMPANY"
],
"x-apifox": {
"enumDescriptions": {
"PERSON": "",
"COMPANY": ""
}
}
},
"payment_type": {
"description": "付款方式",
"type": [
"string",
"null"
],
"enum": [
"LOCAL",
"SWIFT"
],
"x-apifox": {
"enumDescriptions": {
"LOCAL": "",
"SWIFT": ""
}
}
},
"region": {
"type": "string",
"description": "地区"
},
"currency": {
"type": "string",
"description": "币种"
},
"bank_name": {
"type": "string",
"description": "银行名称"
},
"bank_branch_name": {
"description": "银行支行名称",
"type": [
"string",
"null"
]
},
"bank_location": {
"description": "银行地址",
"type": [
"string",
"null"
]
},
"account_holder_name": {
"type": "string",
"description": "银行账户持有人 (支持填写汉字 英文字母大小写 空格 英文符号 ! # $ % ‘ ( ) * + , - . / : ; ‘= ? @ [ ] ^ _ ` { } ~ 其它均不支持)"
},
"account_number": {
"type": "string",
"description": "银行账号/IBAN"
},
"bic_number": {
"description": "路由号/SWIFT",
"type": [
"string",
"null"
]
},
"aba": {
"description": "ABA",
"type": [
"string",
"null"
]
},
"sort_code": {
"description": "Sort Code",
"type": [
"string",
"null"
]
},
"id_number": {
"description": "收款方证件号",
"type": [
"string",
"null"
]
},
"cnaps_code": {
"type": "string",
"description": "联行号[企业人民币付款必填]"
},
"mobile": {
"description": "收款方联系方式",
"type": [
"string",
"null"
]
},
"first_name": {
"description": "收款方 first name",
"type": [
"string",
"null"
]
},
"last_name": {
"description": "收款方 last name",
"type": [
"string",
"null"
]
},
"state_or_province": {
"description": "收款方所在州或省",
"type": [
"string",
"null"
]
},
"city": {
"description": "收款方所在城市",
"type": [
"string",
"null"
]
},
"address": {
"description": "收款方所在地址 (支持填写汉字 英文字母大小写 空格 英文符号 ! # $ % ‘ ( ) * + , - . / : ; ‘= ? @ [ ] ^ _ ` { } ~ 其它均不支持)",
"type": [
"string",
"null"
]
},
"zip_code": {
"description": "收款方所在地邮编",
"type": [
"string",
"null"
]
},
"relationship": {
"type": [
"string",
"null"
],
"description": "与收款方关系",
"enum": [
"Sharehold / Director",
"Parent Company to holding company",
"Subsidiary",
"Business partners",
"Employer",
"Relatives",
"Colleague"
],
"x-apifox": {
"enumDescriptions": {
"Sharehold / Director": "公司法人/董事",
"Parent Company to holding company": "收付款方是同一个公司",
"Subsidiary": "企业分公司",
"Business partners": "商业伙伴",
"Employer": "雇佣关系",
"Relatives": "亲属",
"Colleague": "同事"
}
},
"pattern": "[a-zA-Z0-9/\\-:.,+\\s]+"
},
"business_nature": {
"type": [
"string",
"null"
],
"description": "主营业务",
"pattern": "[a-zA-Z0-9/\\-:.,+\\s]+"
},
"company_website": {
"type": [
"string",
"null"
],
"description": "公司网址",
"pattern": "[a-zA-Z0-9/\\-:.,+\\s]+"
},
"intermediary_bank_bic_number": {
"type": [
"string",
"null"
],
"description": "指定中转行路由号/SWIFT (2024-12-10生效)"
}
},
"required": [
"legal_entity_type",
"region",
"currency",
"bank_name",
"account_holder_name",
"account_number"
],
"x-apifox-orders": [
"legal_entity_type",
"payment_type",
"region",
"currency",
"bank_name",
"bank_branch_name",
"bank_location",
"account_holder_name",
"account_number",
"bic_number",
"aba",
"sort_code",
"id_number",
"cnaps_code",
"mobile",
"first_name",
"last_name",
"state_or_province",
"city",
"address",
"zip_code",
"relationship",
"intermediary_bank_bic_number",
"business_nature",
"company_website"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 114,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-12-18T04:17:05.000Z",
"visibility": "INHERITED"
},
{
"id": 15286075,
"name": "Withdrawal",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "订单 ID"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"request_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"currency": {
"type": "string",
"description": "币种"
},
"amount": {
"type": "integer",
"description": "金额,单位为分"
},
"beneficiary": {
"description": "收款人信息",
"$ref": "#/definitions/15286073"
},
"exchange_rate": {
"type": "integer",
"description": "汇率"
},
"fee": {
"type": "integer",
"description": "手续费"
},
"fee_currency": {
"type": "string",
"description": "手续费币种"
},
"outward_amount": {
"type": "integer",
"description": "到账金额(换汇后)"
},
"outward_currency": {
"type": "string",
"description": "到账币种"
},
"comment": {
"type": "string",
"description": "备注"
},
"status": {
"type": "string",
"description": "订单状态",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "",
"SUCCESS": "",
"FAILED": ""
}
}
},
"reason": {
"type": "string",
"description": "订单失败原因"
},
"create_time": {
"type": "string",
"description": "订单创建时间"
},
"update_time": {
"type": "string",
"description": "订单更新时间"
},
"completed_time": {
"type": "string",
"description": "订单完成时间"
}
},
"required": [
"id",
"order_no",
"request_id",
"reference",
"account_id",
"currency",
"amount",
"beneficiary",
"exchange_rate",
"fee",
"fee_currency",
"outward_amount",
"outward_currency",
"comment",
"status",
"reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-orders": [
"id",
"order_no",
"request_id",
"reference",
"account_id",
"currency",
"amount",
"beneficiary",
"exchange_rate",
"fee",
"fee_currency",
"outward_amount",
"outward_currency",
"comment",
"status",
"reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 48,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286076,
"name": "Transaction",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "流水 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"currency": {
"type": "string",
"description": "币种"
},
"amount": {
"type": "integer",
"description": "金额"
},
"type": {
"type": "string",
"description": "credit or debit"
},
"order_type": {
"type": "string",
"description": "订单类型"
},
"order_id": {
"type": "string",
"description": "订单 ID"
},
"create_time": {
"type": "string"
},
"update_time": {
"type": "string"
},
"status": {
"type": "string",
"description": "状态",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "处理中",
"SUCCESS": "成功",
"FAILED": "失败"
}
}
}
},
"required": [
"id",
"account_id",
"currency",
"amount",
"type",
"order_type",
"order_id",
"create_time",
"update_time",
"status"
],
"x-apifox-orders": [
"id",
"account_id",
"currency",
"amount",
"type",
"order_type",
"order_id",
"status",
"create_time",
"update_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 6,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2024-04-07T08:56:43.000Z",
"visibility": "INHERITED"
},
{
"id": 15286077,
"name": "Transfer",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": " 订单 ID"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"request_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"from_account_id": {
"type": "string",
"description": "转出账户"
},
"to_account_id": {
"type": "string",
"description": "转入账户"
},
"amount": {
"type": "integer",
"description": "金额,单位为分"
},
"currency": {
"type": "string",
"description": "币种"
},
"purpose": {
"description": "转账原因",
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "",
"SUCCESS": "",
"FAILED": ""
}
},
"description": "状态"
},
"reason": {
"description": "订单失败原因",
"type": [
"string",
"null"
]
},
"create_time": {
"type": "string",
"description": "订单创建时间"
},
"update_time": {
"type": "string",
"description": "订单更新时间"
},
"completed_time": {
"description": "订单完成时间",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"order_no",
"request_id",
"reference",
"from_account_id",
"to_account_id",
"amount",
"currency",
"status",
"create_time",
"update_time"
],
"x-apifox-orders": [
"id",
"order_no",
"request_id",
"reference",
"from_account_id",
"to_account_id",
"amount",
"currency",
"purpose",
"status",
"reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 36,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286078,
"name": "ApplicationPurposeRequest",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "",
"description": "ID"
},
"application_id": {
"type": "string",
"description": "申请 ID"
},
"purpose": {
"type": "object",
"properties": {
"seller_id": {
"type": "string",
"description": "Amazon Seller ID"
},
"store_name": {
"type": "string",
"description": "店铺名"
}
},
"x-apifox-orders": [
"seller_id",
"store_name"
],
"required": [
"seller_id",
"store_name"
]
},
"reason": {
"type": "string",
"description": "原因"
},
"status": {
"type": "string",
"enum": [
"INIT",
"SUBMITTED"
],
"x-apifox": {
"enumDescriptions": {
"INIT": "",
"SUBMITTED": ""
}
},
"description": "状态"
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "最近更新时间"
}
},
"x-apifox-orders": [
"id",
"application_id",
"purpose",
"reason",
"status",
"create_time",
"update_time"
],
"required": [
"id",
"application_id",
"purpose",
"reason",
"status",
"create_time",
"update_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 96,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286079,
"name": "Collection",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "订单 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID(商户唯一)"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"reference": {
"type": [
"string",
"null"
],
"description": "商户可选填额外订单信息"
},
"code": {
"type": "string",
"description": "汇款识别码"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"order_amount": {
"type": "integer",
"description": "订单金额,单位为分"
},
"inward_amount": {
"type": [
"integer",
"null"
],
"description": "实际收款金额,单位为分"
},
"amount": {
"type": [
"integer",
"null"
],
"description": "入账金额,单位为分"
},
"currency": {
"type": "string",
"description": "币种"
},
"fee": {
"type": [
"integer",
"null"
],
"description": "手续费"
},
"fee_currency": {
"type": [
"string",
"null"
],
"description": "手续费币种"
},
"payer": {
"$ref": "#/definitions/15286080",
"description": "付款方信息"
},
"bank_account": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "地区"
},
"bank_name": {
"type": "string",
"description": "银行"
},
"swift_code": {
"type": "string",
"description": "SWIFT CODE"
},
"account_holder_name": {
"type": "string",
"description": "账户名"
},
"account_number": {
"type": "string",
"description": "账户号"
},
"bank_location": {
"type": "string",
"description": "银行地址"
}
},
"required": [
"region",
"bank_name",
"swift_code",
"account_holder_name",
"account_number",
"bank_location"
],
"description": "收款银行信息",
"x-apifox-orders": [
"region",
"bank_name",
"swift_code",
"account_holder_name",
"account_number",
"bank_location"
]
},
"status": {
"type": "string",
"description": "状态"
},
"reason": {
"type": [
"string",
"null"
],
"description": "原因"
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "修改时间"
},
"completed_time": {
"type": [
"string",
"null"
],
"description": "完成时间"
}
},
"required": [
"id",
"request_id",
"order_no",
"code",
"account_id",
"order_amount",
"currency",
"payer",
"bank_account",
"status",
"create_time",
"update_time"
],
"x-apifox-orders": [
"id",
"request_id",
"order_no",
"reference",
"code",
"account_id",
"order_amount",
"inward_amount",
"amount",
"currency",
"fee",
"fee_currency",
"payer",
"bank_account",
"status",
"reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 12,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286080,
"name": "Payer",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"account_holder_name": {
"type": "string"
},
"address": {
"type": "string"
}
},
"required": [
"account_holder_name",
"address"
],
"x-apifox-orders": [
"account_holder_name",
"address"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 90,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 15286081,
"name": "Exchange",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "订单 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID(商户唯一)"
},
"reference": {
"type": [
"string",
"null"
],
"description": "商户可选填额外订单信息"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"sell_amount": {
"type": "integer",
"description": "卖出金额"
},
"sell_currency": {
"type": "string",
"description": "卖出币种"
},
"buy_amount": {
"type": "integer",
"description": "买入金额"
},
"buy_currency": {
"type": "string",
"description": "买入币种"
},
"exchange_rate": {
"type": "string",
"description": "汇率"
},
"reason": {
"type": [
"string",
"null"
],
"description": "换汇失败原因"
},
"status": {
"type": "string",
"description": "状态",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "",
"SUCCESS": "",
"FAILED": ""
}
}
},
"create_time": {
"type": "string",
"description": "订单创建时间"
},
"update_time": {
"type": "string",
"description": "订单更新时间"
},
"completed_time": {
"type": [
"string",
"null"
],
"description": "订单完成时间"
},
"details_url": {
"type": "string",
"description": "结汇明细文件地址"
},
"details_status": {
"type": [
"string",
"null"
],
"enum": [
"SUBMITTED",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"SUBMITTED": "已提交",
"FAILED": "失败"
}
},
"description": "结汇明细状态"
},
"details_reason": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/72670975"
},
{
"type": "null"
}
]
},
"description": "结汇明细失败原因,默认不展示,当 show_details_reason = true 时展示"
}
},
"required": [
"id",
"request_id",
"order_no",
"account_id",
"sell_amount",
"sell_currency",
"buy_amount",
"buy_currency",
"exchange_rate",
"status",
"create_time",
"update_time"
],
"x-apifox-orders": [
"id",
"request_id",
"reference",
"order_no",
"account_id",
"sell_amount",
"sell_currency",
"buy_amount",
"buy_currency",
"exchange_rate",
"reason",
"status",
"details_status",
"details_url",
"details_reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 72,
"creatorId": 351185,
"editorId": 351185,
"createdAt": "2022-08-10T10:41:05.000Z",
"updatedAt": "2023-12-07T07:31:31.000Z",
"visibility": "INHERITED"
},
{
"id": 15470123,
"name": "ApplicationRequest",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"reference": {
"description": "商户可用于保存额外信息",
"type": [
"string",
"null"
]
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"purpose": {
"type": "string",
"description": "开户目的\nECOMM_PLATFORM: 线上电商平台收款\nECOMM_STANDALONE: 线上独立站收款\n~~ECOMM_SELF_BUILD: 线上自建站收款~~\nB2B: B2B 收款\nRETAIL: 实体零售收款\nWHOLESALE: 实体批发收款\nB2C_ONLINE: B2C 在线支付\nB2C_ONLINE_OFFLINE: B2C 线上线下支付\n",
"title": "",
"enum": [
"ECOMM_PLATFORM",
"ECOMM_STANDALONE",
"B2B",
"RETAIL",
"WHOLESALE",
"B2C_ONLINE",
"B2C_ONLINE_OFFLINE"
],
"x-apifox": {
"enumDescriptions": {
"ECOMM_PLATFORM": "线上电商平台收款",
"ECOMM_STANDALONE": "线上独立站收款",
"B2B": "B2B 收款",
"RETAIL": "实体零售收款",
"WHOLESALE": "实体批发收款",
"B2C_ONLINE": "",
"B2C_ONLINE_OFFLINE": ""
}
}
},
"currency": {
"type": "string",
"description": "币种"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"LOCAL",
"SWIFT",
"WECHAT_PAY"
],
"x-apifox": {
"enumDescriptions": {
"LOCAL": "",
"SWIFT": "",
"WECHAT_PAY": ""
}
}
},
"additional_info": {
"description": "扩展信息",
"x-apifox-overrides": {},
"type": "object",
"x-apifox-refs": {
"01H53WVKAD1SRQ713AMDFQFDNH": {
"$ref": "#/definitions/15987381",
"x-apifox-overrides": {},
"required": [
"payer_party"
]
}
},
"x-apifox-orders": [
"01H53WVKAD1SRQ713AMDFQFDNH"
],
"properties": {}
}
},
"required": [
"request_id",
"account_id",
"purpose",
"currency",
"payment_type",
"additional_info"
],
"x-apifox-orders": [
"request_id",
"reference",
"account_id",
"purpose",
"currency",
"payment_type",
"additional_info"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 108,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-12T06:50:41.000Z",
"updatedAt": "2024-08-29T03:43:22.000Z",
"visibility": "INHERITED"
},
{
"id": 15987381,
"name": "ApplicationAddtionalInfo",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"online_sales_method": {
"type": [
"string",
"null"
],
"description": "线上销售方式(线上必填,支持多选,按英文逗号分隔)",
"enum": [
"AMAZON",
"EBAY",
"ALI_EXPRESS",
"ALIBABA",
"MERCARI",
"ETSY",
"SHOPIFY",
"SELF_BUILD",
"APP",
"OFFICIAL_ACCOUNT",
"MINI_PROGRAM",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"AMAZON": "",
"EBAY": "",
"ALI_EXPRESS": "",
"ALIBABA": "",
"MERCARI": "",
"ETSY": "",
"SHOPIFY": "",
"SELF_BUILD": "",
"APP": "",
"OFFICIAL_ACCOUNT": "",
"MINI_PROGRAM": "",
"H5": ""
}
}
},
"offline_sales_method": {
"description": "线下销售方式(开户目的为 B2B, RETAIL, WHOLESALE 时必填)",
"type": [
"string",
"null"
]
},
"website_url": {
"description": "网站链接/店铺链接(线上销售必填,AMAZON 除外)",
"type": [
"string",
"null"
]
},
"store_name": {
"description": "店铺名(线上销售必填)",
"type": [
"string",
"null"
]
},
"store_address": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "经营地址所在国家或地区"
},
"state_or_province": {
"type": "string",
"description": "经营地址所在省或州"
},
"city": {
"type": "string",
"description": "经营地址所在城市"
},
"street": {
"type": "string",
"description": "经营地址所在街道"
},
"zip_code": {
"type": "string",
"description": "经营地址所在邮编"
}
},
"required": [
"region",
"state_or_province",
"city",
"street",
"zip_code"
],
"x-apifox-orders": [
"region",
"state_or_province",
"city",
"street",
"zip_code"
],
"description": "店铺经营地址"
},
"app_download_url": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 APP 必填】APP 下载地址 "
},
"mini_program": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 MINI_PROGRAM 必填】小程序名称"
},
"official_account": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 OFFICIAL_ACCOUNT 必填】公众号名称"
},
"store_photos": {
"type": "array",
"items": {
"type": "string"
},
"description": "店铺照片(线上销售为持有人截图、线下销售为实体店照片)"
},
"business_category": {
"type": "string",
"description": "经营品类",
"enum": [
"纺织、服装及日化用品专门销售",
"文化、体育用品及器材专门销售",
"五金、家具及室内装饰材料专门销售",
"食品、饮料及烟草制品专门销售",
"珠宝首饰、贵金属、钟表销售",
"医药及医疗器材专门销售",
"软件、CD光盘、APP应用程序",
"电子新闻、电子书、电子杂志、股票和财务信息",
"音乐、视频、电视节目",
"搜索服务、云服务",
"网络游戏的虚拟产品和服务(如:充值、点卡)",
"二手产品销售",
"汽车、摩托车、燃料及零配件专门销售",
"家用电器及电子产品专门销售",
"综合销售及其他销售业"
],
"x-apifox": {
"enumDescriptions": {
"纺织、服装及日化用品专门销售": "",
"文化、体育用品及器材专门销售": "",
"五金、家具及室内装饰材料专门销售": "",
"食品、饮料及烟草制品专门销售": "",
"珠宝首饰、贵金属、钟表销售": "",
"医药及医疗器材专门销售": "",
"软件、CD光盘、APP应用程序": "",
"电子新闻、电子书、电子杂志、股票和财务信息": "",
"音乐、视频、电视节目": "",
"搜索服务、云服务": "",
"网络游戏的虚拟产品和服务(如:充值、点卡)": "",
"二手产品销售": "",
"汽车、摩托车、燃料及零配件专门销售": "",
"家用电器及电子产品专门销售": "",
"综合销售及其他销售业": ""
}
}
},
"business_regions": {
"type": "array",
"items": {
"type": "string"
},
"description": "经营国家或地区"
},
"payer_party": {
"type": "string",
"description": "资金结算方",
"enum": [
"AMAZON",
"MERCARI",
"PAYPAL",
"STRIPE",
"ADYEN",
"ETSY",
"WECHAT_PAY",
"PERSON",
"COMPANY",
"BOTH",
"OTHER"
],
"x-apifox": {
"enumDescriptions": {
"AMAZON": "",
"MERCARI": "",
"PAYPAL": "",
"STRIPE": "",
"ADYEN": "",
"ETSY": "",
"WECHAT_PAY": "",
"PERSON": "",
"COMPANY": "",
"BOTH": "",
"OTHER": ""
}
}
},
"payer_party_account": {
"type": [
"string",
"null"
],
"description": "资金结算平台所注册的账户(例如:AMAZON 为 Seller ID, PAYPAL 为 PayPal 账户)"
},
"funds_regions": {
"description": "资金来源国家或地区",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"funds_type": {
"type": [
"string",
"null"
],
"description": "资金来源性质<br/>INVESTMENT: 投资<br/>SHAREHOLDER: 股东<br/>BUSINESS: 经营<br/>OTHER: 其它<br/>",
"enum": [
"INVESTMENT",
"SHAREHOLDER",
"BUSINESS",
"OTHER"
],
"x-apifox": {
"enumDescriptions": {
"INVESTMENT": "投资",
"SHAREHOLDER": "股东",
"BUSINESS": "经营",
"OTHER": "其它"
}
}
},
"monthly_transaction_count": {
"description": "预估月交易笔数",
"type": [
"string",
"null"
]
},
"monthly_transaction_amount": {
"description": "预估月交易金额(单位为元人民币)",
"type": [
"string",
"null"
]
},
"documents": {
"description": "证明材料",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"abbreviated_company_name": {
"type": [
"string",
"null"
],
"description": "【支付方式 WECHAT_PAY 必填】公司简称"
},
"mini_program_appid": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 MINI_PROGRAM 必填】小程序 APPID"
},
"official_account_appid": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 OFFICIAL_ACCOUNT 必填】公众号 APPID"
},
"app_appid": {
"type": [
"string",
"null"
],
"description": "【线上销售方式包含 APP 必填】APP 的 APPID"
}
},
"required": [
"store_address",
"store_photos",
"business_category",
"business_regions",
"payer_party"
],
"x-apifox-orders": [
"online_sales_method",
"offline_sales_method",
"website_url",
"store_name",
"store_address",
"app_download_url",
"app_appid",
"mini_program",
"mini_program_appid",
"official_account",
"official_account_appid",
"store_photos",
"business_category",
"business_regions",
"payer_party",
"payer_party_account",
"funds_regions",
"funds_type",
"monthly_transaction_count",
"monthly_transaction_amount",
"documents",
"abbreviated_company_name"
],
"description": "扩展信息",
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "扩展信息",
"projectId": 1432540,
"ordering": 0,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-18T06:55:01.000Z",
"updatedAt": "2024-08-29T03:40:49.000Z",
"visibility": "INHERITED"
},
{
"id": 15988235,
"name": "LegalEntityRequest",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "实名更新请求 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"reason": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "原因编码"
},
"message": {
"type": "string",
"description": "原因说明"
}
},
"x-apifox-orders": [
"code",
"message"
],
"required": [
"code",
"message"
]
},
"description": "原因"
},
"status": {
"type": "string",
"description": "状态",
"enum": [
"INIT",
"SUBMITTED",
"REJECTED",
"SUCCESS"
],
"x-apifox": {
"enumDescriptions": {
"INIT": "初始化",
"SUBMITTED": "已提交",
"REJECTED": "驳回",
"SUCCESS": "成功"
}
}
},
"reject_reason": {
"description": "驳回原因",
"type": [
"string",
"null"
]
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"update_time": {
"type": "string",
"description": "更新时间"
},
"completed_time": {
"type": [
"string",
"null"
],
"description": "完成时间"
}
},
"required": [
"id",
"account_id",
"reason",
"status",
"create_time",
"update_time"
],
"x-apifox-orders": [
"id",
"account_id",
"reason",
"status",
"reject_reason",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 120,
"creatorId": 351185,
"editorId": 352382,
"createdAt": "2022-08-18T07:01:04.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 25706659,
"name": "PaymentPayer",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "企业名称/个人姓名"
},
"legal_entity_type": {
"type": "string",
"description": "类型 PERSON/COMPANY"
},
"license_number": {
"type": "string",
"description": "营业执照号"
},
"cr_number": {
"type": "string",
"description": "公司注册书编号(境外企业)"
},
"dob": {
"type": "string",
"description": "企业成立日期/个人出生日期"
},
"industry": {
"type": "string",
"description": "【企业必填】所属行业"
},
"id_type": {
"type": "string",
"description": "个人证件类型 ID_CARD/PASSPORT"
},
"id_card_number": {
"type": "string",
"description": "身份证号"
},
"passport_number": {
"type": "string",
"description": "护照号"
},
"occupation": {
"type": "string",
"description": "【个人必填】职业"
},
"psuid": {
"type": "string",
"description": "在机构的唯一识别号"
},
"address": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "国家或地区2位编码(ISO 3166-1)"
},
"state_or_province": {
"type": "string",
"description": "州或省"
},
"city": {
"type": "string",
"description": "城市"
},
"street": {
"type": "string",
"description": "街道"
},
"zip_code": {
"type": "string",
"description": "邮编"
}
},
"required": [
"region",
"city",
"street"
],
"x-apifox-orders": [
"region",
"state_or_province",
"city",
"street",
"zip_code"
],
"description": "地址信息"
}
},
"required": [
"name",
"legal_entity_type",
"dob",
"psuid",
"address"
],
"x-apifox-orders": [
"name",
"legal_entity_type",
"license_number",
"cr_number",
"dob",
"industry",
"id_type",
"id_card_number",
"passport_number",
"occupation",
"psuid",
"address"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 102,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2022-12-05T10:30:22.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424048,
"name": "PaymentOfficialAccountResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_flow",
"payment_params",
"next_action"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付请求参数子参数"
},
"x-apifox-orders": [],
"properties": {}
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"x-apifox-orders": [
"pay_url"
],
"properties": {
"pay_url": {
"type": "string",
"description": "支付地址"
}
},
"required": [
"pay_url"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"x-apifox-orders": []
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"payment_params",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 108,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:29:01.000Z",
"visibility": "INHERITED"
},
{
"id": 46424049,
"name": "PaymentDetail",
"displayName": "",
"jsonSchema": {
"required": [
"amount",
"currency"
],
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"description": "支付信息",
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
]
},
"folderId": 4932366,
"description": "支付信息",
"projectId": 1432540,
"ordering": 72,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424050,
"name": "SettlementDetailRequest",
"displayName": "",
"jsonSchema": {
"required": [
"currency"
],
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
}
},
"description": "结算配置",
"x-apifox-orders": [
"currency"
]
},
"folderId": 4932366,
"description": "结算配置",
"projectId": 1432540,
"ordering": 84,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424051,
"name": "SettlementDetailResponse",
"displayName": "",
"jsonSchema": {
"required": [
"currency",
"exchange_rate"
],
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": "string",
"description": "汇率"
}
},
"x-apifox-orders": [
"currency",
"exchange_rate"
]
},
"folderId": 4932366,
"description": "结算配置",
"projectId": 1432540,
"ordering": 90,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424052,
"name": "公众号请求",
"displayName": "CreateOfficialAccountPaymentRequest",
"jsonSchema": {
"required": [
"account_id",
"order_description",
"payment",
"payment_flow",
"payment_type",
"request_id",
"settlement"
],
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment": {
"$ref": "#/definitions/46424049"
},
"order_description": {
"type": "string",
"description": "订单描述(不超 127)"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址(只支持 https)"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"mock": {
"mock": "OFFICIAL_ACCOUNT"
},
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
},
"examples": [
"OFFICIAL_ACCOUNT"
]
},
"payment_params": {
"type": [
"object",
"null"
],
"properties": {
"success_url": {
"type": "string"
},
"failed_url": {
"type": "string"
},
"canceled_url": {
"type": "string"
}
},
"additionalProperties": {
"type": "string",
"description": "支付参数"
},
"x-apifox-orders": [
"success_url",
"failed_url",
"canceled_url"
],
"required": [
"success_url",
"failed_url",
"canceled_url"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
},
"settlement": {
"$ref": "#/definitions/46424050"
}
},
"x-apifox-orders": [
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"settlement",
"payment_params",
"metadata"
],
"title": "CreateOfficialAccountPaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 60,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T10:09:30.000Z",
"visibility": "INHERITED"
},
{
"id": 46424053,
"name": "微信退款消息通知",
"displayName": "WechatPayRefund",
"jsonSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"mock": {
"mock": "wechat_pay_payment"
},
"description": "wechat_pay_payment_success"
},
"data": {
"$ref": "#/definitions/46424055"
}
},
"x-apifox-orders": [
"type",
"data"
],
"required": [
"type",
"data"
],
"title": "WechatPayRefund"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 180,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424054,
"name": "RefundDetail",
"displayName": "",
"jsonSchema": {
"required": [
"amount",
"currency",
"reason"
],
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退款金额",
"format": "int64"
},
"currency": {
"type": "string",
"description": "退款币种"
},
"reason": {
"type": "string",
"description": "退款原因"
}
},
"x-apifox-orders": [
"amount",
"currency",
"reason"
]
},
"folderId": 4932366,
"description": "退款参数",
"projectId": 1432540,
"ordering": 36,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424055,
"name": "RefundResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment_id",
"payment_request_id",
"payment_type",
"refund",
"request_id",
"status",
"create_time",
"settlement",
"payer"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "退款 ID"
},
"request_id": {
"type": "string",
"description": "退款幂等参数"
},
"payment_id": {
"type": "string",
"description": "支付 ID"
},
"payment_request_id": {
"type": "string",
"description": "支付幂等参数"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式(微信、支付宝、钱包)",
"enum": [
"WECHAT_PAY"
]
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "退款通知地址"
},
"refund": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退款金额",
"format": "int64"
},
"currency": {
"type": "string",
"description": "退款币种"
},
"reason": {
"type": "string",
"description": "退款原因"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"reason"
],
"required": [
"amount",
"currency",
"reason"
]
},
"status": {
"type": "string",
"description": "退款状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "退款完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": "string",
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency",
"exchange_rate"
]
},
"payer": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "用户(支付、退款)金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "用户(支付、退款)币种"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency"
],
"required": [
"amount",
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"payment_id",
"payment_request_id",
"account_id",
"payment_type",
"notify_url",
"refund",
"settlement",
"payer",
"status",
"create_time",
"complete_time"
],
"x-apifox-refs": {}
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 42,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:20:51.000Z",
"visibility": "INHERITED"
},
{
"id": 46424056,
"name": "payerDetail",
"displayName": "",
"jsonSchema": {
"required": [
"amount",
"currency"
],
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "用户(支付、退款)金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "用户(支付、退款)币种"
}
},
"description": "支付信息",
"x-apifox-orders": [
"amount",
"currency"
]
},
"folderId": 4932366,
"description": "支付信息",
"projectId": 1432540,
"ordering": 78,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424057,
"name": "微信支付消息通知",
"displayName": "WechatPayPayment",
"jsonSchema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"mock": {
"mock": "wechat_pay_payment"
},
"description": "wechat_pay_payment_success"
},
"data": {
"$ref": "#/definitions/46424058"
}
},
"x-apifox-orders": [
"type",
"data"
],
"required": [
"type",
"data"
],
"title": "WechatPayPayment"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 174,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424058,
"name": "PaymentResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_flow"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"payment_params": {
"type": [
"object",
"null"
],
"properties": {},
"additionalProperties": {
"type": "string",
"description": "支付请求参数子参数"
},
"x-apifox-orders": []
},
"next_action": {
"type": [
"object",
"null"
],
"properties": {},
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"x-apifox-orders": []
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
},
"payer": {
"type": [
"object",
"null"
],
"properties": {
"amount": {
"type": "integer",
"description": "用户(支付、退款)金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "用户(支付、退款)币种"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency"
],
"required": [
"amount",
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"payment_params",
"metadata",
"next_action",
"settlement",
"payer",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 96,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:29:06.000Z",
"visibility": "INHERITED"
},
{
"id": 46424059,
"name": "PaymentMiniProgramResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_flow",
"payment_params",
"next_action"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付请求参数子参数"
},
"x-apifox-orders": [],
"properties": {}
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"x-apifox-orders": [
"appId",
"timeStamp",
"nonceStr",
"package",
"signType",
"paySign"
],
"properties": {
"timeStamp": {
"type": "string",
"description": "时间戳"
},
"nonceStr": {
"type": "string",
"description": "随机字符串"
},
"signType": {
"type": "string",
"description": "签名方式"
},
"paySign": {
"type": "string",
"description": "签名"
},
"appId": {
"type": "string",
"description": "小程序 ID"
},
"package": {
"type": "string",
"description": "数据包"
}
},
"required": [
"timeStamp",
"nonceStr",
"package",
"signType",
"paySign",
"appId"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"x-apifox-orders": []
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"payment_params",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 126,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:34:08.000Z",
"visibility": "INHERITED"
},
{
"id": 46424060,
"name": "小程序请求",
"displayName": "CreateMiniProgramPaymentRequest",
"jsonSchema": {
"required": [
"account_id",
"order_description",
"payment",
"payment_flow",
"payment_type",
"request_id",
"settlement",
"payment_params"
],
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment": {
"$ref": "#/definitions/46424049"
},
"order_description": {
"type": "string",
"description": "订单描述(不超 127)"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址(只支持 https)"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"mock": {
"mock": "MINI_PROGRAM"
},
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
},
"examples": [
"MINI_PROGRAM"
]
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付参数"
},
"x-apifox-orders": [
"openid",
"appid"
],
"properties": {
"openid": {
"type": "string",
"description": "openid"
},
"appid": {
"type": "string",
"description": "appid"
}
},
"required": [
"openid",
"appid"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
},
"settlement": {
"$ref": "#/definitions/46424050"
}
},
"x-apifox-orders": [
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"settlement",
"payment_params",
"metadata"
],
"title": "CreateMiniProgramPaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 66,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T10:09:44.000Z",
"visibility": "INHERITED"
},
{
"id": 46424061,
"name": "PaymentAppResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_params",
"payment_flow"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": "string",
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付请求参数子参数"
},
"description": "支付请求参数子参数",
"x-apifox-orders": [],
"properties": {}
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"description": "支付返回参数",
"x-apifox-orders": [
"appid",
"partnerid",
"prepayid",
"package",
"timestamp",
"noncestr",
"sign"
],
"properties": {
"appid": {
"type": "string",
"description": "应用 ID"
},
"partnerid": {
"type": "string",
"description": "商户号"
},
"prepayid": {
"type": "string",
"description": "预支付交易会话 ID"
},
"package": {
"type": "string",
"description": "扩展字段"
},
"timestamp": {
"type": "string",
"description": "时间戳"
},
"noncestr": {
"type": "string",
"description": "随机字符串"
},
"sign": {
"type": "string",
"description": "签名"
}
},
"required": [
"appid",
"partnerid",
"prepayid",
"package",
"timestamp",
"sign",
"noncestr"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"description": "附加参数"
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"payment_params",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 120,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:28:55.000Z",
"visibility": "INHERITED"
},
{
"id": 46424062,
"name": "APP 请求",
"displayName": "CreateAppPaymentRequest",
"jsonSchema": {
"required": [
"account_id",
"order_description",
"payment",
"payment_flow",
"payment_type",
"request_id",
"settlement",
"payment_params"
],
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment": {
"$ref": "#/definitions/46424049"
},
"order_description": {
"type": "string",
"description": "订单描述(不超 127)"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址(只支持 https)"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"mock": {
"mock": "APP"
},
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
},
"examples": [
"APP"
]
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付参数"
},
"x-apifox-orders": [
"openid",
"appid"
],
"properties": {
"openid": {
"type": "string",
"description": "openid"
},
"appid": {
"type": "string",
"description": "appid"
}
},
"required": [
"openid",
"appid"
]
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"description": "附加参数",
"x-apifox-orders": [],
"properties": {}
},
"settlement": {
"$ref": "#/definitions/46424050"
}
},
"x-apifox-orders": [
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"settlement",
"payment_params",
"metadata"
],
"title": "CreateAppPaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 54,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T10:09:16.000Z",
"visibility": "INHERITED"
},
{
"id": 46424063,
"name": "CustomsDeclarationRedeclareResponse",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "账户 ID"
},
"customs": {
"type": "string",
"description": "海关编码"
},
"merchant_customs_no": {
"type": "string",
"description": "商户海关备案号"
},
"modify_time": {
"type": "string",
"format": "date-time",
"description": "最后更新时间"
},
"payment_id": {
"type": "string",
"description": "支付 ID"
}
},
"x-apifox-orders": [
"account_id",
"payment_id",
"customs",
"merchant_customs_no",
"modify_time"
],
"required": [
"account_id",
"payment_id",
"customs",
"merchant_customs_no",
"modify_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 156,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:43:11.000Z",
"visibility": "INHERITED"
},
{
"id": 46424064,
"name": "CustomsDeclarationRedeclareRequest",
"displayName": "",
"jsonSchema": {
"required": [
"merchant_customs_no",
"customs"
],
"type": "object",
"properties": {
"payment_id": {
"type": "string",
"description": "payment_id 和 payment_request_id 二选一"
},
"payment_request_id": {
"type": "string",
"description": "payment_id 和 payment_request_id 二选一"
},
"customs": {
"type": "string",
"description": "海关"
},
"merchant_customs_no": {
"type": "string",
"description": "商户海关备案号"
},
"sub_order_no": {
"type": "string",
"description": "商户子订单号"
},
"sub_order_id": {
"type": "string",
"description": "微信子订单号"
}
},
"x-apifox-orders": [
"payment_id",
"payment_request_id",
"customs",
"merchant_customs_no",
"sub_order_no",
"sub_order_id"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 150,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424065,
"name": "CustomsDeclarationVerifyResponse",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "账户 ID"
},
"certificate_check_result": {
"type": "string",
"description": "身份核验结果"
},
"payment_id": {
"type": "string",
"description": "支付 ID"
}
},
"x-apifox-orders": [
"account_id",
"payment_id",
"certificate_check_result"
],
"required": [
"account_id",
"payment_id",
"certificate_check_result"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 144,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:42:42.000Z",
"visibility": "INHERITED"
},
{
"id": 46424066,
"name": "CustomsDeclarationVerifyRequest",
"displayName": "",
"jsonSchema": {
"required": [
"merchant_customs_no",
"custmos",
"certificate_id",
"certificate_name"
],
"type": "object",
"properties": {
"payment_id": {
"type": "string",
"description": "payment_id 和 payment_request_id 二选一"
},
"payment_request_id": {
"type": "string",
"description": "payment_id 和 payment_request_id 二选一"
},
"custmos": {
"type": "string",
"description": "海关"
},
"merchant_customs_no": {
"type": "string",
"description": "商户海关备案号"
},
"certificate_id": {
"type": "string",
"description": "证件号"
},
"certificate_name": {
"type": "string",
"description": "证件姓名"
}
},
"x-apifox-orders": [
"payment_id",
"payment_request_id",
"custmos",
"merchant_customs_no",
"certificate_id",
"certificate_name"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 138,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424067,
"name": "CreateCustomsDeclarationRequest",
"displayName": "",
"jsonSchema": {
"required": [
"merchant_customs_no",
"customs"
],
"type": "object",
"properties": {
"payment_id": {
"type": "string",
"title": "",
"description": "payment_id 和 payment_request_id 二选一"
},
"payment_request_id": {
"type": "string",
"description": "payment_id 和 payment_request_id 二选一"
},
"customs": {
"type": "string",
"description": "海关"
},
"merchant_customs_no": {
"type": "string",
"description": "商户海关备案号"
}
},
"x-apifox-orders": [
"payment_id",
"payment_request_id",
"customs",
"merchant_customs_no"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 12,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424068,
"name": "CustomsDeclarationResponse",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "账户 ID"
},
"state": {
"type": "string",
"description": "报关状态\t"
},
"customs": {
"type": "string",
"description": "海关\t"
},
"merchant_customs_no": {
"type": "string",
"description": "商户海关备案号\t"
},
"verify_department": {
"type": "string",
"description": "核验机构"
},
"verify_department_trade_id": {
"type": "string",
"description": "核验机构交易流水号"
},
"payment_id": {
"type": "string",
"description": "支付 ID"
}
},
"x-apifox-orders": [
"account_id",
"state",
"customs",
"merchant_customs_no",
"payment_id",
"verify_department",
"verify_department_trade_id"
],
"required": [
"account_id",
"state",
"customs",
"merchant_customs_no",
"payment_id",
"verify_department",
"verify_department_trade_id"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 18,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:42:22.000Z",
"visibility": "INHERITED"
},
{
"id": 46424072,
"name": "SettlementResponse",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "结算 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"fee_amount": {
"type": "integer",
"description": "手续费总额",
"format": "int64"
},
"currency": {
"type": "string",
"description": "币种"
},
"status": {
"type": "string",
"description": "结算状态",
"enum": [
"INIT",
"SUCCESS"
]
},
"payment_amount": {
"type": "integer",
"format": "int64",
"description": "支付总额"
},
"refund_amount": {
"type": "integer",
"description": "退款总额",
"format": "int64"
},
"complete_time": {
"type": "string",
"description": "完成时间",
"format": "date-time"
},
"settlement_date": {
"type": "string",
"description": "结算日期"
},
"start_date": {
"type": "string",
"description": "结算起始时间"
},
"end_date": {
"type": "string",
"description": "结算结束时间"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"settlement_amount": {
"type": "integer",
"description": "结算金额",
"format": "int64"
}
},
"x-apifox-orders": [
"id",
"payment_type",
"payment_amount",
"refund_amount",
"fee_amount",
"settlement_amount",
"currency",
"status",
"settlement_date",
"start_date",
"end_date",
"complete_time",
"create_time"
],
"required": [
"create_time",
"id",
"payment_type",
"payment_amount",
"refund_amount",
"fee_amount",
"settlement_amount",
"currency",
"status",
"settlement_date",
"start_date",
"end_date",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 168,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:30:04.000Z",
"visibility": "INHERITED"
},
{
"id": 46424073,
"name": "CreateRefundRequest",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"refund",
"request_id"
],
"type": "object",
"properties": {
"notify_url": {
"type": [
"string",
"null"
],
"description": "退款通知地址"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"payment_id": {
"type": [
"string",
"null"
],
"description": "payment_id payment_request_id 二选一"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_request_id": {
"type": [
"string",
"null"
],
"description": "payment_id payment_request_id 二选一"
},
"refund": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退款金额",
"format": "int64"
},
"reason": {
"type": "string",
"description": "退款原因"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"reason"
],
"required": [
"amount",
"reason"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
}
},
"x-apifox-orders": [
"request_id",
"payment_id",
"payment_request_id",
"account_id",
"notify_url",
"refund",
"metadata"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 24,
"creatorId": 352382,
"editorId": 352387,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-26T02:20:23.000Z",
"visibility": "INHERITED"
},
{
"id": 46424074,
"name": "RefundDetailRequest",
"displayName": "",
"jsonSchema": {
"required": [
"amount",
"reason"
],
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退款金额",
"format": "int64"
},
"reason": {
"type": "string",
"description": "退款原因"
}
},
"description": "退款信息",
"x-apifox-orders": [
"amount",
"reason"
]
},
"folderId": 4932366,
"description": "退款信息",
"projectId": 1432540,
"ordering": 30,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424075,
"name": "OfficialAccountExecuteResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"status",
"create_time",
"order_description",
"payment_flow"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式(微信、支付宝、钱包)",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"x-apifox-refs": {
"01H1AX704CPG1BXV4DCBRP4JVA": {
"$ref": "#/definitions/46424049",
"x-apifox-overrides": {
"currency": {
"type": "string",
"description": "标价币种"
}
},
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"01H1AX704CPG1BXV4DCBRP4JVA"
],
"properties": {}
},
"payment_params": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "支付请求参数子参数"
},
"description": "支付请求参数子参数",
"x-apifox-orders": [],
"properties": {}
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"description": "支付返回参数",
"x-apifox-orders": [
"appId",
"timeStamp",
"nonceStr",
"package",
"signType",
"paySign"
],
"properties": {
"appId": {
"type": "string",
"description": "公众号 ID"
},
"timeStamp": {
"type": "string",
"description": "时间戳"
},
"nonceStr": {
"type": "string",
"description": "随机字符串"
},
"signType": {
"type": "string",
"description": "签名方式\t"
},
"paySign": {
"type": "string",
"description": "签名\t"
},
"package": {
"type": "string",
"description": "订单详情扩展字符串\t"
}
},
"required": [
"appId",
"paySign",
"signType",
"nonceStr",
"timeStamp",
"package"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"description": "附加参数"
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"payment_params",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 114,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:28:59.000Z",
"visibility": "INHERITED"
},
{
"id": 46424076,
"name": "小程序执行下单",
"displayName": "OfficialAccountExecutePaymentRequest",
"jsonSchema": {
"required": [
"code",
"id"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"code": {
"type": "string",
"description": "授权码"
}
},
"x-apifox-orders": [
"id",
"code"
],
"title": "OfficialAccountExecutePaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 132,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424077,
"name": "PaymentScanResponse",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_flow",
"next_action"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"x-apifox-orders": [
"code_url"
],
"properties": {
"code_url": {
"type": "string",
"description": "二维码地址"
}
},
"required": [
"code_url"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"x-apifox-orders": []
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 102,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T09:29:04.000Z",
"visibility": "INHERITED"
},
{
"id": 46424078,
"name": "ApiError",
"displayName": "",
"jsonSchema": {
"required": [
"errors"
],
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"$ref": "#/definitions/46424080"
}
}
},
"x-apifox-orders": [
"errors"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 0,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46424079,
"name": "扫码请求",
"displayName": "CreateScanPaymentRequest",
"jsonSchema": {
"required": [
"account_id",
"order_description",
"payment",
"payment_flow",
"payment_type",
"request_id",
"settlement"
],
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment": {
"$ref": "#/definitions/46424049"
},
"order_description": {
"type": "string",
"description": "订单描述(不超 127)"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址(只支持 https)"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"mock": {
"mock": "SCAN"
},
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"title": "",
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
},
"examples": [
"SCAN"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
},
"settlement": {
"$ref": "#/definitions/46424050"
}
},
"x-apifox-orders": [
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"settlement",
"metadata"
],
"title": "CreateScanPaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 48,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2024-08-23T10:09:00.000Z",
"visibility": "INHERITED"
},
{
"id": 46424080,
"name": "ResponseError",
"displayName": "",
"jsonSchema": {
"required": [
"code",
"message"
],
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"x-apifox-orders": [
"code",
"message"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 6,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T07:52:32.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46425588,
"name": "Refund",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "退款订单 ID"
},
"request_id": {
"type": "string",
"description": "商户退款订单号"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"enum": [
"WECHAT_PAY"
],
"x-apifox": {
"enumDescriptions": {
"WECHAT_PAY": ""
}
},
"description": "支付方式"
},
"payment_flow": {
"type": "string",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": ""
}
},
"description": "支付类型"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "退款通知地址"
},
"status": {
"type": "string",
"description": "退款状态",
"mock": {
"mock": "SUCCESS"
}
},
"complete_time": {
"type": "string",
"description": "退款完成时间"
},
"create_time": {
"type": "string",
"description": "创建时间"
},
"payment_id": {
"type": "string",
"description": "支付订单 ID"
},
"payment_request_id": {
"type": "string",
"description": "商户支付订单号"
},
"refund": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退款金额"
},
"currency": {
"type": "string",
"description": "退款币种"
},
"reason": {
"type": "string",
"description": "退款原因"
}
},
"description": "退款参数",
"x-apifox-orders": [
"amount",
"currency",
"reason"
],
"required": [
"amount",
"currency",
"reason"
]
},
"payer": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "退给用户的金额"
},
"currency": {
"type": "string",
"description": "退给用户的币种"
}
},
"x-apifox-orders": [
"amount",
"currency"
],
"required": [
"amount",
"currency"
]
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": "string",
"description": "结算汇率"
}
},
"description": "结算配置",
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency",
"exchange_rate"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"payment_id",
"payment_request_id",
"account_id",
"payment_type",
"payment_flow",
"notify_url",
"refund",
"settlement",
"payer",
"status",
"create_time",
"complete_time"
],
"required": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"status",
"refund",
"complete_time",
"create_time",
"payment_request_id",
"payment_id",
"settlement",
"payer"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 192,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T08:03:51.000Z",
"updatedAt": "2023-05-25T08:09:18.000Z",
"visibility": "INHERITED"
},
{
"id": 46426496,
"name": "Payment",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "订单 ID"
},
"order_no": {
"type": "string",
"description": "订单号"
},
"request_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"currency": {
"type": "string",
"description": "币种"
},
"amount": {
"type": "integer",
"description": "金额,单位为分"
},
"payer": {
"$ref": "#/definitions/25706659",
"description": "付款人信息"
},
"beneficiary": {
"description": "收款人信息",
"$ref": "#/definitions/15286073"
},
"exchange_rate": {
"type": "number",
"description": "汇率"
},
"fee": {
"type": "integer",
"description": "手续费"
},
"fee_currency": {
"type": "string",
"description": "手续费币种"
},
"outward_currency": {
"type": "string",
"description": "到账币种"
},
"outward_amount": {
"type": "integer",
"description": "到账金额(换汇后)"
},
"comment": {
"type": "string",
"description": "银行汇款附言"
},
"purpose": {
"type": "string",
"description": "付款原因"
},
"status": {
"type": "string",
"description": "订单状态",
"enum": [
"PENDING",
"SUCCESS",
"FAILED"
],
"x-apifox": {
"enumDescriptions": {
"PENDING": "",
"SUCCESS": "",
"FAILED": ""
}
}
},
"reason": {
"type": "string",
"description": "订单失败原因"
},
"create_time": {
"type": "string",
"description": "订单创建时间"
},
"update_time": {
"type": "string",
"description": "订单最近更新时间"
},
"completed_time": {
"type": "string",
"description": "订单结束时间"
},
"source_of_funds ": {
"type": "string",
"description": "资金来源",
"enum": [
"INVESTMENT",
"SHAREHOLDER",
"BUSINESS"
],
"x-apifox": {
"enumDescriptions": {
"INVESTMENT": "投资",
"SHAREHOLDER": "股东",
"BUSINESS": "经营"
}
}
}
},
"x-apifox-orders": [
"id",
"order_no",
"request_id",
"reference",
"account_id",
"currency",
"amount",
"payer",
"beneficiary",
"exchange_rate",
"fee",
"fee_currency",
"outward_currency",
"outward_amount",
"comment",
"purpose",
"status",
"reason",
"source_of_funds ",
"create_time",
"update_time",
"completed_time"
],
"x-apifox-folder": "默认分类"
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 30,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-05-25T08:09:18.000Z",
"updatedAt": "2023-12-06T04:26:12.000Z",
"visibility": "INHERITED"
},
{
"id": 72670975,
"name": "DetailReason",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"order_no": {
"type": "string",
"title": "商城订单号"
},
"reason": {
"type": "string",
"title": "原因"
}
},
"x-apifox-orders": [
"order_no",
"reason"
],
"required": [
"order_no",
"reason"
]
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 196,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-12-06T04:24:36.000Z",
"updatedAt": "2024-01-18T04:13:09.000Z",
"visibility": "INHERITED"
},
{
"id": 72671578,
"name": "ExchangeDetailsFailed",
"displayName": "",
"jsonSchema": {
"type": "object",
"properties": {
"exchange_id": {
"type": "string",
"title": "结汇订单 ID"
},
"request_id": {
"type": "string",
"title": "商户订单 ID(商户唯一)"
},
"reference": {
"type": "string",
"title": "商户可选填额外订单信息"
},
"order_no": {
"type": "string",
"title": "订单号"
},
"failed_reason": {
"type": "string",
"title": "失败原因"
},
"details_reason": {
"type": "array",
"items": {
"$ref": "#/definitions/72670975"
},
"title": "明细原因",
"description": "details_reason 和 failed_reason 二选一返回"
},
"create_time": {
"type": "string",
"title": "订单创建时间"
},
"update_time": {
"type": "string",
"title": "订单更新时间"
}
},
"x-apifox-orders": [
"exchange_id",
"request_id",
"reference",
"order_no",
"failed_reason",
"details_reason",
"create_time",
"update_time"
],
"required": [
"exchange_id",
"request_id",
"reference",
"order_no",
"create_time",
"update_time"
]
},
"folderId": 2275465,
"description": "",
"projectId": 1432540,
"ordering": 206,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2023-12-06T04:43:37.000Z",
"updatedAt": "2023-12-06T04:47:32.000Z",
"visibility": "INHERITED"
},
{
"id": 116200424,
"name": "H5请求",
"displayName": "CreateH5PaymentRequest",
"jsonSchema": {
"required": [
"account_id",
"order_description",
"payment",
"payment_flow",
"payment_type",
"request_id",
"settlement"
],
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "商户订单 ID(唯一,用于请求幂等)"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment": {
"$ref": "#/definitions/46424049"
},
"order_description": {
"type": "string",
"description": "订单描述(不超 127)"
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址(只支持 https)"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
],
"mock": {
"mock": "WECHAT_PAY"
}
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"mock": {
"mock": "H5"
},
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"title": "",
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
},
"examples": [
"H5"
]
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"additionalProperties": {
"type": "object",
"description": "附加参数",
"x-apifox-orders": []
},
"x-apifox-orders": []
},
"settlement": {
"$ref": "#/definitions/46424050"
}
},
"x-apifox-orders": [
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"settlement",
"metadata"
],
"title": "CreateH5PaymentRequest"
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 12,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2024-08-23T09:00:56.000Z",
"updatedAt": "2024-08-23T10:08:14.000Z",
"visibility": "INHERITED"
},
{
"id": 116200425,
"name": "PaymentH5Response",
"displayName": "",
"jsonSchema": {
"required": [
"account_id",
"id",
"payment",
"payment_type",
"request_id",
"settlement",
"status",
"create_time",
"order_description",
"payment_flow",
"next_action"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "支付 ID"
},
"request_id": {
"type": "string",
"description": "商户订单 ID"
},
"account_id": {
"type": "string",
"description": "账户 ID"
},
"payment_type": {
"type": "string",
"description": "支付方式",
"enum": [
"WECHAT_PAY"
]
},
"payment_flow": {
"type": "string",
"description": "支付类型",
"enum": [
"SCAN",
"APP",
"MINI_PROGRAM",
"OFFICIAL_ACCOUNT",
"H5"
],
"x-apifox": {
"enumDescriptions": {
"SCAN": "",
"APP": "",
"MINI_PROGRAM": "",
"OFFICIAL_ACCOUNT": "",
"H5": ""
}
}
},
"notify_url": {
"type": [
"string",
"null"
],
"description": "支付通知地址"
},
"payment": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "标价金额(单位为分)",
"format": "int64"
},
"currency": {
"type": "string",
"description": "标价币种"
},
"expiry_time": {
"type": [
"string",
"null"
],
"description": "订单超时时间(格式为:2023-01-01T10:00:00+08:00)",
"format": "date-time"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"amount",
"currency",
"expiry_time"
],
"required": [
"amount",
"currency"
]
},
"next_action": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "支付返回参数",
"x-apifox-orders": []
},
"x-apifox-orders": [
"mweb_url"
],
"properties": {
"mweb_url": {
"type": "string",
"description": "支付跳转地址"
}
},
"required": [
"mweb_url"
]
},
"status": {
"type": "string",
"description": "支付状态",
"enum": [
"INIT",
"PENDING",
"SUCCESS",
"FAILED",
"CANCELED"
]
},
"complete_time": {
"type": [
"string",
"null"
],
"description": "支付完成时间",
"format": "date-time"
},
"create_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"order_description": {
"type": "string",
"description": "订单描述"
},
"metadata": {
"type": [
"object",
"null"
],
"properties": {},
"description": "附加参数",
"x-apifox-orders": []
},
"settlement": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "结算币种"
},
"exchange_rate": {
"type": [
"string",
"null"
],
"description": "汇率"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"currency",
"exchange_rate"
],
"required": [
"currency"
]
}
},
"x-apifox-orders": [
"id",
"request_id",
"account_id",
"payment_type",
"payment_flow",
"order_description",
"notify_url",
"payment",
"next_action",
"settlement",
"metadata",
"status",
"create_time",
"complete_time"
]
},
"folderId": 4932366,
"description": "",
"projectId": 1432540,
"ordering": 30,
"creatorId": 352382,
"editorId": 352382,
"createdAt": "2024-08-23T09:00:56.000Z",
"updatedAt": "2024-08-23T09:00:56.000Z",
"visibility": "INHERITED"
}
]
}