信用卡接口/查询类

获取客户卡列表

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCardList

Header parameters
versionstringRequiredExample: 0.0.1
tracestringRequiredExample: {{mock_trace}}
companyIdstringRequiredExample: {{company}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryCardList
POST /api/global/passToCredit.app.AppCardQueryService.queryCardList HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
trace: text
companyId: text
lang: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test"
}
200Success
{
  "msg": "Success",
  "trace": "ryder_test",
  "code": "0",
  "data": [
    {
      "last4": "8396",
      "expiryMonth": "12",
      "typeName": "HY Sandbox World",
      "typeImageUrl": "https://www.zilliondesigns.com/blog/wp-content/uploads/mastercard-feat-min.png",
      "id": 1614803974793240600,
      "expiryYear": "2023",
      "embossedName": "HY SANDBOX PLATINUM",
      "type": 2,
      "status": 4,
      "network": "mastercard"
    },
    {
      "last4": "8809",
      "expiryMonth": "12",
      "typeName": "HY Sandbox Platinum",
      "typeImageUrl": "https://www.zilliondesigns.com/blog/wp-content/uploads/mastercard-feat-min.png",
      "id": 1614830250530730000,
      "expiryYear": "2023",
      "embossedName": "HY SANDBOX WORLD",
      "type": 1,
      "status": 2,
      "network": "mastercard"
    }
  ],
  "bizCode": "PASS_TO_CREDIT",
  "tm": 94
}

查詢卡私密信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.getCardSensitiveInfo

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstringRequired

操作ip

tracestring | nullableOptional

追踪号

cardIdinteger · longRequired

卡ID

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.getCardSensitiveInfo
POST /api/global/passToCredit.app.AppCardQueryService.getCardSensitiveInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-6v9i6x-xj65fe-1o4g7-l47lyx-1676514020",
  "code": "0",
  "data": {
    "expiryMonth": "12",
    "securityCode": "000",
    "expiryYear": "2023",
    "class": "com.cats.passToCredit.api.app.vo.CardSensitiveInfoVo",
    "cardNumber": "4242424242473664"
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 835,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

获取客户申请卡提案列表

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryApplyCardProposalList

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
tracestringRequiredExample: {{mock_trace}}
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

queryStatusstring | nullableOptional

过滤状态(1-待KYC审核;2-待三方确认;3-发卡中;4-完成;5-拒绝;)。多个状态以,分割|

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryApplyCardProposalList
POST /api/global/passToCredit.app.AppCardQueryService.queryApplyCardProposalList HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
lang: text
token: text
trace: text
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test"
}
200Success
{
  "code": "text",
  "msg": "text",
  "data": [
    {
      "id": 1,
      "revision": "text",
      "createBy": "text",
      "createTime": 1,
      "updateBy": "text",
      "updateTime": 1,
      "companyId": 1,
      "customerId": 1,
      "customerNo": "text",
      "status": 1,
      "type": 1,
      "applyCurrency": "text",
      "remark": "text",
      "firstName": "text",
      "lastName": "text",
      "kycPno": "text",
      "openCardTargetAmount": "text",
      "alreadyDepositAmount": "text",
      "kycSubmitTime": 1,
      "kycApproveTime": 1,
      "timeout": 1,
      "warningTime": 1,
      "fee": "text",
      "entityFee": "text",
      "applyEntity": true,
      "address": "text",
      "postalCode": "text",
      "mailingCountry": "text",
      "mailingProvince": "text",
      "mailingCity": "text",
      "mailingAddress": "text"
    }
  ]
}

分页查询账户交易记录

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryAccountTransactionRecordPage

Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

currentinteger · longOptional

当前页。默认1

sizeinteger · longOptional

每页条数。默认20

queryStatusstring | nullableOptional

过滤状态(1-待定;2-已发布;3-已拒绝;4-无效;)。多个状态以,分割

queryTypesstringRequired

过滤类型(1-收费;2-退款;3-充值;4-偿还;5-返现;6-利息;7-费用;8-其他;9-卡费;10-邮寄费;11-抵押;12-抵押手续费;13-注资;14-现金回馈;15-其他;16-行政费用;17-划转_卡费;18-划转_抵押;)。多个状态以,分割

createdAtStartTimeinteger · long | nullableOptional

创建交易-开始时间

createdAtEndTimeinteger · long | nullableOptional

创建交易-结束时间

postedAtStartTimeinteger · long | nullableOptional

完成交易-开始时间

postedAtEndTimeinteger · long | nullableOptional

