Credit Card/Query

Get customer card list

post

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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

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
}

Query card sensitive information

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.getCardSensitiveInfo

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

ipstringRequired

Operation IP

tracestring | nullableOptional

Trace number

cardIdinteger · longRequired

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

Get customer application card proposal list

post

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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

queryStatusstring | nullableOptional

Filter status (1-Pending KYC review; 2-Pending third-party confirmation; 3-Card issuance in progress; 4-Completed; 5-Rejected;). Multiple statuses separated by commas|

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

Query customer list (for agent backend use)

post

version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCustomerOfAgentPage Accessible after login

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

Current Page

sizeintegerRequired

Number of Items per Page

last4PhonestringOptional

Last four digits of the number

namestringOptional

Name

selectCustomerNostringOptional

Filter customer number

openCardStartTimeinteger · longOptional

Card issuance time - start time

openCardEndTimeinteger · longOptional

Card issuance time - end time

last4stringOptional

Last four digits of the card

firstRegisterTimeFrominteger · longOptional

First registration time - start time

firstRegisterTimeTointeger · longOptional

First registration time - end time

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

Pagination query account transaction records

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryAccountTransactionRecordPage

Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

currentinteger · longOptional

Current page. Default is 1

sizeinteger · longOptional

Number of items per page. Default is 20

queryStatusstring | nullableOptional

Filter status (1-Pending; 2-Published; 3-Rejected; 4-Invalid;). Multiple statuses separated by commas

queryTypesstringRequired

Filter type (1-Charge; 2-Refund; 3-Recharge; 4-Repayment; 5-Cashback; 6-Interest; 7-Fee; 8-Other; 9-Card fee; 10-Postage fee; 11-Mortgage; 12-Mortgage handling fee; 13-Capital injection; 14-Cash feedback; 15-Other; 16-Administrative expenses; 17-Transfer_Card fee; 18-Transfer_Mortgage;). Multiple types separated by commas

createdAtStartTimeinteger · long | nullableOptional

Create Trade - Start Time

createdAtEndTimeinteger · long | nullableOptional

Create Trade - End Time

postedAtStartTimeinteger · long | nullableOptional

Complete Trade - Start Time

postedAtEndTimeinteger · long | nullableOptional

Complete Trade - End Time

cardIdinteger · long | nullableOptional

Card ID

operateTypeinteger · int32 | nullableOptional

Operation Type. 1-Debit; 2-Credit;

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
}

Query customer message push method

post

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

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

currencystring | nullableOptional

Currency

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

Query customer's method & information for sending verification code

post

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

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;

sendTypeinteger · int32Required

Send Type. 1-Email; 2-SMS; 3-WhatsApp

countrystringRequired

Country Code

customerGroupIdinteger · longRequired

Client Group Number

cardIdinteger · longRequired

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

Query account transaction records

post

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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

currentinteger · longOptional

Current page. Default is 1

sizeinteger · longOptional

Number of items per page. Default is 20

queryStatusstring | nullableOptional

Filter status (1-Pending; 2-Published; 3-Rejected; 4-Invalid;). Multiple statuses separated by commas

queryTypesstringRequired

Filter type (1-charge; 2-refund; 3-recharge; 4-repayment; 5-cashback; 6-interest; 7-fees; 8-other; 9-card issuance fee; 10-postage fee; 11-original mortgage; 12-mortgage handling fee; 13-capital injection; 14-cash feedback; 15-other; 16-administrative expenses; 17-transfer_card fee; 18-transfer_mortgage; 19-cancel card fee; 20-annual fee; 21-local consumption; 22-out-of-town consumption; 23-local ATM withdrawal; 24-out-of-town ATM withdrawal; Special logic [-1=mortgage query (11, 13, 18)]). Multiple statuses are separated by commas

createdAtStartTimeinteger · long | nullableOptional

Create Trade - Start Time

createdAtEndTimeinteger · long | nullableOptional

Create Trade - End Time

postedAtStartTimeinteger · long | nullableOptional

Complete Trade - Start Time

postedAtEndTimeinteger · long | nullableOptional

Complete Trade - End Time

cardIdinteger · long | nullableOptional

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

Query the total number of account transaction records for the month

post

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

Company ID. Environment variable configuration

customerIdinteger · longRequired

Client ID

customerNostringRequired

Client number

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

currentinteger · longOptional

