Subscriptions
Retrieve subscription
定期課金情報を取得します。
Response Body
application/json
OK
TypeScript Definitions
Use the response body type in TypeScript.
curl -X GET "https://api.elepay.io/subscriptions/string"{
"id": "string",
"appId": "string",
"object": "subscription",
"liveMode": true,
"customerId": "string",
"customer": {
"id": "string",
"object": "customer",
"liveMode": true,
"defaultSource": "string",
"name": "string",
"description": "string",
"email": "string",
"phone": "string",
"remark": "string",
"operator": "string",
"status": "active",
"metadata": {},
"updateTime": 0
},
"nextChargeTime": 0,
"isCharging": true,
"chargedPeriods": 0,
"metadata": {},
"status": "new",
"createTime": 0,
"updateTime": 0
}