接口文档

Gifpay Card Issuing API 帮助文档 — 涵盖接入流程、接口规范、API 参考、回调通知、错误码与常见问题

📋

卡申请

卡片开卡、激活、验证等申请类接口

12 个接口
POST /app/institutionInfoQuery 1000.发卡机构查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data InstitutionInfoQueryRequestDto

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array 发卡机构列表信息
POST /app/brhBrandAuthorizedQuery 1001.机构授权卡品牌查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ brandId string 卡品牌Id

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array 授权卡品牌列表信息
POST /app/fileUpload 1003.文件上传

请求参数

字段名类型说明
file string
fileMd5 string 文件MD5[存在时比对file解析的MD5,不一致报错]
orgId string 机构ID
userBrhId string 机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ sysFileName string 图片系统文件名
└ fileMd5 string 文件md5
POST /app/realNameCardOpen 1004.实名卡开卡申请

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id[老客户申卡时填写, 客户注册成功后系统生成]
└ brandId string 品牌ID[长度4位]
└ cardIdEnc string 卡号或卡序号密文[ipay88发卡机构支持][长度最少16位最多19位]
└ note string 申请备注[最大长度255]
└ nationalityCode string 国籍编码[三位字母编码]
└ state string 州/省[oinpay渠道必填,国籍为美国时填各州缩写,不能为数字][最大长度20]
└ city string 市[oinpay渠道必填,不能为数字][最大长度20]
└ pidInfo string
└ pidInfo2 string
└ firstNameEnc string firstNameEnc[长度最大50,英文时为大写][光子易渠道不允许包含数字,特殊字符,空格]
└ midNameEnc string 中间名[长度最大50,英文时为大写]
└ lastNameEnc string lastNameEnc[长度最大50,英文时为大写][光子易渠道不允许包含数字,特殊字符,空格]
└ tel string 联系方式[长度最大50]
└ emailEnc string 电子邮箱[长度最大50][allinpay渠道必填]
└ sex string 性别(0-男 1-女)[oinpay,allinpay渠道必填]
└ dob string 出生日期[yyyyMMdd][oinpay,gsalary,光子易 渠道必填][光子易渠道必须满18周岁]
└ mobileEnc string 手机号[区号-号码,长度最大26][allinpay渠道必填]
└ headPhotos array 本人照[原始文件名及base64形式的图片, 最多一张][headPhotos,headPhotoSysFileNames填其一, ipay88/bongloy必填]
└ headPhotoSysFileNames array 本人照[文件上传接口返回的系统文件名, 最多一张][headPhotos,headPhotoSysFileNames填其一, ipay88/bongloy必填]
└ billingInfo string
└ residentialInfo string
└ mailingAddress string 邮寄地址[ipay88必填][长度最大200]
└ lwContractPhotosSysFileNames array 劳务合同照[文件上传接口返回的系统文件名][ipay88渠道选填]
└ memberInfo string
└ vaCustomerNo string VA账户[长度最大20][aqua卡申请时必填]
└ isDefaultCust string 是否使用默认客户信息[oinpay/光子易发卡机构使用,1: 标识启用 0: 不启用]
└ mailInfo string
└ recipientId string 收件人Id[光子易发卡机构使用,申请实体卡时必填]
└ fingerprintId string 设备指纹ID[光子易发卡机构使用,与用户设备公网IP地址二选一,必填其中一个]
└ ipAddress string 用户设备公网IP地址[光子易发卡机构使用,与设备指纹ID地址二选一,必填其中一个]
└ gpsCountry string 用户设备地理位置的国家码(两位字母 ISO)[光子易发卡机构使用,当用户设备公网IP地址存在时必填]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 申请单号
POST /app/realNameCardOpenListQuery 1005.申卡进度列表查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ pidType string 证件类型证件类型[1:身份证 3:护照] 1
└ pidNoEnc string 证件号[长度最大50] dB6I/jW2FyMsnxLtgVwKGIzo9y9W3Q4mbJqWoB8LVhXECIN7p003hU0m3aJDP34C630AOfGNqJHSDRVVuAXz9YeivmmBNNiweRPBvBNvyT8wh797n0nccOHQRh4RBTl+p0Uq1xEms6Wb1Oc1TOR3L3I3nQJWUPG32YxjNSXkB+PUV4hFnsTHT3iA4Sn/pnfAY6cVIH14AQR+tAzPHa7vd8/egqwU4056cPMvLKgyZyUdffu/8Y4eUsBm5xE2pi2skVsmN4s3Sc/aDDaHUOyN9zq6AUZLEn6hcdNVnnfbI5pfo3RvT+k5T1aVbTCqCruS5qvchfHm8mgaiqA8S+IFew==

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array 申卡进度列表信息
POST /app/realNameCardOpenQuery 1006.申卡进度查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ appId string 申请单号

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 工单号
└ firstNameEnc string firstName
└ midNameEnc string 中间名
└ lastNameEnc string lastName
└ pidInfo string
└ pidInfo2 string
└ billingInfo string
└ residentialInfo string
└ tel string 电话
└ nationalityCode string 国籍编码
└ state string 省
└ city string 市
└ emailEnc string 电子邮件
└ mobileEnc string 手机号
└ pidNoUrlFlag string 证件保存标志
└ pidNoUrlFlag2 string 第二证件保存标志
└ headPicUrlFlag string 头像保存标志
└ lwContractUrlFlag string 劳务合同保存标志
└ sta string 状态(01-已申请;02-发卡机构处理中;03-发卡机构审核通过;04-发卡机构审核拒绝;05-申卡失败;08-激活成功; 09-激活失败;10-制卡成功; 11-制卡失败)
└ note string 备注
└ custId string 客户号
└ extCardId string 卡映射id
└ cardIdEnc string 明文卡号
└ brandId string 品牌号
└ appDate string 申请日期
└ appTm string 申请时间
└ totFee string 保证金账户手续费
└ totFeeCurrency string 保证金账户手续费币种
└ trackingNumber string 快递单号
└ courier string 快递公司
POST /app/cardActive 1007.卡激活

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射id
└ pinEnc string 旧密码:明文加密[常规6位,光子易实体卡必须为4位密码][ipay88实体卡必填] dB6I/jW2FyMsnxLtgVwKGIzo9y9W3Q4mbJqWoB8LVhXECIN7p003hU0m3aJDP34C630AOfGNqJHSDRVVuAXz9YeivmmBNNiweRPBvBNvyT8wh797n0nccOHQRh4RBTl+p0Uq1xEms6Wb1Oc1TOR3L3I3nQJWUPG32YxjNSXkB+PUV4hFnsTHT3iA4Sn/pnfAY6cVIH14AQR+tAzPHa7vd8/egqwU4056cPMvLKgyZyUdffu/8Y4eUsBm5xE2pi2skVsmN4s3Sc/aDDaHUOyN9zq6AUZLEn6hcdNVnnfbI5pfo3RvT+k5T1aVbTCqCruS5qvchfHm8mgaiqA8S+IFew==
└ newPinEnc string 新密码:明文加密[常规6位,光子易实体卡必须为4位密码] dB6I/jW2FyMsnxLtgVwKGIzo9y9W3Q4mbJqWoB8LVhXECIN7p003hU0m3aJDP34C630AOfGNqJHSDRVVuAXz9YeivmmBNNiweRPBvBNvyT8wh797n0nccOHQRh4RBTl+p0Uq1xEms6Wb1Oc1TOR3L3I3nQJWUPG32YxjNSXkB+PUV4hFnsTHT3iA4Sn/pnfAY6cVIH14AQR+tAzPHa7vd8/egqwU4056cPMvLKgyZyUdffu/8Y4eUsBm5xE2pi2skVsmN4s3Sc/aDDaHUOyN9zq6AUZLEn6hcdNVnnfbI5pfo3RvT+k5T1aVbTCqCruS5qvchfHm8mgaiqA8S+IFew==
└ cvn2 string cvn2[ipay88实体卡必填]
└ endDt string 卡面截止时间,格式:yyMM[ipay88实体卡必填] 1111
└ activationCode string 激活码[gsalary实体卡必填]
└ noPinPaymentAmount string 无需PIN验证的卡交易的允许金额[gsalary实体卡选填]
└ expDtEnc string 卡面有效时间明文加密[光子易实体卡必填],格式:yyMM dB6I/jW2FyMsnxLtgVwKGIzo9y9W3Q4mbJqWoB8LVhXECIN7p003hU0m3aJDP34C630AOfGNqJHSDRVVuAXz9YeivmmBNNiweRPBvBNvyT8wh797n0nccOHQRh4RBTl+p0Uq1xEms6Wb1Oc1TOR3L3I3nQJWUPG32YxjNSXkB+PUV4hFnsTHT3iA4Sn/pnfAY6cVIH14AQR+tAzPHa7vd8/egqwU4056cPMvLKgyZyUdffu/8Y4eUsBm5xE2pi2skVsmN4s3Sc/aDDaHUOyN9zq6AUZLEn6hcdNVnnfbI5pfo3RvT+k5T1aVbTCqCruS5qvchfHm8mgaiqA8S+IFew==

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ cardId4 string 卡号后4位
POST /app/vouStockQuery 1008.卡片库存查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ brandId string 品牌ID[长度4位] 0032

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array 库存列表
POST /app/cardStockVerify 1009.卡号库存验证

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ cardIdEnc string 卡号或卡序号密文
└ endDtEnc string 卡有效期
└ cvn2Enc string cvn2Enc

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ brandId string 卡品牌
└ cardIdEnc string 卡号或卡序号密文
POST /app/marginChangeListQuery 1010.业务汇总查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ startDate string 开始时间 yyyyMMdd
└ endDate string 结束时间 yyyyMMdd

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array
└ totalItemCount string 总条数
└ totalItemMoney string 总金额
POST /app/depositAcctQuery 1011.机构保证金账户查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data DepositAcctQueryRequestDto

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ accountNo string 保证金账号
└ acctSta string 账户状态: 00:正常 02:冻结 04:销户
└ currency string 账户币种[3位数字,例如:156 人民币,840 美元]
└ currBalAt integer 账户余额
└ currAvailAt integer 当前可用余额
└ lockAt integer 冻结金额
POST /app/cardOpenVerify 1012.开卡验证

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ cardIdEnc string 卡号密文

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ extCardId string
💳