完成交易-结束时间

cardIdinteger · long | nullableOptional

卡ID

operateTypeinteger · int32 | nullableOptional

操作类型。1-入账;2-出账;

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordPage
POST /api/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test"
}
200Success
{
  "msg": "Success",
  "trace": "ryder_test",
  "code": "0",
  "data": {
    "total": 1,
    "current": 1,
    "size": 20,
    "records": [
      {
        "last4": "8396",
        "amount": -100,
        "updateTime": 1674118306037,
        "type": 1,
        "transactionId": "936da01f-9abd-4d9d-80c7-02af85c822a8",
        "merchantName": "UBER * PENDING Amsterdam NLD",
        "accountId": 1000092,
        "createdAt": 1668066429415,
        "createBy": "86009002",
        "companyId": 72,
        "postedAt": 1668066429415,
        "createTime": 1673834243858,
        "updateBy": "System",
        "cardId": 1,
        "customerId": 11,
        "merchantCategory": "Taxicabs and limousines",
        "currency": "HK",
        "id": 1,
        "merchantMcc": "4121",
        "customerNo": "86009002",
        "status": 4
      }
    ]
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 61
}

查询客户消息推送方式

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppMessageService.queryCustomerNoticeSubscription

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

currencystring | nullableOptional

币种

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.queryCustomerNoticeSubscription
POST /api/global/passToCredit.app.AppMessageService.queryCustomerNoticeSubscription HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-7oc3n-7qx9-bx15hu3-3zxp-1676513690",
  "code": "0",
  "data": {
    "verifyCodeSubType": "2",
    "securityVerifyCodeSubType": "2",
    "localTransactionSubType": "2",
    "overseasTransactionSubType": "2",
    "atmWithdrawalSubType": "2",
    "subscriptionTo": "{\"2\":\"+86 134******7471\",\"3\":\"+86 134******7470\"}",
    "class": "com.cats.passToCredit.api.app.vo.NoticeSubscriptionVo"
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 16,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

查询客户发送验证码方式&信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppMessageService.querySendVerifyCodeInfo

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

bizTypeinteger · int32Required

业务类型。2-销卡;3-换卡;4-锁卡;5-解锁卡;6-修改交易密码;7-获取卡私密信息;8-激活卡;

sendTypeinteger · int32Required

发送类型。1-邮件;2-短信;3-WhatsApp

countrystringRequired

国家编码

customerGroupIdinteger · longRequired

客户组编号

cardIdinteger · longRequired

卡ID

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.querySendVerifyCodeInfo
POST /api/global/passToCredit.app.AppMessageService.querySendVerifyCodeInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 336

"{\r\n    \"companyId\": 72,\r\n    \"country\": \"w\",\r\n    \"customerId\": 11,\r\n    \"customerNo\": \"86009002\",\r\n    \"ip\": \"::1\",\r\n    \"lang\": \"zh-CN\",\r\n    \"trace\": \"ryder_test\",\r\n    \"bizType\": 1,\r\n    \"sendType\": 2,\r\n    \"country\": \"w\"\r\n    \"customerGroupId\": 1,\r\n    \"cardId\": 1\r\n}"
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-u6dskb-7tyag1u-79a926y-jn2i155-1676514175",
  "code": "0",
  "data": {
    "sendTo": "******",
    "sendType": 3,
    "class": "com.cats.passToCredit.api.app.vo.SendVerifyCodeInfoVo"
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 17,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

查询账户交易记录

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryAccountTransactionRecordList

Header parameters
versionstringRequiredExample: 0.0.1
tracestringRequiredExample: {{mock_trace}}
companyIdstringRequiredExample: {{company}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

currentinteger · longOptional

当前页。默认1

sizeinteger · longOptional

每页条数。默认20

queryStatusstring | nullableOptional

过滤状态(1-待定;2-已发布;3-已拒绝;4-无效;)。多个状态以,分割

queryTypesstringRequired

过滤类型(1-收费;2-退款;3-充值;4-偿还;5-返现;6-利息;7-费用;8-其他;9-开卡费;10-邮寄费;11-原抵押;12-抵押手续费;13-注资;14-现金回馈;15-其他;16-行政费用;17-划转_卡费;18-划转_抵押;19-注销卡费;20-年费;21-本地消费;22-外地消费;23-本地ATM取款;24-外地ATM取款;特殊逻辑[-1=抵押查询(11,13,18)])。多个状态以,分割

createdAtStartTimeinteger · long | nullableOptional

创建交易-开始时间

createdAtEndTimeinteger · long | nullableOptional

创建交易-结束时间

postedAtStartTimeinteger · long | nullableOptional

完成交易-开始时间

postedAtEndTimeinteger · long | nullableOptional

完成交易-结束时间

cardIdinteger · long | nullableOptional

卡ID

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordList
POST /api/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordList HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
trace: text
companyId: text
lang: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-bp2e-k56o8-2h6fe13t-l406cvq-1676443145",
  "code": "0",
  "data": [
    {
      "last4": "8396",
      "remark": null,
      "type": 1,
      "merchantName": "UBER * PENDING Amsterdam NLD",
      "createdAt": 1673855097000,
      "updateBy": "System",
      "customerId": 56,
      "currency": "HK",
      "id": 3,
      "merchantMcc": "4121",
      "class": "com.cats.passToCredit.api.app.vo.AccountTransactionRecordVo",
      "amount": -100,
      "updateTime": 1673855097000,
      "transactionId": "936da01f-9abd-4d9d-80c7-02af85c822a8",
      "revision": null,
      "accountId": 1000032,
      "createBy": "86009002",
      "companyId": 72,
      "postedAt": null,
      "createTime": 1673855097000,
      "cardId": 1,
      "merchantCategory": "Taxicabs and limousines",
      "refId": null,
      "customerNo": "86021020",
      "status": 1
    }
  ],
  "bizCode": "PASS_TO_CREDIT",
  "tm": 24,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

查询账户交易记录月份总记录数

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryAccountTransactionRecordMonthTotal

Header parameters
versionstringRequiredExample: 0.0.1
tracestringRequiredExample: {{mock_trace}}
companyIdstringRequiredExample: {{company}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

currentinteger · longOptional

当前页。默认1

sizeinteger · longOptional

每页条数。默认20

queryStatusstring | nullableOptional

过滤状态(1-待定;2-已发布;3-已拒绝;4-无效;)。多个状态以,分割

queryTypesstringRequired

过滤类型(1-收费;2-退款;3-充值;4-偿还;5-返现;6-利息;7-费用;8-其他;9-卡费;10-邮寄费;11-抵押;12-抵押手续费;13-注资;14-现金回馈;15-其他;16-行政费用;17-划转_卡费;18-划转_抵押;)。多个状态以,分割

createdAtStartTimeinteger · long | nullableOptional

创建交易-开始时间

createdAtEndTimeinteger · long | nullableOptional

创建交易-结束时间

postedAtStartTimeinteger · long | nullableOptional

完成交易-开始时间

postedAtEndTimeinteger · long | nullableOptional

完成交易-结束时间

cardIdinteger · long | nullableOptional

卡ID

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordMonthTotal
POST /api/global/passToCredit.app.AppCardQueryService.queryAccountTransactionRecordMonthTotal HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
trace: text
companyId: text
lang: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test"
}
200Success
{
  "msg": "Success",
  "trace": "ryder_test",
  "code": "0",
  "data": {
    "postedTotalAmount": "-300.000000000000000000",
    "totalAmount": "-600.000000000000000000",
    "recordList": [
      {
        "date": "2023-01",
        "postedTotalAmount": "-100.000000000000000000",
        "totalAmount": "-200.000000000000000000",
        "total": 2,
        "pendingTotalAmount": "-100.000000000000000000"
      },
      {
        "date": "2022-12",
        "postedTotalAmount": "-200.000000000000000000",
        "totalAmount": "-300.000000000000000000",
        "total": 3,
        "pendingTotalAmount": "-100.000000000000000000"
      },
      {
        "date": "2022-11",
        "postedTotalAmount": "0",
        "totalAmount": "-100.000000000000000000",
        "total": 1,
        "pendingTotalAmount": "0"
      }
    ],
    "pendingTotalAmount": "-200.000000000000000000"
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 40
}

查询卡类型信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCardTypeInfo

Body
companyIdinteger · longRequired

公司ID

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

typeinteger · int32Required

申请卡类型。1-Platinum;

applyCurrencystringRequired

申请卡币种。默认HKD (仅支持"HKD")

customerNostringRequired

客户编号

cardIdinteger · long | nullableOptional

卡Id

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryCardTypeInfo
POST /api/global/passToCredit.app.AppCardQueryService.queryCardTypeInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "companyId": 1,
  "ip": "text",
  "trace": "text",
  "type": 1,
  "applyCurrency": "text",
  "customerNo": "text",
  "cardId": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": {
    "fee": "text",
    "entityFee": "text",
    "minDailyAtmLimit": "text",
    "maxDailyAtmLimit": "text",
    "minDailyPurchaseLimit": "text",
    "maxDailyPurchaseLimit": "text",
    "minDailyAtmLimitOfEntity": "text",
    "maxDailyAtmLimitOfEntity": "text",
    "minDailyPurchaseLimitOfEntity": "text",
    "maxDailyPurchaseLimitOfEntity": "text"
  }
}

重发一次性密码设置链接

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppMessageService.sendCustomerPasswordUrl

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
langstringRequired

语言

Example: zh-CN
Body
ipstringOptional

操作ip

checkTokenstringRequired

校验票据。上一个已经失效的票据

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.sendCustomerPasswordUrl
POST /api/global/passToCredit.app.AppMessageService.sendCustomerPasswordUrl HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "ip": "text",
  "checkToken": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-l987c7e-f3e7u5t-5b34-msij7-1679554557",
  "code": "0",
  "data": true,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 309,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

检查卡展示状态

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.checkCardDisplayStatus

Body
companyIdinteger · longRequired

公司ID

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

cardTypeinteger · int32Required

卡类型

currencystringOptional

币种。仅支持HKD

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.checkCardDisplayStatus
POST /api/global/passToCredit.app.AppCardQueryService.checkCardDisplayStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "companyId": 1,
  "ip": "text",
  "trace": "text",
  "cardType": 1,
  "currency": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": {
    "status": 1,
    "feesUnpaid": "text",
    "fee": "text",
    "entityFee": "text",
    "timeout": 1
  }
}

检查申请卡提案处理状态

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.checkActionStatus

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
Body
companyIdinteger · longRequired

公司ID

proposalIdinteger · longRequired

申请卡提案Id

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.checkActionStatus
POST /api/global/passToCredit.app.AppCardQueryService.checkActionStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "companyId": 75,
  "proposalId": 71,
  "ip": "165.224.93.180",
  "trace": "culpa fugiat"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": 1
}

