信用卡接口/操作类

批量设置客户订阅方式

post

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

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
companyIdstringRequired

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

currencystring | nullableOptional

币种

verifyCodeSubTypestring | nullableOptional

3-D认证验证码推送方式。多个类型以,分隔。1-邮箱;2-短信;3-WhatsApp;4-Telegram

securityVerifyCodeSubTypestring | nullableOptional

安全验证码推送方式。多个类型以,分隔。1-邮箱;2-短信;3-WhatsApp;4-Telegram

localTransactionSubTypestring | nullableOptional

本地交易消息推送方式。多个类型以,分隔。1-邮箱;2-短信;3-WhatsApp;4-Telegram

overseasTransactionSubTypestring | nullableOptional

海外交易消息推送方式。多个类型以,分隔。1-邮箱;2-短信;3-WhatsApp;4-Telegram

atmWithdrawalSubTypestring | nullableOptional

ATM取款消息推送方式。多个类型以,分隔。1-邮箱;2-短信;3-WhatsApp;4-Telegram

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.batchSettingSubscriptionType
POST /api/global/passToCredit.app.AppMessageService.batchSettingSubscriptionType 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: 178

"{\r\n    \"companyId\": 72,\r\n    \"customerId\": 93,\r\n    \"customerNo\": \"86000000\",\r\n    \"subscriptionType\": 2,\r\n    \"subscriptionTo\": \"+86 12345678901\",\r\n}"
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

申请卡

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.applyCard

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

追踪号

typeinteger · int32Required

申请卡类型。1-Platinum;

applyCurrencystring | nullableOptional

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

remarkstring | nullableOptional

备注

kycPnostring | nullableOptional

KYC提案号

addressstringRequired

地址

postalCodestringRequired

邮编

mailingCountrystring | nullableOptional

国家/地区 编码

mailingProvincestring | nullableOptional

州/省 编码

mailingCitystring | nullableOptional

城市 编码

mailingAddressstring | nullableOptional

详细地址

applyEntitystringOptional

申请实体卡

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.applyCard
POST /api/global/passToCredit.app.AppCardActiveService.applyCard 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: 134

{
  "companyId": 72,
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "type": 2,
  "applyCurrency": "HKD"
}
200Success
{
  "msg": "Success",
  "trace": "ryder_test",
  "code": "0",
  "data": true,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 1585
}

激活卡

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.activationCard

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

公司ID。环境变量配置

customerIdinteger · longRequired

客户ID

customerNostringRequired

客户编号

ipstring | nullableOptional

操作ip

tracestring | nullableOptional

追踪号

cardIdinteger · longRequired

卡ID

cardNumberstringRequired

卡号

smsSendTokenstringRequired

短信验证码发送票据

smsCodestringRequired

短信验证码

activationCodestringRequired

激活码

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.activationCard
POST /api/global/passToCredit.app.AppCardActiveService.activationCard 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: 357

"{\r\n    \"companyId\": 72,\r\n    \"country\": \"w\",\r\n    \"customerId\": 11,\r\n    \"customerNo\": \"86009002\",\r\n    \"trace\": \"ryder_test\",\r\n    \"cardId\": 81,\r\n    \"emailSendToken\": \"[email protected]\",\r\n    \"emailCode\": \"61\",\r\n    \"smsSendToken\": \"incididunt eiusmod nulla voluptate\",\r\n    \"smsCode\": \"16\",\r\n}"
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-vex317h-pixqmo4-j5bhnuc-wwyut1-1676280561",
  "code": "0",
  "data": {
    "id": 20
  },
  "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.AppCardActiveService.lockCard

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

追踪号

cardIdinteger · longRequired

卡ID

smsSendTokenstringRequired

短信验证码发送票据

smsCodestringRequired

短信验证码

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.lockCard
POST /api/global/passToCredit.app.AppCardActiveService.lockCard 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: 59

{
  "cardId": 81,
  "smsSendToken": "{{sendToken}}",
  "smsCode": "16"
}
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