卡功能

卡片充值、提现、查询、冻结等操作接口

19 个接口
POST /app/topUp 1201.充值

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ elecAppNo string 电子单号[长度1-40位]
└ amt string 金额[单位分,大小1-2147483646]
└ institutionId string 发卡机构id[长度4位]
└ extCardId string 卡映射id[“卡映射id”与“卡号或卡序号”必填其一]
└ cardIdEnc string 卡号或卡序号密文[“卡映射id”与“卡号或卡序号”必填其一]
└ topUpType string 充值方式[00.现金 01.银行存款/转账 04.App充值],02已不支持
└ transfererInfo string 付款人账户信息,topUpType=01必填[最大长度256]
└ transfereeInfo string 收款人账户信息,topUpType=01必填[最大长度256]
└ transferDate string 转账日期(yyyyMMdd),topUpType=01必填
└ transferTime string 转账时间(HHmmss),topUpType=01必填
└ transferNo string 转账凭证编号,topUpType=01必填[最大长度64]
└ note string 备注[最大长度256]
└ appliOpr string 申请操作员[最大长度20]
└ checkOpr string 审核操作员[最大长度20]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ totFee string 保证金账户手续费
└ totFeeCurrency string 保证金账户手续费币种
└ amt string 充值金额
└ rechargeId string 充值工单号
POST /app/topUpQuery 1202.充值/提现查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ type string 查询类型:[1: 提现申请单查询,非 1 或不填写默认为充值单查询]
└ appId string 工单号
└ elecAppNo string 电子单号[长度1-40位]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ acctIdIN string 转入方的相关ID
└ acctNmIN string 转入方姓名或商家名称
└ cardId4IN string 转入卡号后4位
└ cardIdEncIN string 转入卡号
└ cashflowType string Money out 或 Money in
└ externalTxnRefId string 外部的交易参考号
└ id string 主键ID
└ instituteIdIN string 转入方机构ID
└ instituteIdOUT string 转出方机构ID
└ instituteNmIN string 转入机构名称
└ instituteNmOUT string 转出机构名称
└ note string 备注
└ operatorId string 充值操作人员ID
└ operatorNm string 充值操作人员名称
└ originalTxnAmt string 原始交易金额
└ originalTxnCurrency string 原始交易币种[数字编码]
└ settledWithCustomerAmt string 实际扣款金额(包含了 交易金额+费用+汇率手续费)
└ txnDt string 交易日期[yyyyMMdd] 20220809
└ txnRefId string 交易参考号
└ txnSeqId string 交易流水号 0002
└ txnStaCd string 交易状态[2.成功 3.已冲正 4.已取消 5.待完成; 6.订单不存在]
└ txnTm string 交易时间[HHmmss] 121330
└ totFee string 保证金账户手续费
└ totFeeCurrency string 保证金账户手续费币种
POST /app/sensitiveDataQuery 1204.卡敏感信息查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户Id
└ firstNameEnc string firstNameEnc
└ midNameEnc string 中间名
└ lastNameEnc string lastNameEnc
└ extCardId string 卡映射Id
└ cardIdEnc string 卡号
└ brandId string 卡品牌编号
└ cardSta string 卡状态
└ startDt string 卡起始日期
└ endDtEnc string 卡有效期
└ cvn2Enc string cvn2Enc
└ iframeUrl string 敏感信息展示URL(uqpay渠道返回,浏览器访问获取敏感信息,cvn2Enc等字段为空)
POST /app/cardInfoQuery 1205.卡信息查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户id
└ acctId string 账户号
└ extCardId string 卡映射Id
└ cardIdMask string 掩码卡号
└ cardSta string 卡状态[0.正常 1.已冻结 2.未激活 3.已注销 4.初始化 5.正在销卡 6.已过期 10.冻结中 11.解冻中 12已失效 13已挂失]
└ cardCurrency string 卡币种[数字编码]
└ currBalAt string 账户余额
└ currAvailAt string 可用余额
└ lockAt string 冻结余额
└ endDtEnc string 卡有效期
└ upiState string 开通移动支付状态[0.未开通 1.已开通]
└ upiToken string 移动支付Token
POST /app/cardInfoListQuery 1206.卡列表查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ institutionId string 发卡机构id[长度4位]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array 卡列表信息
POST /app/cardTransListQuery 1207.卡交易列表查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ transType string 交易类型[1.充值 2.消费 3.预授权 4.提现 5.转账 6.服务费 8.单卡贷记 10.国际汇款 11.退货 12.调账 13.验证 15.清算]
└ custId string 客户Id[和发卡机构id为一组,与卡映射id存在其一]
└ institutionId string 发卡机构id[长度4位]
└ extCardId string 卡映射Id[oinpay、GSalary必填,与客户Id+发卡机构id存在其一]
└ startDt string 起始时间[格式: yyyyMMddHHmmss] 20220909100000
└ endDt string 终止时间[格式: yyyyMMddHHmmss] 20220909100000
└ pageNum string 页数[大小1-100000000] 1
└ pageSize string 每页条数[大小1-100000000] 10

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ items array
└ totalItemCount string 总条数
POST /app/cardTransSingleQuery 1208.卡交易单笔查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id[和发卡机构id为一组,与卡映射id存在其一]
└ institutionId string 发卡机构id[长度4位]
└ extCardId string 卡映射Id[oinpay、gsalary必填,与客户Id+发卡机构id存在其一]
└ txnSeqId string 交易流水号
└ transDateTime string 交易日期时间[oinpay渠道填写][yyyyMMddHHmmss]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ transType string 交易类型[1.充值 2.消费 3.预授权 4.提现 5.转账 6.服务费 8.单卡贷记 10.国际汇款 11.退货 12.调账 13.验证 14.撤销 15.清算 16.月管理费]
└ subTransType string 子交易类型[01001:充值 02001:消费 02002:单卡消费撤销 02003:单卡消费冲正 02004:单卡消费撤销冲正 03001:预授权请求 03002:预授权冲正 03003:预授权撤销 03004:预授权撤销冲正 03005:预授权完成 03006:预授权完成冲正 03007:预授权完成撤销 03008:预授权完成撤销冲正 04001:提现 04002:ATM提现冲正 04003:ATM查询 05001:转账 06001:卡管理月费 06002: 卡管理年费 08001:单卡贷记 10001:国际汇款转出 11001:退货 12001:调账 13001:验证 15001:清算]
└ custId string 客户Id
└ extCardId string 卡映射Id
└ txnSeqId string 交易流水号
└ authorizationId string 交易授权编号[oinpay清算交易存在]
└ cardCurrency string 卡币种[字母编码]
└ balance string 卡余额
└ transCurrency string 扣款币种[字母编码]
└ transAmount string 扣款金额
└ transTime string 交易时间
└ fee string 手续费
└ exchangeRateFee string 汇率手续费
└ note string 备注
└ cashflowType string 入金还是出金[OUT/IN]
└ instituteIdOUT string 转出方机构ID
└ cardBrhNmOut string 转出方机构名称
└ acctNmOut string 转出方姓名
└ acctIdOut string 转出方账户ID
└ cardIdOut string 转出方卡号
└ cardIdOutSecret string 转出卡号掩码
└ instituteIdIN string 转入方机构ID
└ cardBrhNmIN string 转入方机构名称
└ acctNmIn string 转入方姓名
└ acctIdIn string 转入方账户ID
└ cardIdIN string 转入方卡号
└ cardIdINSecret string 转入卡号掩码
└ terminalLocation string ATM、POS机地址
└ terminalId string ATM、POS I
└ merchantNm string 商家名称
└ merchantId string 商家 ID
└ merType string 商家类型
└ originalTxnAmt string 原始交易金额
└ originalTxnCurrency string 原始交易币种[字母编码]
└ qrcVoucherNo string 二维码订单号
└ txnSta string 交易状态[0:通过, 1:拒绝, 2:等待, 3:已撤销]
POST /app/cardFreeze 1209.卡冻结

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户Id
└ extCardId string 卡映射Id
POST /app/cardUnfreeze 1210.卡解冻

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户Id
└ extCardId string 卡映射Id
POST /app/cardClose 1211.卡注销申请

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id[“映射id”与“卡号或卡序号”必填其一]
└ cardIdEnc string 卡号或卡序号密文[“卡映射id”与“卡号或卡序号”必填其一]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 申请流水号
└ extCardId string 卡映射Id
└ status string 状态[0-成功,1-失败,2-申请中]
POST /app/cardLimitSet 1212.卡限额设置

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id
└ dailyPaymentLimit string 单日支付限额[限额应为单笔<=单日<=单月])
└ singlePaymentLimit string 单笔支付限额[限额应为单笔<=单日<=单月]
└ monthPaymentLimit string 单月支付限额[限额应为单笔<=单日<=单月][ipay88不支持]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data CardLimitSetResponseDto
POST /app/cardLimitQuery 1213.卡限额查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户ID[最大15位] 000000000000066
└ extCardId string 卡映射ID abbb83b2-782a-41f6-9335-7d176c3706e6

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ dailyPaymentLimit string 单日支付限额
└ singlePaymentLimit string 单笔支付限额
└ monthPaymentLimit string 单月支付限额
└ sysConsumeSingleMax string 单笔支付可设置最大限额
└ sysConsumeDayMax string 单日支付可设置最大限额
└ sysConsumeDayMaxNum string 单日支付可设置最大笔数
└ sysConsumeMonthMax string 单月支付可设置最大限额
POST /app/cardWithdrawal 1214.卡提现

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id
└ amt string 金额[单位分,大小1-2147483646]
└ currency string 交易币种[840,156···]
└ note string 交易附言

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 申请流水号
└ totFee string 保证金账户手续费
└ totFeeCurrency string 保证金账户手续费币种
POST /app/cardFeeDeduct 1215.卡费用扣减

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id
└ type string 扣费类型[0:卡管理月费 1:验证 2:消费 3:退货 4:撤销]
└ amt string 金额[单位分,大小1-2147483646]
└ currency string 交易币种[840,156···]
└ note string 交易附言
└ txnSeqId string 原交易流水号[扣费类型为 验证/消费/退货/撤销 时存在]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 申请流水号
└ totFee string 保证金账户手续费
└ totFeeCurrency string 保证金账户手续费币种
POST /app/cardPwdReset 1216.重置卡密码

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id
└ pinEnc string 新密码明文加密[光子易实体卡4位]
└ cvn2Enc string cvn2明文加密[光子易实体卡必填]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string
└ extCardId string
POST /app/custIdInfoModify 1217.客户信息修改

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ institutionId string 发卡机构id[长度4位][ipay88支持证件修改, PHOTON_ZENO支持客户信息更新]
└ pidType string 证件类型[ipay88必填][3:护照][只支持护照类型]
└ pidNoEnc string 证件号码[ipay88必填][长度最大50]
└ pidEndDtEnc string 证件有效期[ipay88必填][格式为yyyyMMdd]
└ idPhotoSysFileNames array 证件照[ipay88必填][文件上传接口返回的系统文件名, 最多两张]
└ pidInfo string
└ firstNameEnc string 名[PHOTON_ZENO渠道][长度最大50,英文时为大写]
└ midNameEnc string 中间名[PHOTON_ZENO渠道][长度最大50]
└ lastNameEnc string 姓[PHOTON_ZENO渠道][长度最大50,英文时为大写]
└ mobileEnc string 手机号[PHOTON_ZENO渠道][区号-号码,长度最大26]
└ emailEnc string 邮箱[PHOTON_ZENO渠道][长度最大50]
└ nationalityCode string 国籍编码[PHOTON_ZENO渠道][三位字母编码]
└ sex string 性别[PHOTON_ZENO渠道][0-男 1-女]
└ dob string 出生日期[PHOTON_ZENO渠道][格式yyyyMMdd]
└ billingInfo string

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ appId string 申请单号[ipay88渠道返回]
└ custId string 客户ID[PHOTON_ZENO渠道返回]
└ extCustId string 外部客户ID[PHOTON_ZENO渠道返回]
└ sta string 更新状态[PHOTON_ZENO渠道返回][1-成功,2-失败]
POST /app/custIdInfoModifyQuery 1218.客户证件信息修改查询/客户资料高级实名认证查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ appId string 申请流水号

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户号
└ pidType string 证件类型[1:身份证 3:护照]
└ pidNoEnc string 证件号码 dB6I/jW2FyMsnxLtgVwKGIzo9y9W3Q4mbJqWoB8LVhXECIN7p003hU0m3aJDP34C630AOfGNqJHSDRVVuAXz9YeivmmBNNiweRPBvBNvyT8wh797n0nccOHQRh4RBTl+p0Uq1xEms6Wb1Oc1TOR3L3I3nQJWUPG32YxjNSXkB+PUV4hFnsTHT3iA4Sn/pnfAY6cVIH14AQR+tAzPHa7vd8/egqwU4056cPMvLKgyZyUdffu/8Y4eUsBm5xE2pi2skVsmN4s3Sc/aDDaHUOyN9zq6AUZLEn6hcdNVnnfbI5pfo3RvT+k5T1aVbTCqCruS5qvchfHm8mgaiqA8S+IFew==
└ sta string 客户资料修改申请单审核状态[01.未审核 06.审核通过 07.审核拒绝]
└ note string 审核备注
POST /app/cardTransListSumQuery 1219.卡交易列表汇总查询

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ transType string 交易类型[1.充值 2.消费 3.预授权 4.提现 5.转账 6.服务费 8.单卡贷记 10.国际汇款 11.退货 12.调账 13.验证 15.清算]
└ custId string 客户Id[和发卡机构id为一组,与卡映射id存在其一]
└ institutionId string 发卡机构id[长度4位]
└ extCardId string 卡映射Id[oinpay、GSalary必填,与客户Id+发卡机构id存在其一]
└ startDt string 起始时间[格式: yyyyMMddHHmmss] 20220909100000
└ endDt string 终止时间[格式: yyyyMMddHHmmss] 20220909100000

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ totalIncomeAmount string 总收入金额
└ totalExpenseAmount string 总支出金额
└ totalFeeAmount string 总手续费金额
└ totalTransAmount string 总交易金额(收入-支出)
└ transCurrency string 金额币种
└ totalItemCount string 总条数
POST /app/cardChangePin 1220.修改卡密码

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ custId string 客户Id
└ extCardId string 卡映射Id
└ pinEnc string 旧密码,明文加密[常规6位,光子易实体卡必须为4位密码]
└ newPinEnc string 新密码,明文加密[常规6位,光子易实体卡必须为4位密码]

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ custId string 客户Id
└ extCardId string 卡映射Id
👤