检查WatsApp账号是否被绑定过

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppMessageService.checkWatsAppAccount

Body
companyIdinteger · longRequired

公司ID。环境变量配置

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

watsAppAccountstringRequired

WatsApp 账号

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.checkWatsAppAccount
POST /api/global/passToCredit.app.AppMessageService.checkWatsAppAccount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "companyId": 1,
  "ip": "text",
  "trace": "text",
  "watsAppAccount": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-vex317h-pixqmo4-j5bhnuc-wwyut1-1676280561",
  "code": "0",
  "data": true,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 1652,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

查询客户列表(代理后台使用)

post

version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCustomerOfAgentPage 登录之后可以访问

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currentintegerRequired

当前页

sizeintegerRequired

每页条数

last4PhonestringOptional

号码后四位

namestringOptional

姓名

selectCustomerNostringOptional

过滤客户编号

openCardStartTimeinteger · longOptional

开卡时间-开始时间

openCardEndTimeinteger · longOptional

开卡时间-结束时间

last4stringOptional

卡后四位

firstRegisterTimeFrominteger · longOptional

首次注册时间-开始时间

firstRegisterTimeTointeger · longOptional

首次注册时间-结束时间

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryCustomerOfAgentPage
POST /api/global/passToCredit.app.AppCardQueryService.queryCustomerOfAgentPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "size": 20,
  "current": 1
}
200Success
{
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "data": {
    "records": [
      {
        "id": 1,
        "createTime": 1,
        "updateTime": 1,
        "customerGroupId": 1,
        "customerGroupName": "text",
        "status": 1,
        "companyId": 1,
        "customerNo": "text",
        "phone": "text",
        "phoneArea": "text",
        "registerSource": 1,
        "unitId": 1,
        "firstName": "text",
        "lastName": "text",
        "email": "text",
        "customerType": 1,
        "cardNumber": "text",
        "openCardTime": 1
      }
    ],
    "total": 1,
    "size": 1,
    "current": 1
  },
  "fail": true,
  "ok": true,
  "bizCode": "text",
  "msgParams": "text"
}

