取消经常付款
post
https://api.cryptomus.com/v1/recurrence/cancel
要求
查询参数
姓名 | 定义 |
---|---|
uuid* | 复发性uuid |
order_id* | 在您的系统中订购ID |
定义
复发性uuid定义
在您的系统中订购ID
* - 强制性参数
要取消重复付款,您需要通过所需参数之一,如果两者都通过,则该帐户将由 order_id
请求示例
curl https://api.cryptomus.com/v1/recurrence/cancel \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
"uuid": "8b03432e-385b-4670-8d06-064591096795"
}'
复制回复
响应参数
付款的对象 - 手表响应示例
1{
2 "state": 0,
3 "result": {
4 "uuid": "bbe5ce96-1126-4843-a0d2-b432e77669c2",
5 "name": "Access to personal account",
6 "order_id": "1487555",
7 "amount": "5",
8 "currency": "USD",
9 "payer_currency": "USDT",
10 "payer_amount_usd": "5.00",
11 "payer_amount": "5.00",
12 "url_callback": null,
13 "discount_days": "30",
14 "discount_amount": "50.00",
15 "end_of_discount": null,
16 "period": "weekly",
17 "status": "wait_accept",
18 "url": "https://pay.cryptomus.com/pay/bbe5ce96-1126-4843-a0d2-b432e77669c2",
19 "last_pay_off": null
20 }
21}
22
复制