收件人管理

收件人的添加、编辑和查询接口

3 个接口
POST /app/addRecipient 1500.添加收件人

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ institutionId string 发卡机构id[长度4位]
└ firstNameEnc string 收件人名字[加密][长度最大40,英文时为大写]
└ lastNameEnc string 收件人姓氏[加密][长度最大40,英文时为大写]
└ mobileEnc string 手机号[区号-号码,长度最大26][photon渠道必填]
└ nationalityCode string 国籍编码[三位字母编码]
└ state string 省份/州(必填,最大长度50)
└ city string 城市(必填,最大长度50)
└ addressLine1 string 详细地址第一行(必填,最大长度50)
└ addressLine2 string 详细地址第二行(最大长度50)
└ addressLine3 string 详细地址第三行(最大长度50)
└ addressLine4 string 详细地址第四行(最大长度50)
└ postalCode string 邮编(必填,最大长度12)

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ recipientId string 收件人ID
└ memberId string 会员号
└ recipientStatus string 收件人状态
POST /app/pagingRecipient 1501.分页查询收件人

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ institutionId string 发卡机构id[长度4位]
└ pageIndex integer 当前页,默认第一页
└ pageSize integer 分页大小,默认为10
└ startDt string 起始时间[格式: yyyyMMddHHmmss],示例值(20220909100000)
└ endDt string 结束时间[格式: yyyyMMddHHmmss],示例值(20220909100000)
└ recipientId string 收件人ID
└ recipientStatus string 收件人状态,0:可用,1:不可用

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ numbers integer 当前页记录数
└ pageIndex integer 当前页码
└ pageSize integer 分页大小
└ total integer 总记录数
└ list array 收件人列表
POST /app/editRecipient 1502.编辑收件人

请求参数

