List of recurring payments
post
https://api.cryptomus.com/v1/recurrence/list
Request
Query parameters
No parameters
Request example
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 '{}'
COPYResponse
Response parameters
paginate
To get the records of the next/previous page, specify the next/previous cursor hash in the query parameters (?cursor=)
Example:
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
COPYResponse example
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
COPY