Autenticación Autorización Filtros Hardware Cashier Companies Documents Entities ExternalApps Fiscal Funds Notifications Products Shared Users

company_payments resource

GET http://api.multinexo.com/v1/companies/{company_id}/company_payments

Attributes

amount
create, read, update numeric
plan_id
create, read, update
description
create, read, update
observations
create, read, update
status
create, read, update in [uncredited, credited, in_observation]
payment_code
create, read, update
payment_type
create, read, update in [emitted_documents, auto_renovation, manual_activation]
months
create, read, update integer
updated_at
create, read, update

Relationships

plan
has one of type: plan

JSON Resource Example

  {
    data: {
      type: company_payments,
      id: 502,
      attributes: {
        amount: someValue,
        plan_id: someValue,
        description: someValue,
        observations: someValue,
        status: someValue,
        payment_code: someValue,
        payment_type: someValue,
        months: someValue,
        updated_at: someValue
        },
      relationships: { 
         plan:{
          id: 857,
          type: plan
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/companies/{company_id}/company_payments/{resource_id}

POST http://api.multinexo.com/v1/companies/{company_id}/company_payments/