字段名类型说明
orgId string 代理机构ID
userBrhId string 用户机构ID
traceId string 请求流水ID[长度1-32] 1641260925158
timestamp string 请求时间 20220104094845
verNo string 版本号 1.0.0
sign string 签名值
data 请求业务参数
└ recipientId string 收件人ID
└ institutionId string 发卡机构id[长度4位]
└ firstNameEnc string 收件人名字[加密][长度最大40,英文时为大写]
└ lastNameEnc string 收件人姓氏[加密][长度最大40,英文时为大写]
└ mobileEnc string 手机号[区号-号码,长度最大26][photon渠道必填]
└ nationalityCode string 国籍编码[三位字母编码]
└ state string 省份/州(必填,最大长度50)
└ city string 城市(必填,最大长度50)
└ addressLine1 string 详细地址第一行(必填,最大长度50)
└ addressLine2 string 详细地址第二行(最大长度50)
└ addressLine3 string 详细地址第三行(最大长度50)
└ addressLine4 string 详细地址第四行(最大长度50)
└ postalCode string 邮编(必填,最大长度12)

响应参数

字段名类型说明
orgId string 机构ID
userBrhId string 用户机构ID
verNo string 版本号
respCode string 响应码
respMsg string 响应信息
traceId string 请求流水ID
timestamp string 响应时间
sign string 签名值
data 响应业务数据
└ recipientId string

简介

Gifpay Card Issuing API 帮助文档 — 版本 2026-4-20(最新)

Gifpay Card Issuing API 为企业提供完整的发卡能力,支持虚拟卡创建、卡片查询、卡片管理、余额查询、交易明细获取等核心功能,帮助企业快速构建支付、营销激励、企业支出管理及跨境支付等业务场景。

我们建议您在接入前详细阅读 API 文档,充分了解接口规范、认证机制、业务流程及相关参数说明,以便顺利完成系统集成与业务上线。

在阅读和使用过程中,如遇任何问题,欢迎联系 Gifpay 技术支持团队,我们将为您提供专业的技术咨询与接入指导服务。

* 具体产品功能、接口权限及服务范围以 Gifpay 实际开通内容为准。

📘 快速开始

了解 Swagger 地址与代理机构入网流程,快速完成接入准备工作。

📋 接口规范

请求/响应参数、RSA 签名验签、敏感数据加密、对账文件说明。

🔌 API 接口

卡申请(12)、卡功能(19)、收件人管理(3)共 34 个接口的详细参数说明。

📡 回调通知

申卡单状态变更通知、卡交易通知的字段定义与示例。

❌ 错误码

411 个错误码的中文/英文描述,便于问题定位。

❓ 常见问题

验签失败、文件上传、充值异常、姓名审核等高频问题解答。

代理机构入网流程

从机构创建到对接密钥交换的完整流程

  1. 创建用户机构 — 代理机构在聚合发卡系统创建好对应用户机构。
  2. 生成 RSA 公私钥 — 代理侧生成对接用的 RSA 公私钥对。
  3. 提交配置资料 — 代理侧将以下资料提供给聚合运营人员配置到运营平台:
    • RSA 公钥
    • 交易通知地址(如果需要)
    • 申请单状态更新通知地址(如果需要)
    • IP 白名单
  4. 获取平台公钥 — 运营人员提供聚合平台对接公钥给到代理侧,用于后续验签与敏感数据加密。

接口说明

接口通用规范、请求/响应结构、字符编码与单位约定

通用规范

  • 数据集统一采用 UTF-8
  • 签名方式统一采用 RSA,敏感数据使用 RSA 证书加密
  • 采用 HTTPS 协议的 POST 方式调用接口,数据提交、同步返回数据采用 JSON 格式
  • 接口所涉及金额均为币种最小单位,如人民币为分;所涉及币种均为币种代码,如人民币为 156
  • 接口入参中若含有 Base64 的图片信息,需要把字段设为空字符串,现签名验签不再包含图片信息

💡 正常生产环境中的 ipay88 实体卡需要在卡激活之后才可调用"敏感数据查询"接口查询卡敏感数据,在开发环境中为方便调试允许在实体卡审核通过后调用"敏感数据查询"接口。

基本请求参数

{ "orgId": "0465040001", "userBrhId": "4032530001", "traceId": 1713248787749, "verNo": "1.0.0", "timestamp": "20240416142627", "sign": "", "data": {} }

字段描述

字段名类型描述
orgIdString代理商机构号,聚合发卡系统代理商机构号
userBrhIdString用户机构号,聚合发卡系统用户机构号。直隶属于orgId
verNoString版本号,默认使用1.0.0
timestampString时间戳,格式yyyyMMddHHmmss
signString签名,使用机构私钥进行签名
dataObject业务数据,具体业务数据格式

基础响应参数

{ "respCode": "", "respMsg": "", "orgId": "0465040001", "userBrhId": "4032530001", "traceId": "2024071111000027", "verNo": "1.0.0", "timestamp": "20240416142627", "sign": "", "data": {} }

字段描述

字段名类型描述
respCodeString响应码,具体响应码含义见错误码说明(成功的响应码是00000)
respMsgString响应码描述(成功的响应码描述是success)
orgIdString代理商机构号
userBrhIdString用户机构号
verNoString版本号
timestampString时间戳,格式yyyyMMddHHmmss
signString签名,需要使用平台公钥进行验签
dataObject业务数据

安全机制

RSA 签名验签、机构公私钥与平台公钥的使用

机构公私钥

机构公私钥为用户机构自行生成,生产环境只需提供机构公钥,配置在运营平台即可。

机构公钥(示例)

MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChWxp4S3CfRSdQ8ZA506A6VX7aq3bY5AX/bDZOGVNtw9oGFhJOZC2RK4WIQ+cGht57Lj2OMts3B6tGN/pEHm7ICegWQX77KEgQs+txvA/dMVgAa90DwrdMoDqsrgdcP+uLiGn+8mPljpkTKC5wTfVkr/kHVFLXxHnDS9wQN4Cu5QIDAQAB

平台公钥(示例)

MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKFbGnhLcJ9FJ1DxkDnToDpVftqrdtjkBf9sNk4ZU23D2gYWEk5kLZErhYhD5waG3nsuPY4y2zcHq0Y3+kQebsgJ6BZBfvsoSBCz63G8D90xWABr3QPCt0ygOqyuB1w/64uIaf7yY+WOmRMoLnBN9WSv+QdUUtfEecNL3BA3gK7lAgMBAAECgYABdIHJWj16UsqBgviNYzwAeMP6ZIrQTCu+3cFHL/PshfLIVKAf5h1aLbWwptBley8AhE5qEKUhLnlql1kX5ACCqqmGIajHGjEsNZEBQGkLAO5t6tJ1AkRf9xNMiF8pGQfpjsaL1dqZu21GxBfVCBe5xWgkiEo3qG0a+RKsNrXlmQJBANNv3MX487uqQmHz2ewTIJ99x1ER1E4jFG9Qy1FkdtVHo40vhuHCEMyQQcaiozLx52efLrqbRuxCjXLPYf2mRekCQQDDXRo7PpRBDYfUL+jr4sYz/We4ROiBplj3qKYVuf7ajMF/qXFbtD/UCvOi3mmuuLx7PNXm3Cyv+Q4TNGAx9PedAkBgvQCU77eMeHTQ3kIpugKmFmU4WWD6syApYhz0S3P3V0SkV0duSV1oSuRdXpIuv/ExPuqhZGQJutV+3xWleQrpAkEAroPJfei96IqcrjgJ+kU+Roz0DRBJHh+p07msezYF6dbYtyB2qbOPXOxXjULe5vwRKolCjpJZvOxe3VrpH1czpQJBAJfPoLZ3V16cNcWaHlSavRloe42GPqxurWeuGHQ5mb7U5ixUhheLdF/uy9/eP1IkgHc9uCWDLN3+ebD08jP4Qtc=

平台公钥为聚合发卡系统提供,用户机构在数据验签时和敏感数据加密时使用。

签名和验签

  • 下游机构提供 RSA 公钥,配对的私钥用于请求签名,公钥用于验签
  • RSA 签名算法使用 SHA256withRSA

(一)JSON 格式待签名字符串

签名前:

{"orgId":"0465040001","userBrhId":"4032530001","traceId":1713247596483,"verNo":"1.0.1","timestamp":"20240416140636","sign":"00000000","data":{"physicalAppId":"1777604758130855936"}}

1. 签名:用机构私钥进行签名

待签名字符串需要处理成一行,然后将 sign 字段替换成 00000000,再去使用私钥进行签名。签名时的字符串顺序和发送请求时的字符串顺序要保持一致,保证验签正确。

{"orgId":"0465040001","userBrhId":"4032530001","traceId":1713247596483,"verNo":"1.0.1","timestamp":"20240416140636","sign":"TEzCXOfGMkXMV6neJ6YwfZIFc+ov3Av5ip1Wse2ktDnS3rtikVdgSFN2OWUtcu4DpJyL5FyGcBmcABF9Ig0wFspMlkHLGnS4j/tqk/2vFjlxAIYeGHzrTdIsRT5lI0z2yfyCMDNrGVRwjlBzK3CWh1qTmQnJPIGnz1JqH3sgIcA=","data":{"physicalAppId":"1777604758130855936"}}

