获取银行网点

SwaggerUI

参数说明

Request

name type required desc example
param JSONObject YES 参数
─epayAccount string YES 您的EPAY账号 test2020@epay.com
─version string YES 版本号 V2.0.0
currency string YES 币种 RUB
countryCode string YES 国家 RU
category string YES 银行BANK,现金CASH BANK
─pageNum integer YES 当前页 1
─pageSize integer YES 每页数据 10
transactionType string YES 交易模式(C2C,B2C,B2B,C2B) C2C
─type string NO 代收RECEIVE,代付PAYMENT 只传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 JSONObject YES 数据
─page JSONObject YES 分页信息
─ ─pageNum integer YES 开始页码 1
─ ─pageSize integer YES 每页条数 10
─ ─total integer YES 总条数 1
─ ─pages integer YES 总页数 1
─nextPage integer YES 下一页 0
─ ─prePage integer YES 上一页 0
─bankList JSONOarray 数据信息
─locationId string YES 银行网点位置ID RUTPS00002-2
─bankId string YES 银行ID RUTPS00002-2
─bankName string YES 银行名称 Central Bank of Russia
─bankBranch string YES 分行名称 Central Bank of Russia
─address string YES 地址 Russia
─city string YES 城市 ALL CITIES
currency string YES 币种 RUB
countryCode string YES 国家代码 RU
transactionType string YES 支持的交易模式 C2C
channelCode string YES 渠道编号 50

参数示例

curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getBankList' \
--header 'Content-Type: application/json' \
--data-raw '{
    "param":{
        "epayAccount":"test2020@epay.com",
        "category":"BANK",
        "transactionType": "C2C",
        "currency":"RUB",
        "countryCode":"RU",
        "pageNum":"1",
        "pageSize":"10",
        "version":"V2.0.0"
    },
    "sign":"{{sign}}"
}
'

RequestExample

curl --location --request POST 'http://29597375fx.epaydev.xyz/capi/openapi/payoutApi/getBankList' \
--header 'Content-Type: application/json' \
--data-raw '{
    "param":{
        "epayAccount":"test2020@epay.com",
        "category":"BANK",
        "transactionType": "C2C",
        "currency":"RUB",
        "countryCode":"RU",
        "pageNum":"1",
        "pageSize":"10",
        "version":"V2.0.0"
    },
    "sign":"{{sign}}"
}
'

ResponseExample

{
  "sign": "",
  "epayAccount": "test2020@epay.com",
  "version": "V2.0.0",
  "code": 1,
  "message": "success",
  "data": {
    "page": {
      "pageNum": 1,
      "pageSize": 10,
      "total": 1,
      "pages": 1,
      "nextPage": 0,
      "prePage": 0
    },
    "bankList": [
      {
        "locationId": "RUTPS00002-2",
        "bankId": "RUTPS00002-2",
        "bankName": "Central Bank of Russia",
        "bankBranch": "Central Bank of Russia",
        "address": "Russia",
        "city": "ALL CITIES",
        "currency": "RUB",
        "countryCode": "RU",
        "transactionType": "C2C",
        "channelCode": "50"
      }
    ]
  }
}

results matching ""

    No results matching ""