文档控制台
文档首页/
Paynicorn 支付/
API 文档/
其他 API/

其他 API

更新时间:2024.06.07 08:09:52

其他 API

查询美元汇率

接口说明

查询美元对其他币种汇率

接口地址

https://api.paynicorn.com/trade/currency/queryall

请求方法get

请求参数

响应参数

参数名参数类型填写要求描述
timestampintM请求处理时间
sourcestringM源币种(目前只支持USD)
datestringM汇率日期
quotesJsonObjM汇率列表

报文示例

Request

Response

{
timestamp: 1669852815,
source: "USD",
date: "2022-12-01",
quotes: {
  USDAED: 3.673096,
  USDAFN: 88.00051,
  USDALL: 112.04978,
  USDAMD: 394.49316,
  USDANG: 1.801792,
  USDAOA: 506.778,
  USDARS: 167.29599,
  USDAUD: 1.470707,
  USDAWG: 1.8025,
  USDAZN: 1.70203,
  USDBAM: 1.887484,
  USDBBD: 2.01851,
  USDBDT: 101.625946,
  USDBGN: 1.880171,
  USDBHD: 0.376977,
  USDBIF: 2057,
  USDBMD: 1,
  USDBND: 1.366038,
  USDBOB: 6.922825,
  USDBRL: 5.185427,
  USDBSD: 0.999701,
  USDBTC: 0.000058287394,
  USDBTN: 81.34654,
  USDBWP: 12.833945,
  USDBYN: 2.524778,
  USDBYR: 19600,
  USDBZD: 2.015036,
  USDCAD: 1.34145,
  USDCDF: 2053.5005,
  USDCHF: 0.94399,
  USDCLF: 0.032273,
  USDCLP: 890.49866,
  USDCNY: 7.079098,
  USDCOP: 4830.05,
  USDCRC: 596.62616,
  USDCUC: 1,
  USDCUP: 26.5,
  USDCVE: 107.409874,
  USDCZK: 23.356098,
  USDDJF: 177.72017,
  USDDKK: 7.135103,
  USDDOP: 54.749958,
  USDDZD: 138.3823,
  USDEGP: 24.553802,
  USDERN: 15,
  USDETB: 53.449898,
  USDEUR: 0.95935,
  USDFJD: 2.20365,
  USDFKP: 0.833742,
  USDGBP: 0.828127,
  USDGEL: 2.709428,
  USDGGP: 0.833742,
  USDGHS: 14.501907,
  USDGIP: 0.833742,
  USDGMD: 62.000053,
  USDGNF: 8795,
  USDGTQ: 7.823112,
  USDGYD: 209.14679,
  USDHKD: 7.804855,
  USDHNL: 24.770071,
  USDHRK: 7.240965,
  USDHTG: 140.4584,
  USDHUF: 392.31955,
  USDIDR: 15637.5,
  USDILS: 3.449914,
  USDIMP: 0.833742,
  USDINR: 81.30555,
  USDIQD: 1460,
  USDIRR: 42450,
  USDISK: 143.57977,
  USDJEP: 0.833742,
  USDJMD: 153.9838,
  USDJOD: 0.709299,
  USDJPY: 137.3605,
  USDKES: 122.55028,
  USDKGS: 84.4482,
  USDKHR: 4133.9995,
  USDKMF: 477.2498,
  USDKPW: 899.9047,
  USDKRW: 1306.3798,
  USDKWD: 0.30739,
  USDKYD: 0.833193,
  USDKZT: 468.93112,
  USDLAK: 17320,
  USDLBP: 1516.6195,
  USDLKR: 368.413,
  USDLRD: 154.05042,
  USDLSL: 16.959995,
  USDLTL: 2.95274,
  USDLVL: 0.60489,
  USDLYD: 4.897688,
  USDMAD: 10.713499,
  USDMDL: 19.503962,
  USDMGA: 4360,
  USDMKD: 59.19027,
  USDMMK: 2099.392,
  USDMNT: 3424.7883,
  USDMOP: 8.03322,
  USDMRO: 356.99982,
  USDMUR: 44.349873,
  USDMVR: 15.329961,
  USDMWK: 1029.4956,
  USDMXN: 19.26735,
  USDMYR: 4.477795,
  USDMZN: 63.830173,
  USDNAD: 16.959755,
  USDNGN: 443.93994,
  USDNIO: 36.390152,
  USDNOK: 9.828445,
  USDNPR: 130.15486,
  USDNZD: 1.58387,
  USDOMR: 0.385008,
  USDPAB: 0.999701,
  USDPEN: 3.832495,
  USDPGK: 3.514953,
  USDPHP: 56.40496,
  USDPKR: 224.00002,
  USDPLN: 4.479064,
  USDPYG: 7198.6104,
  USDQAR: 3.6405,
  USDRON: 4.728594,
  USDRSD: 112.54012,
  USDRUB: 61.025005,
  USDRWF: 1061,
  USDSAR: 3.759412,
  USDSBD: 8.223823,
  USDSCR: 12.99729,
  USDSDG: 568.5075,
  USDSEK: 10.481435,
  USDSGD: 1.359375,
  USDSHP: 1.3774,
  USDSLE: 18.308893,
  USDSLL: 18330,
  USDSOS: 569.5037,
  USDSRD: 31.630503,
  USDSTD: 20697.98,
  USDSVC: 8.747726,
  USDSYP: 2512.3792,
  USDSZL: 16.959745,
  USDTHB: 35.080048,
  USDTJS: 10.047338,
  USDTMT: 3.5,
  USDTND: 3.261503,
  USDTOP: 2.362799,
  USDTRY: 18.634974,
  USDTTD: 6.774496,
  USDTWD: 30.792976,
  USDTZS: 2332.0005,
  USDUAH: 36.913754,
  USDUGX: 3743.8357,
  USDUYU: 39.525738,
  USDUZS: 11220,
  USDVEF: 1078295.5,
  USDVES: 10.940798,
  USDVND: 24645,
  USDVUV: 119.15339,
  USDWST: 2.734576,
  USDXAF: 633.0745,
  USDXAG: 0.044737,
  USDXAU: 0.000564,
  USDXCD: 2.70255,
  USDXDR: 0.760671,
  USDXOF: 633.4985,
  USDXPF: 116.050316,
  USDYER: 250.37497,
  USDZAR: 17.14145,
  USDZMK: 9001.202,
  USDZMW: 17.104736,
  USDZWL: 321.9996
}
}

拉取商户所有应用appkey

接口说明

根据cpid拉取该商户下所有的应用的appkey

接口地址

https://api.paynicorn.com/trade/merchant/report/cpinfo/queryAppKeyList

请求参数

字段填写要求 M:mandatory 必填,O:optional 可选择的

字段名类型填写要求描述
cpIdStringMcpId

响应参数

字段名类型填写要求备注
codeString(16)M状态码参见状态码
messageString(256)M消息参见 状态码
dataArray<String>OappKey列表