解锁卡

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.unlockCard

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

追踪号

cardIdinteger · longRequired

卡ID

smsSendTokenstringRequired

短信验证码发送票据

smsCodestringRequired

短信验证码

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.unlockCard
POST /api/global/passToCredit.app.AppCardActiveService.unlockCard 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: 275

"{\r\n    \"companyId\": 72,\r\n    \"country\": \"w\",\r\n    \"customerId\": 11,\r\n    \"customerNo\": \"86009002\",\r\n    \"trace\": \"ryder_test\",\r\n    \"cardId\": 81,\r\n    \"smsSendToken\": \"incididunt eiusmod nulla voluptate\",\r\n    \"smsCode\": \"16\",\r\n}"
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

设置卡交易密码

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.modifyTradePassword

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

追踪号

cardIdinteger · longRequired

卡ID

smsSendTokenstringRequired

短信验证码发送票据

smsCodestringRequired

短信验证码

passwordstringRequired

密码

checkPasswordstringRequired

确认密码

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.modifyTradePassword
POST /api/global/passToCredit.app.AppCardActiveService.modifyTradePassword 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: 104

{
  "cardId": 21,
  "smsSendToken": "{{sendToken}}",
  "smsCode": "44",
  "password": "123456",
  "checkPassword": "123456"
}
200Success
{
  "msg": "参数为空异常.",
  "fail": true,
  "trace": "x-xcq5-k8t3e7-44tti0-6x25s6c-1675995191",
  "code": "1002",
  "data": "passToCredit.app.AppCardActiveService.modifyTradePassword",
  "bizCode": "PASS_TO_CREDIT",
  "tm": 2,
  "msgParams": null,
  "ok": false,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

设置卡限额

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.settingCardLimit

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

追踪号

cardIdinteger · longRequired

卡ID

dailyAtmLimitstringOptional

单日取款限额

dailyPurchaseLimitstringOptional

单日消费限额

Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.settingCardLimit
POST /api/global/passToCredit.app.AppCardActiveService.settingCardLimit 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: 139

{
  "companyId": 1,
  "customerId": 1,
  "customerNo": "text",
  "ip": "text",
  "trace": "text",
  "cardId": 1,
  "dailyAtmLimit": "text",
  "dailyPurchaseLimit": "text"
}
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

发送验证码

post

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

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-激活卡;

countrystringRequired

国家编码

customerGroupIdinteger · longRequired

客户组编号

cardIdinteger · longRequired

卡ID

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.sendVerifyCode
POST /api/global/passToCredit.app.AppMessageService.sendVerifyCode 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: 173

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "bizType": 1,
  "sendType": 1,
  "customerGroupId": 1,
  "cardId": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-5ob5d-q56j8s7-g6wehzx-z1ra8e3-1676513789",
  "code": "0",
  "data": {
    "class": "com.cats.passToCredit.api.app.vo.SendVerifyCodeVo",
    "token": "af51d711-aada-4940-b8a5-6b63ada6dfb7"
  },
  "bizCode": "PASS_TO_CREDIT",
  "tm": 306,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

发送WatsApp验证码

post

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

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

追踪号

watsAppAccountstringRequired

WatsApp账号。不填时,按已配置旧账号发送。如无配置账号,报错

countrystringRequired

国家编码

customerGroupIdinteger · longRequired

客户组编号

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.sendWatsAppVerifyCode
POST /api/global/passToCredit.app.AppMessageService.sendWatsAppVerifyCode 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: 188

"{\r\n    \"companyId\": 72,\r\n    \"customerId\": 11,\r\n    \"customerNo\": \"86009002\"\r\n    \"customerGroupId\": 1,\r\n    \"country\": \"CN\",\r\n    \"watsAppAccount\": \"\"\r\n}"
200Success
{
  "msg": "WatsApp账号未配置",
  "fail": true,
  "trace": "x-o6d6lc3-1blt6ta1-qj1j9-baf42k8-1676033764",
  "code": "50001",
  "data": "passToCredit.app.AppMessageService.sendWatsAppVerifyCode",
  "bizCode": "PASS_TO_CREDIT",
  "tm": 5,
  "msgParams": null,
  "ok": false,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

修改WatsApp账号

post

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

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

追踪号

watsAppAccountstringRequired

WatsApp账号

oldWatsAppSendTokenstringRequired

旧账号验证码发送票据

oldWatsAppCodestringRequired

旧账号验证码

newWatsAppSendTokenstringRequired

新账号验证码发送票据

newWatsAppCodestringRequired

新账号验证码

Responses
200Success
application/json
post
/global/passToCredit.app.AppMessageService.updateWatsAppAccount
POST /api/global/passToCredit.app.AppMessageService.updateWatsAppAccount 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: 248

"{\r\n    \"watsAppAccount\": \"+123 321\",\r\n    \"oldWatsAppSendToken\": \"[email protected]\",\r\n    \"oldWatsAppCode\": \"61\",\r\n    \"newWatsAppSendToken\": \"incididunt eiusmod nulla voluptate\",\r\n    \"newWatsAppCode\": \"16\",\r\n}"
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

上传文件

post
Header parameters
companyIdstringRequired

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

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
langstringRequired

语言

Example: zh-CN
tokenstringRequired

登录token

Example: {{LoginResult.data.token}}
Body
objectstring · binaryOptionalExample: file://C:\Users\admin\Pictures\Saved Pictures\51e7ce01-11b1-49a0-b42f-33130c966cd4IMG_6054.HEIC
userPhonestringRequiredExample: {% mock 'phone' %}
Responses
200Success
application/json
Responseobject
post
/passToCreditUpload
POST /api/passToCreditUpload HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
trace: text
lang: text
token: text
Content-Type: multipart/form-data
Accept: */*
Content-Length: 146

{
  "object": "file://C:\\Users\\admin\\Pictures\\Saved Pictures\\51e7ce01-11b1-49a0-b42f-33130c966cd4IMG_6054.HEIC",
  "userPhone": "{% mock 'phone' %}"
}
200Success
{}

挂失卡

post

Header说明: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.addSuspendCardProposal

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

环境变量配置

customerIdinteger · longRequired
customerNostringRequired
ipstring | nullableOptional
tracestring | nullableOptional
cardIdinteger · longRequired
remarkstring | nullableOptional
smsSendTokenstringRequired
smsCodestringRequired
Responses
200Success
application/json
post
/global/passToCredit.app.AppCardActiveService.addSuspendCardProposal
POST /api/global/passToCredit.app.AppCardActiveService.addSuspendCardProposal 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: 59

{
  "cardId": 81,
  "smsSendToken": "{{sendToken}}",
  "smsCode": "16"
}
200Success
{
  "code": "text",
  "msg": "text",
  "data": true
}

划账

post

Header说明: version=0.0.1 bizType=passToCredit.app.AmountActiveService.addTransferProposal

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

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

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringRequired

登录token

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

语言

Example: en-US
Body
companyIdinteger · longRequired

公司ID。环境变量配置

customerIdinteger · longRequired

划出客户ID。此接口给代理使用,此项目gateway应当会自动填充

customerNostringRequired

划出客户编号。此接口给代理使用,此项目gateway应当会自动填充

amountstringRequired

划账金额

currencystring | nullableOptional

划账币种。非必填,默认HKD

toCustomerNostring | nullableOptional

划入客户编号

Responses
200Success
application/json
post
/global/passToCredit.app.AmountActiveService.addTransferProposal
POST /api/global/passToCredit.app.AmountActiveService.addTransferProposal 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: 113

{
  "companyId": 72,
  "customerId": 58,
  "customerNo": "86000001",
  "amount": "53",
  "currency": "HKD",
  "toCustomerNo": "86000002"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-fu418b38-1mt351m7-707245h-442s-1687249364",
  "code": "0",
  "data": true,
  "bizCode": "PASS_TO_CREDIT",
  "tm": 447,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

Last updated