Current page. Default is 1

sizeinteger · longOptional

Number of items per page. Default is 20

queryStatusstring | nullableOptional

Filter status (1-Pending; 2-Published; 3-Rejected; 4-Invalid;). Multiple statuses separated by commas

queryTypesstringRequired

Filter type (1-Charge; 2-Refund; 3-Recharge; 4-Repayment; 5-Cashback; 6-Interest; 7-Fee; 8-Other; 9-Card fee; 10-Postage fee; 11-Mortgage; 12-Mortgage handling fee; 13-Capital injection; 14-Cash feedback; 15-Other; 16-Administrative expenses; 17-Transfer_Card fee; 18-Transfer_Mortgage;). Multiple types separated by commas

createdAtStartTimeinteger · long | nullableOptional

Create Trade - Start Time

createdAtEndTimeinteger · long | nullableOptional

Create Trade - End Time

postedAtStartTimeinteger · long | nullableOptional

Complete Trade - Start Time

postedAtEndTimeinteger · long | nullableOptional

Complete Trade - End Time

cardIdinteger · long | nullableOptional

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

Get Mortgage Currency Exchange Rate

post

bizType=passToCredit.app.AppRateDubboService.findDepositExchangeRate version = 0.0.1 Get Mortgage Currency Exchange Rate Accessible after login

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

Source Currency Code

targetCurrencystringRequired

Target Currency Code

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
}

Query Card Type Information

post

Header Explanation: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCardTypeInfo

Body
companyIdinteger · longRequired

Company ID

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

typeinteger · int32Required

Apply card type. 1-Platinum;

applyCurrencystringRequired

Apply for card currency. Default HKD (only support "HKD")

customerNostringRequired

Client number

cardIdinteger · long | nullableOptional

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

Resend one-time password setting link

post

Header Description: version=0.0.1 bizType=passToCredit.app.AppMessageService.sendCustomerPasswordUrl

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

Language

Example: zh-CN
Body
ipstringOptional

Operation IP

checkTokenstringRequired

Verify token. The previous token has expired.

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

Check card display status

post

Header description: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.checkCardDisplayStatus

Body
companyIdinteger · longRequired

Company ID

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

cardTypeinteger · int32Required

Card Type

currencystringOptional

Currency. Only supports 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
  }
}

Check application card proposal processing status

post

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

Company ID

proposalIdinteger · longRequired

Application card proposal Id

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

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
}

Check if WatsApp account has been bound

post

Header Description: version=0.0.1 bizType=passToCredit.app.AppMessageService.checkWatsAppAccount

Body
companyIdinteger · longRequired

Company ID. Environment variable configuration

ipstring | nullableOptional

Operation IP

tracestring | nullableOptional

Trace number

watsAppAccountstringRequired

WatsApp Account

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

Pagination query for transfer records

post

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

Company ID. Environment variable configuration

customerNostringOptional

Agent customer number. The gateway should fill it in

queryStatusstringOptional

Filter status list. Multiple statuses are separated by commas. 1-Pending review; 2-Completed; 3-Rejected; 4-Transfer failed;

queryTypesstringOptional

Filter type list. Multiple statuses separated by commas. 1-Pending confirmation; 2-Transfer_card fee; 3-Transfer_mortgage;

startTimeintegerOptional

Creation time-start time

endTimeintegerOptional

Creation time-end time

updateStartTimestringOptional

Update time-start time

updateEndTimestringOptional

Update time-end time

thirdPartyAccountNumberstringOptional

Third-party account code

firstNamestringOptional

firstName

lastNamestringOptional

lastName

namestringOptional

Name. Currently lastName+firstName exact match

selectCustomerNostringOptional

Query customer number

sizeintegerOptional

Number of Items per Page

currentintegerOptional

Current Page

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

Get brief information of agent customer

post

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

Company ID. Environment variable configuration

customerNostringRequired

Agent customer number. The gateway should fill it in

unitIdinteger · longOptional

Organization Id. The gateway should fill in

selectCustomerNostringRequired

Query customer number

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

View customer list information under the agent

post

Header Description: version=0.0.1 bizType=passToCredit.app.AppCardQueryService.queryCustomerOfAgentList

Body
cardFirstNameLastNameCustomerNostringOptional

Cardholder last name, first name, customer number

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
}

Get customer service contact information

post

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

Last updated