Actualiza una suscripción al cambiar su estado (active
, canceled
o non_renewing
) o al aplazar la próxima fecha de facturación.
cancel_subscription_payment | boolean Al establecer | ||
status | string Estado. | ||
object Aplazamiento de la facturación. | |||
user_id | string ID de usuario. | ||
object | |||
|
ACEPTAR.
{- "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"
}
}