获取必填字段

SwaggerUI

参数说明

Request

name type required desc example
param JSONObject YES 参数
─epayAccount string YES 您的EPAY账号 test2020@epay.com
─version string YES 版本号 V2.0.0
category string YES 汇款方式:银行BANK,现金CASH BANK
─receiveCurrency string YES 收款币种 SGD
countryCode string YES 国家编码:ISO 2位 SG
transactionType string YES 交易模式(C2C,B2C,B2B,C2B) C2C
─type string NO 代收业务:RECEIVE, 代付业务:PAYMENT,见payType说明 PAYMENT
sign string YES 签名

Response

name type required desc example
sign string YES 签名
epayAccount string YES 您的EPAY账号 test2020@epay.com
version string YES 版本号 V2.0.0
code integer YES 状态码 1:成功 1
message string YES 提示 success
data JSONarray
channelCode string YES 渠道编码 56
─senderOrReceiver integer YES 收付款人: 1是付款人 2是收款人
1是付款人senderInfo,senderBusiness必填字段,2是收款人receiverInfo,receiverBusiness必填字段
1
currency string YES 币种 SGD
─showName string YES 显示名称 {\"EN_US\": \"First Name\", \"ZH_CN\": \"姓\"}
─value string YES 字段 surName
─maxLength integer YES 最大长度 20
─required integer YES 是否必填 0:非必填 1:必填 1

参数示例

curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getRequiredField' \
--header 'Content-Type: application/json' \
--data-raw '{
  "param": {
    "epayAccount": "test2020@epay.com",
    "category": "BANK",
    "receiveCurrency": "SGD",
    "countryCode": "SG",
    "transactionType": "C2C",
    "version": "V2.0.0"
  },
  "sign": "{{sign}}"
}'

RequestExample

curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getRequiredField' \
--header 'Content-Type: application/json' \
--data-raw '{
  "param": {
    "epayAccount": "test2020@epay.com",
    "category": "BANK",
    "receiveCurrency": "SGD",
    "countryCode": "SG",
    "transactionType": "C2C",
    "version": "V2.0.0"
  },
  "sign": "{{sign}}"
}'

ResponseExample

{
  "sign": "",
  "epayAccount": "test2020@epay.com",
  "version": "V2.0.0",
  "code": 1,
  "message": "success",
  "data": [
    {
      "channelCode": "56",
      "senderOrReceiver": 1,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"First Name\", \"ZH_CN\": \"姓\"}",
      "value": "surName",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 1,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Last Name\", \"ZH_CN\": \"名\"}",
      "value": "givName",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 1,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Country\", \"ZH_CN\": \"国家\"}",
      "value": "country",
      "maxLength": 50,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 1,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Address\", \"ZH_CN\": \"地址\"}",
      "value": "address",
      "maxLength": 100,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 1,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Purpose Of Remittance\", \"ZH_CN\": \"汇款用途\"}",
      "value": "purposeOfRemittance",
      "maxLength": 50,
      "required": 1
  },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"First Name\", \"ZH_CN\": \"姓\"}",
      "value": "surName",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Last Name\", \"ZH_CN\": \"名\"}",
      "value": "givName",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Location ID\", \"ZH_CN\": \"银行\"}",
      "value": "locationId",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Bank ID\", \"ZH_CN\": \"银行 ID\"}",
      "value": "bankId",
      "maxLength": 20,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"Bank Name\", \"ZH_CN\": \"银行名称\"}",
      "value": "bankName",
      "maxLength": 50,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"accountNo\", \"ZH_CN\": \"银行账户\"}",
      "value": "accountNo",
      "maxLength": 50,
      "required": 1
    },
    {
      "channelCode": "56",
      "senderOrReceiver": 2,
      "currency": "SGD",
      "showName": "{\"EN_US\": \"country\", \"ZH_CN\": \"国家\"}",
      "value": "country",
      "maxLength": 50,
      "required": 1
    }
  ]
}

results matching ""

    No results matching ""