반복 지불을 취소하십시오
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
복사