Saltar al contenido principal
PATCH
Update a subscription item
v2 · Base URL https://api.fintoc.com/v2

Autorizaciones

Authorization
string
header
requerido

Parámetros de ruta

subscription_id
string
requerido

The id of the subscription the item belongs to.

id
string
requerido

The id of the subscription item to update.

Cuerpo

application/json
price_data
object

Definition of a new price for the item. Fintoc replaces the current price with a newly created one.

quantity
integer

Number of units of the price the item bills for. Must be greater than zero.

Ejemplo:

3

Respuesta

The updated subscription item.

id
string
requerido

Unique identifier of the subscription item.

Ejemplo:

"si_2c4mDfkPLLrLTCJ3wPCEHGYpkVf"

object
any
requerido

Type of the object. Always subscription_item.

price
object
requerido

Price the item bills for on every billing cycle.

quantity
integer
requerido

Number of units of the price the item bills for.

Ejemplo:

1