Detalle de comisión
GET
https://api.bydomu.com/v1/commissions/{id}This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
La comisión con su negocio, sus participantes (con sus pagos) y los pagos recibidos.
Permission required
commissions:read
Required header
X-API-Key · secret key
Access level
Level 2 · automatic on Inmobiliaria Pro
Path parameters
1 · requiredidstring · requiredID de la comisión
Response 200
CommissionDetail · 24 fieldsdataid · referenceNumber · status · commissionType · commissionBase · baseAmount · percentage · grossAmount · currency · reteFuente · reteIca · reteIva · netAmount · paidAmount · invoiceNumber · invoiceDate · notes · closedAt · dealId · createdAt · updatedAt · deal · participants · payments
idstringreferenceNumberstringstatusstringPENDIENTE, FACTURADA, PAGADA_PARCIAL, PAGADA, CANCELADAcommissionTypestringPERCENTAGE, FIXEDcommissionBasestringPROPERTY_PRICE, DEAL_VALUE, CUSTOMbaseAmountstringNúmero decimal serializado como texto.percentagestringNúmero decimal serializado como texto.grossAmountstringNúmero decimal serializado como texto.currencystringreteFuentestringNúmero decimal serializado como texto.reteIcastringNúmero decimal serializado como texto.reteIvastringNúmero decimal serializado como texto.netAmountstringNúmero decimal serializado como texto.paidAmountstringNúmero decimal serializado como texto.invoiceNumberstringinvoiceDatestringnotesstringclosedAtstringdealIdstringcreatedAtstringupdatedAtstringdealid · code · title · value · currency · closedAt · agent · contact · properties
idstringcodestringtitlestringvaluestringNúmero decimal serializado como texto.currencystringclosedAtstringagentid · name · email
idstringnamestringemailstringcontactid · firstName · lastName · phone · email · documentNumber
idstringfirstNamestringlastNamestringphonestring`null` si el contacto llegó por un canal sin número (Instagram, Facebook, chat de la web, correo o WhatsApp con usuario y número oculto)emailstringdocumentNumberstringproperties[]property
propertyobjectparticipants[]id · role · splitPercent · splitAmount · paidAmount · userId · externalName · user · payouts
idstringrolestringAGENCY, MAIN_AGENT, COLLABORATOR, EXTERNAL_REFERRAL, COLLABORATING_ORGsplitPercentstringNúmero decimal serializado como texto.splitAmountstringNúmero decimal serializado como texto.paidAmountstringNúmero decimal serializado como texto.userIdstringexternalNamestringuserid · name · email
idstringnamestringemailstringpayouts[]id · amount · currency · paidAt · method
idstringamountstringNúmero decimal serializado como texto.currencystringpaidAtstringmethodstringTRANSFERENCIA, EFECTIVO, CHEQUE, CONSIGNACION, OTROpayments[]id · amount · currency · paymentDate · method · reference · recordedBy
idstringamountstringNúmero decimal serializado como texto.currencystringpaymentDatestringmethodstringTRANSFERENCIA, EFECTIVO, CHEQUE, CONSIGNACION, OTROreferencestringrecordedByid · firstName · lastName · email
idstringfirstNamestringlastNamestringemailstringPossible errors
shaped as{ "error": { "code", "message" } }- 401UNAUTHORIZED
- 403FORBIDDEN
- 404NOT_FOUND
- 429RATE_LIMITED
- 500INTERNAL_ERROR