Skip to main content
POST
Create Subscription

Authorizations

api_access_token
string
header
required

Path Parameters

account_id
integer
required

The numeric ID of the account

Body

application/json
subscription
object
required

Response

Created

id
integer
amount
number
billing_day
integer
currency
string
status
string
payment_mode
string
surcharge_percentage
number
mora_onset
object

Cuándo empieza la mora del arriendo: el inicio propio del arriendo junto al de la cuenta

guarantee
object

El convenio de recaudo que afianza el arriendo y la tarifa de afianzamiento que paga; no aparece si no hay arrendamiento

prepayment_allowed
boolean

Si el mes siguiente se puede pagar por adelantado, de modo que un pago registrado a mano deje ahí lo que sobra después de pagar la deuda

surcharge_amount
number
total_amount_with_surcharge
number
next_billing_date
string<date>
discarded_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>
labels
object[]
payment_method
object | null
property_tenancy
object | null
property
object

A property as the account's portfolio sees it (app/views/api/v1/accounts/properties/_property.json.jbuilder). Fields marked "Sensitive" are only present when permissions.can_view_sensitive_details is true.

contact
object
tenants
object[]
co_debtors
object[]