2. 验签:用平台公钥进行验签

需要先将待验签字符串中的 sign 字段的值取出,然后替换成 00000000,再将字符串处理成一行,最后再进行验签处理。

(二)form-data 格式待签名键值对

file: (文件)25a99585881311.jpg orgId: 0447250001 userBrhId: 4013540001 sign: 123 timestamp: 20241211141516 traceId: 1733897716019 verNo: 1.0.0

1. 签名:待签名键值对忽略 file 字段,其他字段按请求顺序用 & 符号连接,然后将 sign 字段替换成 00000000,再去使用私钥进行签名。

orgId=0447250001&userBrhId=4013540001&sign=00000000×tamp=20241211141516&traceId=1733897716019&verNo=1.0.0

2. 验签:需要先将待验签字符串中的 sign 字段的值取出,然后替换成 00000000,再将字符串处理成一行,最后再进行验签处理。

敏感数据加密

以 Enc 结尾的字段使用 RSA 加密传输

  • 请求参数中会有敏感数据,参数名称以 Enc 结尾
  • 接入机构使用聚合发卡系统提供的平台公钥对请求参数进行敏感数据的加密
  • 聚合发卡系统会使用机构公钥对敏感数据进行加密,所以需要接入机构使用自己的私钥对接口响应参数中敏感数据进行解密

加密示例

算法默认使用 AsymmetricAlgorithm.RSA_ECB_PKCS1

1. 加密前

"khNameEnc":"MA MA209"

2. 加密后

"khNameEnc":"bfMr4C79AwY/zls5oTypyygmv14EGBEc8Tw6Byg2JJabJ+sa+/AJI+VzwIYBB6XemC7hSYe+NSz9oH0oB+8gNqHOpkp8dOXBVRjfSKx9N8I9rBi3aN2odmdkl+5aqrROUO9E96hhXhNISasdsb7Iy2bn8L/WFeNrzhWVePviNAUr1hSLW10Ah6D5cFRUW9tNmq9xC7SIzI1KMr+8BjKgyH88ke6f8LC2FQXdyVA3BnNuq6772pB2LE2ZqPM1lAXROIjW+LBYkebj/zGGA3sR5mrdR62GMP9KMRx4r330sTN/jwQRXDS411U2dHXUmtCTellKaYoCNRH+xNnfE9in8Q=="

对账说明

每日对账文件生成路径、命名规则与数据格式

文件位置

对账文件每日生成至 /data/job/report/ 文件夹下。

文件名格式

(cardOpen、recharge、withdrawal、deposit)_机构号_日期(yyyyMMdd).txt

文件数据格式

左对齐,后补空格,每项使用空格隔开。

文件类型字段格式(按顺序,括号内为长度)样例文件名
recharge(充值单)申请日期(8) + 申请时间(6) + 机构号(10) + 发卡机构号(4) + 聚合流水号(19) + 电子单号(40) + 卡号掩码(16) + 卡映射id(64) + 金额(10) + 币种(字母3) + 姓名recharge_4096000001_20241204.txt
cardOpen(开卡申请)申请日期(8) + 申请时间(6) + 机构号(10) + 发卡机构号(4) + 聚合流水号(19) + 卡品牌编号(4) + 卡号掩码(16) + 卡映射id(64) + 申请单状态(2)cardOpen_4096000001_20241204.txt
withdrawal(提现单)申请日期(8) + 申请时间(6) + 机构号(10) + 发卡机构号(4) + 聚合流水号(19) + 类型(2) + 状态(2) + 卡号掩码(16) + 卡映射id(64) + 金额(10) + 币种(字母3) + 客户id(19) + 姓名withdrawal_4096000001_20241204.txt
deposit(保证金变动)系统交易日期(8) + 系统交易时间(6) + 机构号(10) + 聚合流水号(19) + 借贷标识(1) + 金额(10) + 币种(字母3) + 交易类型(2) + 客户账户号(14) + 账户余额(10)deposit_4096000001_20241204.txt
proxyPayment(代付)系统交易日期(8) + 系统交易时间(6) + 机构号(10) + 平台订单号(19) + 商户订单号(19) + 收款人账户ID(28) + 付款人ID(28) + 收款方式编号(3) + 支付币种(字母3) + 支付金额(10) + 收款币种(字母3) + 收款金额(10) + 手续费币种(字母3) + 手续费(10) + 交易状态(1)proxyPayment_4077900001_20250727.txt

申卡单状态变更通知接口

工单状态变更时,聚合平台向接入方推送的通知

⚠️ 响应约定:未返回固定响应字段表示成功接收通知,则认为此次通知失败,会重复六次调用通知地址。若一直无正确回复,则认为通知失败且不再通知。

通知字段说明

字段名称字段类型描述
appIdString工单号
staString状态(03-发卡机构审核通过;04-发卡机构审核拒绝;05-申卡失败;08-激活成功;09-激活失败;10-制卡成功;11-制卡失败)
noteString备注
custIdString客户号
extCardIdString卡映射id
cardIdEncString卡号密文
brandIdString品牌号
appDateString申请日期
appTmString申请时间
totFeeString保证金账户手续费,最小单位(美分)
totFeeCurrencyString保证金账户手续费币种
signString签名

响应字段说明

返回字符串 success,表示接收成功。

通知示例

