cURL
curl --request GET \ --url https://api.steppay.kr/api/v1/subscriptions/{subscriptionId}/calculate \ --header 'Secret-Token: <api-key>'
{ "amount": 123, "items": [ { "subscriptionItemId": 123, "amount": 123, "quantity": 123, "name": "<string>", "type": "SKU", "currency": "<string>", "count": 123, "unit": "<string>", "additionalBillings": { "id": 123, "type": "USAGE_BASED_WITH_RANGE", "ranges": [ { "id": 123, "until": 123, "price": 123 } ] }, "usageFormula": "<string>" } ], "startDate": "2023-11-07T05:31:56Z", "endDate": "2023-11-07T05:31:56Z" }
구독 중간에 사용량과 예상 결제 금액을 확인할 때 사용합니다.
Documentation IndexFetch the complete documentation index at: https://docs.steppay.kr/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.steppay.kr/llms.txt
Use this file to discover all available pages before exploring further.
구독 번호
정상적으로 조회됨
예상 결제 금액
예상 결제 금액 항목들
Show child attributes
측정 시작 시점
측정 종료 시점