经常付款清单

post
https://api.cryptomus.com/v1/recurrence/list
复制

要求

查询参数

没有参数

请求示例


curl https://api.cryptomus.com/v1/recurrence/list \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: f80fa426a89eb62bd53997326865d850' \
-H 'Content-Type: application/json' \
-d '{}'
复制

回复

响应参数

姓名定义
items在此处阅读更多: 结构
paginate在此处阅读更多: 结构

定义

在此处阅读更多: 结构

定义

在此处阅读更多: 结构

分页

要获取下一个/上页的记录,请在查询参数(?cursor =)中指定下一个/上一个光标哈希

例子:


1curl https://api.cryptomus.com/v1/recurrence/list?cursor=eyJpZCI6MjEyLCJ fcG9pbnRzVzVG9OZhXh0SXRlbXMiOnRydWV9 \
2-X POST -H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
3-H 'sign: f80fa426a89eb62bd53997326865d850' \
4-H 'Content-Type: application/json' \
5-d '{}'
6
复制

响应示例


1{
2  "state": 0,
3  "result": {
4    "items": [
5      {
6        "uuid": "bbe5ce96-1126-4843-a0d2-b432e77669c2",
7        "name": "Access to personal account",
8        "order_id": "1487555",
9        "amount": "5.00",
10        "currency": "USD",
11        "payer_currency": "USDT",
12        "payer_amount_usd": "5.00",
13        "payer_amount": "5.00",
14        "url_callback": null,"discount_days": "30",
15        "discount_amount": "50.00",
16        "end_of_discount": null,
17        "period": "weekly",
18        "status": "wait_accept",
19        "url": "https://api.cryptomus.com/pay/bbe5ce96-1126-4843-a0d2-b432e77669c2",
20        "last_pay_off": null
21      }
22    ],
23    "paginate": {
24      "count": 1,
25      "hasPages": false,
26      "nextCursor": null,
27      "previousCursor": null,
28      "perPage": 8
29    }
30  }
31}
32
复制