{ "appId": "1813466149808623616", "sta": "08", "note": "", "custId": "1810877702606028802", "extCardId": "9935dce20a12492e9e97256f04f440a1", "cardIdEnc": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...", "brandId": "0013", "appDate": "20240717", "appTm": "144957", "totFee": "100", "totFeeCurrency": "840", "sign": "VqDzZXwwfGnYwgqY0pQdp5iGmaTjEFLQhV6m..." }

卡交易通知接口

卡发生交易时,聚合平台向接入方推送的交易通知

⚠️ 响应约定:未返回固定响应字段表示成功接收通知,则认为此次通知失败,会重复六次调用通知地址。若一直无正确回复,则认为通知失败且不再通知。

通知字段说明

字段名称字段类型描述
custIdString客户ID
extCardIdString外部卡ID
cardNoMaskString掩码后的卡号
typeString交易类型:1-验证, 2-普通交易, 3-退货, 4-撤销, 5-清算
orderIdString订单ID
authIdString授权ID
txnTimeString交易时间(格式:yyyyMMddHHmmss)
merchantNameString商户名称
merchantAmountLong商户金额
merchantCurrencyString商户币种
txnAmtLong交易金额
txnCurrencyString交易币种
txnFeeAmtLong代理商保证金手续费
txnFeeCurrencyString代理商保证金手续费币种
costFeeAmtString成本费用金额
costFeeCurrencyString成本费用币种
txnStaString交易状态 0-通过,1-拒绝,2-等待,3-已撤销
txnDescString交易描述

响应字段说明

返回字符串 success,表示接收成功。

通知示例

{ "extCardId": "2025021408120108158300615052", "cardNoMask": "5319939916983939", "type": "2", "orderId": "1893898904417112064", "txnTime": "20250224132227", "merchantName": "ALP*Lao Xiang Ji Hefei CN", "merchantAmount": 1199, "merchantCurrency": "156", "txnAmt": 418, "txnCurrency": "840", "costFeeAmt": "120", "costFeeCurrency": "840", "txnSta": "0", "sign": "ORQItaFtQ6qyolcgRWjyZB2QHt1ZWw9Kya975rDW..." }

错误码说明

共 411 个错误码,按编码排序,含中文/英文描述

✅ 成功响应码为 00000(success)。其他响应码请按编号定位问题,常见错误码段:01xxx 卡相关、02xxx 订单/VA账户、04xxx 参数校验、10xxx 系统级、15xxx/16xxx 限额校验。

错误码中文 message英文 message
00805第三方通道返回失败Third party channel return failed
10001系统繁忙,请稍后再试The system is busy, please try again later
10002网络通讯超时,请发起查询交易Network communication timeout, please initiate inquiry transaction
10003第三方通道返回失败Third party channel return failed
10004系统配置存在错误System configuration error
10005服务不存在Service does not exist
10006请求失败Bad Request
10007未授权Unauthorized
10008请求过于频繁Too Many Requests
10011报文验签失败Message signature verification failed
10012敏感数据解密失败Sensitive data decryption failed
10016敏感数据加密失败Sensitive data encryption failed
10013接口密钥未配置Interface key not configured
10014接口未配置或未启用The interface is not configured or enabled
10015机构无此接口权限The organization has no permission to this interface
10017接口不存在Interface does not exist
10018生成aes失败Failed to generate aes
10101参数错误Parameter error
10102机构不存在或未启用The organization does not exist or is not enabled
10103订单号重复Duplicate order number
10104订单不存在Order does not exist
10105不支持该币种This currency is not supported
10106短信验证码错误SMS verification code error
10107发送短信错误Sending SMS errors
10108验证码已过期或者错误The verification code has expired or is incorrect
10109币种和二维码币种不一致Currency and QR code currency are inconsistent
10110二维码格式不正确Incorrect QR code format
10111缺少参数Missing parameter
10112参数不合法Parameter invalid
10113请求对象不存在The request object does not exist
10114请求对象状态不正确The status of the request object is incorrect
10115订单超时Order timeout
10201客户已存在Customer already exists
10202客户信息错误Customer information error
10301账户余额不足Insufficient account balance
10302账号信息错误Account information error
10303卡信息不存在Card information does not exist
10304客户信息与卡信息不匹配Customer information and card information do not match
10305转入转出的卡号或账户号不能相同The card number or account number of transfer in and transfer out cannot be the same
10401触发交易限额Trigger transaction limit
00000成功success
09000系统级参数配置缺失Missing system level parameter configuration
09900记录已存在Record already exists
09901机构号不匹配Institution number mismatch
09999系统繁忙System busy
09003请求参数格式不正确The request parameter format is incorrect
09004请求流水号重复Duplicate request serial number
09005账户或卡DAC验证失败Account or card DAC verification failed
09007交易码错误或者交易码与服务名不匹配The transaction code is wrong or the transaction code does not match the service name
09008请求参数值不正确The request parameter value is incorrect
09009密码错误次数的配置未找到The configuration of the number of password errors was not found
09010图片只支持jpeg/jpg/png格式Pictures only support JPEG / JPG / PNG format
09012保存图片错误Error saving picture
01000未查到卡信息No card information found
01005卡状态错误Card status error
01006卡起始日期错误Card start date error
01007卡截止日期错误Card due date error
01008卡面起始日期错误Card face start date error
01009卡面截止日期错误Card face deadline error
01010卡查询密码错误Card query password error
01011卡支付密码错误Card payment password error
01012卡已冻结The card has been frozen
01013卡已销户Card cancelled
01014卡未激活Card not activated
01015卡已过期Card expired
01016卡已启用,还未激活Card enabled, not yet activated
01021二磁道错误Second track error
01022密码单日错误次数超限The number of password errors in a single day exceeds the limit
01023密码累计错误次数超限The cumulative number of password errors exceeds the limit
01024卡类别错误Card category error
01025此卡已冻结,请先解冻后再注销This card have been frozen, please thawed and then logged off
01026卡未过期,请重新选择补卡原因The card has not expired, please re-select the reason for the replacement card
01027机构号和卡号不匹配The institution number and card number do not match
01028只支持匿名卡Only anonymous cards are supported
01029卡资金已过期Card funds have expired
01030APP端不能修改匿名卡密码The anonymous card password can not be changed on the app side
01031卡信息错误Card information error
01032卡注销失败Card cancellation failure
01033卡冻结失败,状态错误Description Failed to freeze the card. The status is incorrect
01034卡解冻失败,状态错误Description Unfreezing the card failed and the status is incorrect
01035卡号信息不正确,请重新输入The card number information is incorrect, please re-enter
01036该卡已激活请更换银行卡The card has been activated. Please replace the bank card
01038卡正在冻结The card is freezing
01039卡正在销卡中The card is currently being sold
01040卡已被注销The card has been cancelled
01041卡已过期The card has expired
01050品牌号未找到Brand number not found
01051品牌号(扩展)未找到Brand number (extension) not found
01052品牌卡Bin信息未找到Brand card bin information not found
01053卡分配信息未找到Card allocation information not found
01054品牌类型为券无法充值The brand type is coupon and cannot be recharged
01055非实名品牌Non real name brand
01056非虚拟卡品牌Non virtual card brand
01057卡品牌不一致Inconsistent card brand
01058非签名卡卡品牌Non signature card brand
01059卡品牌未授权Card brand is not authorized
01060此卡品牌不可操作This card brand cannot be operated
01061充值金额应大于等于最小充值金额 {0}The top-up amount should be greater than or equal to the minimum top-up amount of {1}
01062充值金额应小于等于最大充值金额 {0}The top-up amount should be greater than the maximum top-up amount of {1}
01063提现剩余金额应大于等于提现保留金额 {0}The amount remaining for withdrawal shall be greater than the amount reserved for withdrawal of {1}
01064销卡时,剩余金额不能大于销卡保留金额 {0}At the time of cancellation, the remaining amount cannot be greater than the cancellation reservation amount of {1}
01065扣费剩余金额应大于等于提现保留金额 {0}The remaining amount of deduction shall be greater than or equal to the withdrawal reservation amount of {1}
01100未查到账户信息No account information found
01101该账户信息已存在The account information already exists
01102该机构未配置账号前缀The prefix of account number does not exists
01103未配置bakong账号Bakong's account not exists
01104账户校验失败Account verification failed
01105账户余额不足Insufficient account balance
01106账户状态错误Account status error
01107账户状态已冻结Account status frozen
01108预授权完成金额不能大于预授权金额The pre authorization amount cannot be greater than the pre authorization amount
01109账户类型不一致Inconsistent account types
01110账户已注销Account cancelled
01111未查到机构账户信息No institutional account information found
01112机构账户余额不足Insufficient institutional account balance
01113机构账户状态错误Institutional account status error
01114机构账户状态已冻结Institutional account status frozen
01115机构账户已销卡Institutional account cancelled
01116转入方账户非实名Account of transferee is not real name
01117转出方账户非实名Account of Transferor is not real name
01118账户数量超限The number of account exceeds the limit
01119Bakong转账只支持美元或瑞尔账户Bakong transfer only supports the USD or KHR account
01120账户余额大于0,账户注销失败Account balance is greater than zero, account cancellation of failure
01121账户存在有效卡,账户注销失败Account has valid card, account cancellation of failure
01130未查到转出账户信息Transfer out account information can not be found
01131未查到转入账户信息Transfer in account information can not be found
01132可申请账户数量超限e number of accounts that can be applied exceeds the limit
01200未查到产品信息No product information found
01201产品校验失败Product verification failed
01202退款金额大于原消费金额The refund amount is greater than the original consumption amount
01203商户/机构账户不存在Merchant / institution account does not exist
01204非实名卡的余额超限The balance of non real name card exceeds the limit
01205本次交易超出该产品的最大额度The maximum amount of this transaction exceeds that of this product
01206该产品尚未生效The product is not yet effective
01207该产品有效期已结束The validity period of this product has ended
01208该产品已停用The product has been deactivated
01209该产品状态异常,未知状态The product status is abnormal and unknown
01210退款金额小于手续费The refund amount is less than the fee
01250汇率转换配置未找到Exchange rate conversion configuration not found
01251汇率转换后金额为0Amount after exchange rate conversion is 0
01260机构预存款账户已停用Institutional deposit account deactivated
01300未查到客户信息No customer information found
01301客户已存在Customer already exists
01302手机号已注册Mobile number registered
01304手机号不存在Mobile number does not exist
01305此卡未实名This card has no real name
01306证件未找到Certificate not found
01307未查到客户账户信息No customer account information found
01308证件号已注册Certificate number registered
01309存在待审核的申请记录There are application records to be reviewed
01310未查到申请记录No application record found
01311最多只能上传一张头像Only one avatar can be uploaded at most
01312没有任何信息需要修改Nothing has changed
01313外部客户号已存在External customer number already exists
01314客户信息不一致Inconsistent customer information
01315邮箱已注册Email registered
01400商户受理关系未找到Merchant acceptance relationship not found
01401商户状态错误Merchant status error
01402商户不存在Merchant does not exist
01403超出交易金额或次数限制Transaction amount or number limit exceeded
01501撤销日期必须为当日The cancellation date must be the current day
01502原交易不存在Original transaction does not exist
01503原交易不是消费交易Not original consumption transaction
01504原交易不是消费撤销交易The original transaction is not a consumption cancellation transaction
01505单笔金额超限Single amount exceeds the limit
01506卡每日累计交易金额超限The daily cumulative transaction amount of the card exceeds the limit
01507卡每日累计交易次数超限The daily cumulative transaction times of the card exceed the limit
01508卡每周累计交易金额超限The cumulative transaction amount of the card per week exceeds the limit
01509卡每周累计交易次数超限The cumulative number of card transactions per week exceeds the limit
01510卡每月累计交易金额超限The monthly cumulative transaction amount of the card exceeds the limit
01511卡每月累计交易次数超限The cumulative number of card transactions per month exceeds the limit
01512卡每年累计交易金额超限The annual cumulative transaction amount of the card exceeds the limit
01513卡每年累计交易次数超限The cumulative number of transactions of the card per year exceeds the limit
01514有效期校验错误Validity verification error
01515证件号校验错误-不存在Certificate number verification error - does not exist
01516CVN2校验错误Cvn2 check error
01517手机号校验错误-不存在Mobile number verification error - does not exist
01518姓名校验错误-不存在Name verification error - does not exist
01519姓名校验错误-不匹配Name verification error - mismatch
01520手机号校验错误-不匹配Mobile phone number verification error - mismatch
01521证件号或证件类型校验错误-不匹配Certificate number or Certificate type verification error - mismatch
01522超过卡余额限额Card balance limit exceeded
01523超过客户余额总限额Exceeding the total limit of customer balance
01524金额超过最大限制Amount exceeds maximum limit
01525金额低于最小限制Amount below minimum limit
01526未查到卡累计数据No card accumulation data found
01527未查到客户累计数据Customer cumulative data not found
01528充值预校验失败Recharge pre verification failed
01529原交易已退货The original transaction has been returned
01536客户每日累计交易金额超限The customer's daily cumulative transaction amount exceeds the limit
01537客户每日累计交易次数超限Customer's daily cumulative transaction times exceed the limit
01538客户每周累计交易金额超限The customer's weekly cumulative transaction amount exceeds the limit
01539客户每周累计交易次数超限The customer's cumulative number of transactions per week exceeds the limit
01540客户每月累计交易金额超限The customer's monthly cumulative transaction amount exceeds the limit
01541客户每月累计交易次数超限The cumulative number of transactions of the customer per month exceeds the limit
01542客户每年累计交易金额超限The customer's annual cumulative transaction amount exceeds the limit
01543客户每年累计交易次数超限Customer's cumulative number of transactions per year exceeds the limit
01544客户持有虚拟卡张数超限The number of virtual cards held by the customer exceeds the limit
01545客户持有实体卡张数超限The number of physical cards held by the customer exceeds the limit
01546撤销日期超过7天The cancellation date more than 7 days
01547此bakong交易已退货This bakong transaction is refunded
01548bakong汇率同步失败This bakong Rate sync failed
01549证件已过期The certificate has expired
01550卡单笔最大交易金额超过可设置的最大值The maximum amount of a single transaction of the card exceeds the maximum value that can be set
01551卡每日最大累计交易金额超过可设置的最大值The maximum daily cumulative transaction amount of the card exceeds the maximum value that can be set
01552卡每日最大累计交易次数超过可设置的最大值The maximum number of daily cumulative transactions of the card exceeds the maximum value that can be set
01553电子单号已存在The elecAppNo already exists
01600机构未找到Organization not found
01601接入方机构未找到Access organization not found
01602本机构密钥参数未配置The organization's key parameters are not configured
01603未查到机构用户No institutional user was found
01604机构用户手机号错误The mobile number of the institution user is wrong
01605机构用户密码错误The password of the institution user is wrong
01606机构用户没有权限Institutional user does not have permission
01607机构越权Institution ultra vires
01608机构状态错误Institution status error
01609非用户机构Non-user organization
01610用户机构下无此卡信息No card information exists in the user organization
01611不支持该发卡机构This card issuing institution is not supported
01700卡档未找到Card file not found
01701卡档状态不是申请状态Card file status is not application status
01704卡档状态不是申请已通过The card file status is not that the application has passed
01706卡档状态不是卡档已生成Card file status is not card file generated
01707卡档号段不足Insufficient card number segment
01708卡档号段不能小于最小号段The card number segment cannot be less than the minimum segment
01730卡BIN未找到或卡档号段已用光Card bin not found or card number segment used up
01731起始序号长度有误The length of the starting serial number is incorrect
01750凭证汇总数据未找到Voucher summary data not found
01751凭证未找到Voucher not found
01752凭证不是入库状态Voucher is not in receipt status
01780凭证出库流水状态错误Voucher issue flow status error
01781凭证出库流水未找到Voucher issue flow not found
01782凭证出库流水状态不是上缴中Voucher issue flow status is not being handed over
01783此机构或此操作员凭证不足Insufficient credentials for this organization or operator
01784CVN2不正确Cvn2 incorrect
01785磁道验证失败Track verification failed
01786IC卡系统配置错误IC card system configuration error
01787与系统内的凭证数不一致Inconsistent with the number of vouchers in the system
01788申请凭证数与出库凭证数不一致The number of application vouchers is inconsistent with the number of issue vouchers
01789出库凭证数存在重复号段Duplicate number field exists in the number of issue vouchers
01790匿名卡卡档申请,资金有效期必填Anonymous card file application, the validity period of funds is required
01791卡库存不足The card is out of stock
01800流水未找到Running water not found
01801当前备付金余额不能小于最小备付金余额The current reserve balance cannot be less than the minimum reserve balance
01802状态错误Status error
01803当前备付金余额不能小于最小充值后备付金余额The current reserve balance cannot be less than the minimum recharge reserve balance
01804代理商机构号收款卡号未找到Agent organization number collection card number not found
01805代理商机构号收款卡状态有误Agent organization number collection card stat error
02001认购单未找到Subscription form not found
02002购买的卡数和库存数不一致The number of cards purchased is inconsistent with the number of inventory
02003未找到授权号Authorization number not found
02004认购单批处理程序多并发Multiple concurrent subscription order batch processing procedures
02005支付方式为转账,付款人账户信息不能为空The payment method is transfer, and the payer’s account information cannot be blank
02006支付方式为转账,收款人账户信息不能为空The payment method is transfer, and the payee’s account information cannot be blank
02007支付方式为转账,转账日期不能为空The payment method is transfer, and the transfer date cannot be blank
02008支付方式为转账,转账时间不能为空The payment method is transfer, and the transfer time cannot be blank
02009支付方式为转账,转账凭证编号不能为空The payment method is transfer, and the transfer voucher number cannot be blank
02010原内部账户明细未找到The original internal account details not found
02011对应的卡存在多个There are multiple corresponding cards
02012调用核心异常Call core exception
02013每笔交易最多可购买3张卡Maximum purchase of 3 cards per transaction
02014签名卡持有数超限The number of signature cards held exceeds the limit
02015密码卡持有数超限The number of password cards held exceeds the limit
02016虚拟卡持有数超限The number of virtual cards held exceeds the limit
02017重复产生数据Repeat to generate data
02018卡号和映射ID不能同时为空The card number and mapping ID cannot both be empty
02019时间戳格式错误The timestamp format is incorrect
02100VA账户不能为空VA account cannot be empty
02101VA账户状态错误VA account status error
02102VA账户充值失败VA account recharge failed
02103VCC卡充值失败VCC card recharge failed
02104VCC卡锁定失败VCC card suspend failed
02105VCC卡解锁失败VCC card unsuspend failed
02106VCC卡状态错误VCC card status error
02107VA账户提现失败VA account withdrawal failed
02108VA卡提现失败VCC card withdrawal failed
02109AQUA不存在此交易类型AQUA does not have this transaction type
02150参数已存在Already exist
02151数据不存在Not exist
02152限额错误The limit of amount is incorrect
02153权限不足Permission denied
02154州不能为空The state cannot be empty
02155城市不能为空The city cannot be empty
02156出生日期不能为空The date of birth cannot be empty
02157邮编不能为空The zip cannot be empty
02158手机号长度不能大于11位The phone number cannot be longer than 11 characters
02159提现金额错误Withdrawal amount incorrect
02160客户信息已存在Customer information already exist
02161性别不能为空The sex cannot be empty
04000手机号和证件信息不能同时为空Mobile phone number and ID information cannot both be empty
04001外部客户号和证件信息不能同时为空External customer number and ID information cannot both be empty
04002卡品牌号不能为空Brand number cannot be empty
04003卡品牌号长度不正确Incorrect length of the brand number
04004国籍编码不能为空Nationality code cannot be empty
04005国籍编码格式不正确Incorrect format of nationality code
04006First name不能为空First name cannot be empty
04007First name格式不正确Incorrect format of first name
04008中间名格式不正确Incorrect format of middle name
04009Last name不能为空Last name cannot be empty
04010Last name格式不正确Incorrect format of Last name
04011电子邮箱不能为空Email cannot be empty
04012电子邮箱格式不正确Incorrect format of email
04013性别标识长度错误Incorrect length of the sex
04014性别标识格式不正确Incorrect format of sex
04015出生日期格式不正确Incorrect format of birthday
04016手机号不能为空Mobile phone number cannot be empty
04017手机号格式不正确Incorrect phone number format
04018本人照需要一张Need one photo of myself
04019VA账户格式不正确Incorrect format of va customer number
04020证件类型不能为空The ID type cannot be empty
04021证件类型参数不正确The ID type parameter is incorrect
04022证件号不能为空The ID number cannot be empty
04023证件号长度不正确The length of the ID number is incorrect
04024申请编号不能为空The ID number cannot be empty
04025custId不能为空The custId cannot be empty
04026extCardId不能为空The extCardId cannot be empty
04027旧密码不能为空The old password cannot be empty
04028新密码不能为空The new password cannot be empty
04029cvn2不能为空The cvn2 cannot be empty
04030卡面截至时间不能为空The card face deadline cannot be empty
04031电子单号格式不正确Incorrect format of electronic tracking number
04032金额不能为空Amount cannot be empty
04033金额格式不正确Incorrect amount format
04044充值方式不能为空Recharge method cannot be empty
04045充值方式格式不正确Incorrect format of recharge method
04046付款人账户信息格式不正确Incorrect format of payer's account information
04047收款人账户信息格式不正确Incorrect format of recipient account information
04048转账日期格式不正确Incorrect transfer date format
04049转账时间格式不正确Incorrect transfer time format
04050转账凭证编号格式不正确The format of the transfer voucher number is incorrect
04051备注不能为空Remarks cannot be empty
04052备注格式不正确Incorrect note format
04053申请操作员不能为空The application operator cannot be empty
04054申请操作员格式不正确Incorrect format for applying for operator
04056审核操作员不能为空Audit Operator cannot be empty
04057审核操作员格式不正确Incorrect format of Audit Operator
04058品牌ID格式不正确The brand ID format is incorrect
04059institutionId不能为空The institutionId cannot be empty
04060交易类型格式不正确Incorrect transaction type format
04061起始时间格式不正确Incorrect start time format
04062终止时间格式不正确Incorrect format of termination time
04063页数不能为空The number of pages cannot be empty
04064页数格式不正确Incorrect page format
04065每页条数不能为空Number of entries per page cannot be empty
04066每页条数不能为空Incorrect format of number of entries per page
04067交易流水号The txnSeqId cannot be empty
04068单日支付限额不能为空The dailyPaymentLimit cannot be empty
04069单日支付限额不正确(应大于1小于2147483646)Incorrect daily payment limit (The value must be greater than 1 and smaller than 2147483646)
04070单笔支付限额不能为空The singlePaymentLimit cannot be empty
04071单笔支付限额不正确(应大于1小于2147483646)Incorrect daily payment limit (The value must be greater than 1 and smaller than 2147483646)
04072交易币种不能为空transaction currency cannot be empty
04073交易币种长度不能超过3The length of the transaction currency cannot exceed 3
04074交易附言长度不能超过100The length of the transaction note cannot exceed 100
04075tokenAction不能为空The tokenAction cannot be empty
04076brandId长度最多4位BrandId has a maximum length of 4 digits
04077收款码不能为空The payment code cannot be empty
04078二维码不能为空QR code cannot be empty
04079cvmLimit格式不正确Incorrect amount cvmLimit
04080limitCurrency格式不正确Incorrect limitCurrency
04081交易序列号不能为空The transaction serial number cannot be empty
04082消费者展示的二维码有效载荷(EMV 格式)不能为空The QR code payload (EMV format) displayed by the consumer cannot be empty
04083支付状态不能为空Payment status cannot be empty
04084支付状态值不正确Payment status parameter is incorrect
04085请求流水ID不能为空Request flow ID cannot be empty
04086请求流水ID格式不正确The format of the request flow ID is incorrect
04087请求时间不能为空Request time cannot be empty
04088版本号不能为空Version number cannot be empty
04089TokenAction格式不正确The tokenAction format is incorrect
04090卡号格式不正确The card number format is incorrect
04091申请单号和电子单号不可同时为空The application form number and electronic form number cannot be empty at the same time
04092地址不能为空The address cannot be empty
04093证件照不少于1张,不大于2张No less than 1 and no more than 2 certificate photos
04094证件号有效期不能为空The validity period of the ID number cannot be empty
04095证件有效期格式不正确Incorrect format of validity period of the ID number
04096交易日期时间不能为空The transaction time cannot be empty
04097交易日期时间格式错误The transaction time format is incorrect
04098居住信息不能为空The residential information cannot be empty
04099居住国家编码不能为空The residential country code cannot be empty
04100居住省份编码不能为空The residential state code cannot be empty
04101邮寄地址不能为空The mailing address cannot be empty
04102居住国籍编码必须为柬埔寨国家码The residence code is Cambodia's country code
04103居住省份编码格式错误The state code format error
04104图片大小应小于 5MBThe image size should be less than 5MB
04105图片名称不能为空The image name cannot be empty
04106图片文件数据不能为空Image file data cannot be empty
04107映射卡号和客户号不可同时为空Image file data cannot be empty
04108证件有效期错误Certificate validity error
04109州/省份格式错误The state format error
04110城市字段格式错误The city format error
04111联系方式格式错误The telephone format error
04112邮编格式错误Incorrect zip number format
04113账单国家编码格式错误The billing country format error
04114账单地址格式错误The billing address format error
04115居住地址格式错误The residential address format error
04116默认客户标识格式错误[1: 标识启用 0: 不启用]The default customer flag format error[1: enable 0: disable]
04117头像文件未找到Head photo file not found
04118证件文件未找到ID photo file not found
04119卡号不能为空The card number cannot both be empty
04120密码长度错误Password length error
04121上传文件过大The uploaded file size is too large
04122单月支付限额不能为空The monthly payment limit cannot be empty
04123单月支付限额不正确(应大于1小于2147483646)Incorrect month payment limit (The value must be greater than 1 and smaller than 2147483646)
04124单笔限额应小于等于单日限额The single limit should be less than or equal to the daily limit
04125单日限额应小于等于单月限额The daily limit should be less than or equal to the monthly limit
04126单日限额应小于等于最大单月限额The daily limit should be less than or equal to the maximum monthly limit
04127单笔限额应小于等于最大单笔限额The single transaction limit should be less than or equal to the maximum single transaction limit
04128单日限额应小于等于最大单日限额The one-day limit should be less than or equal to the maximum one-day limit
04129单月限额应小于等于最大单月限额The monthly limit shall be less than or equal to the maximum monthly limit
03000调用HSM转加密接口错误Error calling HSM to encrypt interface
03001远程调用HSM生成密码接口错误Remote call HSM generates password interface error
03002远程调用HSM生成CVN接口错误Error generating CVN interface by remote calling HSM

常见问题

接入过程中的高频问题与解决方案

1 等于号编码转换导致接口验签失败

说明:报文字段中的等于号 = 有时会在编码转换时被转换为 unicode 编码 =,导致接口验签失败。加解密及签名时需要注意下。

2 上传文件接口字段顺序问题导致验签失败

说明:上传文件接口报文为 form-data 类型,需要注意签名时的字段排列顺序需要与报文中的发送顺序一致。聚合平台会按报文中的字段顺序进行验签。

3 充值接口返回"充值方式参数错误"异常

说明:通过聚合平台开的卡正常充值不用填 institutionId 字段。

4 firstName 与 lastName 顺序问题

说明:姓名审核原则:护照物理显示的名字从上到下、从左到右,中间不要有特殊符号,纯大写英文就可以了。

柬埔寨省份列表

柬埔寨 25 个省份的英文姓名与数字编码映射

英文名数字编码
Kampong Cham1099
Kampong Chhnang1199
Kampong Speu1200
Kampong Thom1600
Kandal1900
Koh Kong2200
Kratie2400
Mondulkiri2600
Pursat2999
Preah Vihear3000
Prey Veng3300
Stung Treng3600
Svay Rieng3900
Takeo4200
Kampot4500
Phnom Penh4900
Ratanakiri5200
Siem Reap5500
Banteay Meanchey5800
Kep6100
Oddar Meanchey6400
Preah Sihanouk6500
Battambang6999
Pailin7000
Tboung Khmum8000

美国州列表

美国 51 个州/特区的字母编码、中文与英文名称

字母编码中文名英文名
AR阿肯色Arkansas
AL阿拉巴马Alabama
AK阿拉斯加Alaska
ID爱达荷Idaho
IA爱荷华Iowa
ND北达科他North Dakota
NC北卡罗来纳North Carolina
PA宾夕法尼亚Pennsylvania
TX德克萨斯Texas
OH俄亥俄Ohio
OK俄克拉荷马Oklahoma
OR俄勒冈Oregon
FL佛罗里达Florida
VT佛蒙特Vermont
DC哥伦比亚特区District of Columbia
WA华盛顿Washington
WY怀俄明Wyoming
CA加利福尼亚California
KS堪萨斯Kansas
CT康涅狄格Connecticut
CO科罗拉多Colorado
KY肯塔基Kentucky
LA路易斯安那Louisiana
RI罗德岛Rhode Island
MD马里兰Maryland
MA马萨诸塞Massachusetts
MT蒙大拿Montana
MO密苏里Missouri
MS密西西比Mississippi
MI密歇根Michigan
ME缅因Maine
MN明尼苏达Minnesota
SD南达科他South Dakota
SC南卡罗来纳South Carolina
NE内布拉斯加Nebraska
NV内华达Nevada
NY纽约New York
DE特拉华Delaware
TN田纳西Tennessee
WI威斯康星Wisconsin
VA维吉尼亚Virginia
WV西佛吉尼亚West Virginia
HI夏威夷Hawaii
NH新罕布什尔New Hampshire
NM新墨西哥New Mexico
NJ新泽西New Jersey
AZ亚利桑那Arizona
IL伊利诺斯Illinois
IN印第安那Indiana
UT犹他Utah
GA佐治亚Georgia