分页查询划账记录

post

Header说明: version=0.0.1 bizType=passToCredit.app.AmountQueryService.queryCustomerTransferProposalPage

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
companyIdinteger · longOptional

公司ID。环境变量配置

customerNostringOptional

代理客户编号。gateway网关应该会填上

queryStatusstringOptional

过滤状态列表。多个状态以,分割。1-待审核;2-完成;3-拒绝;4-划转失败;

queryTypesstringOptional

过滤类型列表。多个状态以,分割。1-待确定;2-划转_卡费;3-划转_抵押;

startTimeintegerOptional

创建时间-开始时间

endTimeintegerOptional

创建时间-结束时间

updateStartTimestringOptional

更新时间-开始时间

updateEndTimestringOptional

更新时间-结束时间

thirdPartyAccountNumberstringOptional

第三方账户编码

firstNamestringOptional

firstName

lastNamestringOptional

lastName

namestringOptional

姓名。当前为lastName+firstName 精确匹配

selectCustomerNostringOptional

查询客户编号

sizeintegerOptional

每页条数

currentintegerOptional

当前页

Responses
200Success
application/json
post
/global/passToCredit.app.AmountQueryService.queryCustomerTransferProposalPage
POST /api/global/passToCredit.app.AmountQueryService.queryCustomerTransferProposalPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 281

