更新重复性订阅。可以更新订阅的状态(active
、canceled
或non_renewing
)以及推迟当前订阅的下一次收费日期。
OK.
{- "status": "active"
}
{- "charge_amount": 0.03,
- "currency": "USD",
- "date_create": "2018-09-21T16:54:59+0300",
- "date_end": null,
- "date_last_charge": "2018-09-21T16:55:05+0300",
- "date_next_charge": "2018-09-21T16:55:05+0300",
- "id": 24953579,
- "plan": {
- "billing_retry": {
- "value": 1
}, - "charge": {
- "amount": 0.03,
- "currency": "USD",
- "period": {
- "type": "day",
- "value": 1
}
}, - "description": null,
- "expiration": {
- "type": "day",
- "value": 0
}, - "external_id": "lowcost",
- "grace_period": {
- "type": "day",
- "value": 2
}, - "group_id": "newPlans",
- "id": 66001,
- "localized_name": null,
- "name": null,
- "project_id": 18404,
- "refund_period": null,
- "status": {
- "value": "active"
}, - "tags": null,
- "trial": {
- "type": "day",
- "value": 0
}, - "type": "all"
}, - "product": null,
- "status": "active",
- "user": {
- "id": "jb1",
- "name": "J.Black"
}
}