Credit Card/Operation

Apply for card

post

Header Description: 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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

typeinteger · int32Required

Apply card type. 1-Platinum;

applyCurrencystring | nullableOptional

Apply card currency. Default HKD (currently only supports "HKD")

remarkstring | nullableOptional

Remarks

kycPnostring | nullableOptional

KYC proposal number

addressstringRequired

Address

postalCodestringRequired

Postal code

mailingCountrystring | nullableOptional

Country/Region code

mailingProvincestring | nullableOptional

State/Province code

mailingCitystring | nullableOptional

City code

mailingAddressstring | nullableOptional

Detailed address

applyEntitystringOptional

Apply for physical card

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
}

Activate card

post

Header description: 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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

Card ID

cardNumberstringRequired

Card number

smsSendTokenstringRequired

SMS verification code sending ticket

smsCodestringRequired

SMS verification code

activationCodestringRequired

Activation code

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"
}

Lock card

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.lockCard

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

Card ID

smsSendTokenstringRequired

SMS verification code sending ticket

smsCodestringRequired

SMS verification code

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
}

Lost card

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.addSuspendCardProposal

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Environment variable configuration

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
}

Transfer

post

Header description: version=0.0.1 bizType=passToCredit.app.AmountActiveService.addTransferProposal

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: en-US
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Transfer out customer ID. This interface is for agents' use, the gateway of this project should automatically fill in

customerNostringRequired

Transfer out customer number. This interface is for agents' use, the gateway of this project should automatically fill in

amountstringRequired

Transfer amount

currencystring | nullableOptional

Transfer currency. Not required, default is HKD

toCustomerNostring | nullableOptional

Transfer to customer number

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"
}

Unlock card

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.unlockCard

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

Card ID

smsSendTokenstringRequired

SMS verification code sending ticket

smsCodestringRequired

SMS verification code

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
}

Set card transaction password

post

Header Explanation: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.modifyTradePassword

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

Card ID

smsSendTokenstringRequired

SMS verification code sending ticket

smsCodestringRequired

SMS verification code

passwordstringRequired

Password

checkPasswordstringRequired

Confirm Password

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": "Parameter is empty exception.",
  "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"
}

Set card limit

post

Header explanation: version=0.0.1 bizType=passToCredit.app.AppCardActiveService.settingCardLimit

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

Card ID

dailyAtmLimitstringOptional

Daily withdrawal limit

dailyPurchaseLimitstringOptional

Daily spending limit

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
}

Send verification code

post

Header description: version=0.0.1 bizType=passToCredit.app.AppMessageService.sendVerifyCode

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

bizTypeinteger · int32Required

Business type: 2-Cancel card; 3-Change card; 4-Lock card; 5-Unlock card; 6-Change transaction password; 7-Get card private information; 8-Activate card;

countrystringRequired

Country Code

customerGroupIdinteger · longRequired

Client Group Number

cardIdinteger · longRequired

Card 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"
}

Batch setting customer subscription method

post

Header Explanation: version=0.0.1 bizType=passToCredit.app.AppMessageService.batchSettingSubscriptionType

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdstringRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

currencystring | nullableOptional

Currency

verifyCodeSubTypestring | nullableOptional

3-D authentication code push method. Multiple types separated by commas. 1-Email; 2-SMS; 3-WhatsApp; 4-Telegram

securityVerifyCodeSubTypestring | nullableOptional

Security code push method. Multiple types separated by commas. 1-Email; 2-SMS; 3-WhatsApp; 4-Telegram

localTransactionSubTypestring | nullableOptional

Local trade message push method. Multiple types separated by commas. 1-Email; 2-SMS; 3-WhatsApp; 4-Telegram

overseasTransactionSubTypestring | nullableOptional

Overseas trading message push method. Multiple types separated by commas. 1-Email; 2-SMS; 3-WhatsApp; 4-Telegram

atmWithdrawalSubTypestring | nullableOptional

ATM withdrawal message push method. Multiple types separated by commas. 1-Email; 2-SMS; 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
}

Send WatsApp verification code

post

Header description: version=0.0.1 bizType=passToCredit.app.AppMessageService.sendWatsAppVerifyCode

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

watsAppAccountstringRequired

WatsApp account. If not filled, the old configured account will be used for sending. If no account is configured, an error will be reported

countrystringRequired

Country Code

customerGroupIdinteger · longRequired

Client Group Number

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 account not configured",
  "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"
}

Modify WatsApp account

post

Header description: version=0.0.1 bizType=passToCredit.app..AppMessageService.updateWatsAppAccount

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

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

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

watsAppAccountstringRequired

WatsApp account

oldWatsAppSendTokenstringRequired

Old account verification code sending ticket

oldWatsAppCodestringRequired

Old account verification code

newWatsAppSendTokenstringRequired

New account verification code sending ticket

newWatsAppCodestringRequired

New account verification code

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
}

Upload file

post
Header parameters
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
langstringRequired

Language

Example: zh-CN
tokenstringRequired

Login 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
{}

Last updated