{
  "companyId": 1,
  "customerNo": "text",
  "queryStatus": "text",
  "queryTypes": "text",
  "startTime": 1,
  "endTime": 1,
  "updateStartTime": "text",
  "updateEndTime": "text",
  "thirdPartyAccountNumber": "text",
  "firstName": "text",
  "lastName": "text",
  "name": "text",
  "selectCustomerNo": "text",
  "size": 1,
  "current": 1
}
200Success
{
  "msg": "watsApp account already exists",
  "fail": false,
  "trace": "x-vex317h-pixqmo4-j5bhnuc-wwyut1-1676280561",
  "code": "50004",
  "data": null,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 1652,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

获取代理客户简要信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.findCustomerInfoUnderAgentByCustomerNo

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerNostringRequired

代理客户编号。gateway网关应该会填上

unitIdinteger · longOptional

机构Id。gateway网关应该会填上

selectCustomerNostringRequired

查询客户编号

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.findCustomerInfoUnderAgentByCustomerNo
POST /api/global/passToCredit.app.AppCardQueryService.findCustomerInfoUnderAgentByCustomerNo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 72

{
  "companyId": 1,
  "customerNo": "text",
  "unitId": 1,
  "selectCustomerNo": "text"
}
200Success
{
  "msg": "watsApp account already exists",
  "fail": false,
  "trace": "x-vex317h-pixqmo4-j5bhnuc-wwyut1-1676280561",
  "code": "50004",
  "data": null,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 1652,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

查看代理下客户列表信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCustomerOfAgentList

Body
cardFirstNameLastNameCustomerNostringOptional

持卡人姓,名,客户编号

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardQueryService.queryCustomerOfAgentList
POST /api/global/passToCredit.app.AppCardQueryService.queryCustomerOfAgentList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "cardFirstNameLastNameCustomerNo": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "companyId": 1,
    "unitId": "text",
    "customerNo": "text",
    "phone": "text",
    "phoneArea": "text",
    "last4Phone": "text",
    "cardNumber": "text",
    "cardFirstName": "text",
    "cardLastName": "text"
  },
  "ok": true,
  "fail": true
}

获取联系客服信息

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppContactCustomerDubboService.info

Header parameters
versionstringRequiredExample: 0.0.1
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
objectOptional
Responses
200Success
application/json
post
/global/passToCredit.app.AppContactCustomerDubboService.info
POST /api/global/passToCredit.app.AppContactCustomerDubboService.info HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "tg": 1,
    "whatsApp": "text"
  },
  "ok": true,
  "fail": true
}

获取抵押货币对汇率

post

bizType=passToCredit.app.AppRateDubboService.findDepositExchangeRate version = 0.0.1 获取抵押货币对汇率 登录后方可访问

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringRequiredExample: {{LoginResult.data.token}}
Body
sourceCurrencystringRequired

来源货币编码

targetCurrencystringRequired

目标货币编码

Responses
200Success
application/json
post
/global/passToCredit.app.AppRateDubboService.findDepositExchangeRate
POST /api/global/passToCredit.app.AppRateDubboService.findDepositExchangeRate HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 49

{
  "sourceCurrency": "text",
  "targetCurrency": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "sourceCurrency": "text",
    "targetCurrency": "text",
    "exchangeRate": "text",
    "formulaSymbol": "text",
    "sourceDigits": "text",
    "targetDigits": "text",
    "exchangeRateDigits": "text",
    "rateRangeLevelList": [
      "text"
    ]
  },
  "ok": true,
  "fail": true
}

Last updated