Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
idMember | int32 | No | ID of the member to filter contracts. |
idMembership | int32 | No | ID of the contract type to filter results. |
memberName | string | No | Name of the member to filter contracts. |
registerDateStart | date-time | No | Start date of registration in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). |
registerDateEnd | date-time | No | End date of registration in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). |
cancelDateStart | date-time | No | Start date of cancellation in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). |
cancelDateEnd | date-time | No | End date of cancellation in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). |
showTransfers | boolean | No | Filters to show transferred contracts. Default value is false. |
showAggregators | boolean | No | Filters to show aggregator contracts. Default value is false. |
showVips | boolean | No | Filters to show VIP category contracts. Default value is false. |
contractType | string | No | Filters by contract types, separated by commas. See the types table below. |
statusMemberMembership | int32 | No | Filters by contract statuses. 1 - Active, 2 - Canceled. |
take | int32 | No | Total number of records to be returned. Default value is 25. Maximum allowed: 25. |
skip | int32 | No | Total number of records to be skipped (for pagination). Default value is 0. |
contractType| Code | Description |
|---|---|
| 1 | Common |
| 3 | Plan Extension |
| 4 | Blockage Extension |
| 5 | Recurring Monthly |
| 6 | Monthly Recurring with Validity |
| 7 | Monthly Recurring with Automatic Renewal |
| 8 | Additional Dependent |
| 9 | Annual with Specific End Date |
| 10 | Additional Contract |
| Field | Type | Description |
|---|---|---|
| idMember | int32 | ID of the member. |
| name | string | Name of the member. |
| idMembership | int32 | ID of the associated membership. |
| idMemberMemberShip | int32 | ID of the member's link with the membership. |
| idBranch | int32 | ID of the branch associated with the membership. |
| numMembers | int32 | Total number of linked members (holder + dependents). |
| idSale | int32 | ID of the sale related to the membership. |
| saleValue | number | Total sale value. |
| nameMembership | string | Name of the plan/membership. |
| membershipStart | date-time | Start date of the membership. |
| membershipEnd | date-time | End date of the membership. |
| registerCancelDate | date-time | Date of cancellation registration. |
| cancelDate | date-time | Effective cancellation date. |
| reasonCancellation | string | Reason for cancellation. |
| saleDate | date-time | Sale date. |
| cancellationFine | number | Cancellation fine amount (if applicable). |
| remainingValue | number | Remaining amount to be paid. |
| receivables | array | List of receivables related to the membership. See object receivables[]. |
| minPeriodStayMembership | int32 | Minimum period of stay for the membership (in days). |
| membershipTrasnferData | object | Data about the membership transfer. See object membershipTrasnferData. |
| membershipSwapData | object | Data about the membership swap. See object membershipSwapData. |
| idMemberMigration | string | ID of the member after migration (if applicable). |
| idSaleMigration | string | ID of the sale generated by the migration. |
| idMembershipCategory | int32 | ID of the membership category. |
| memberDocument | string | Document of the member related to the plan. |
| statusMemberMembership | int32 | Status of the contract. 1 - Active, 2 - Canceled. |
receivables array of objects| Field | Type | Description |
|---|---|---|
| idReceivable | int32 | ID of the receivable. |
| description | string | Description of the receivable. |
| ammount | number | Total amount to be received. |
| ammountPaid | number | Amount already paid. |
| currentInstallment | int32 | Current installment. |
| totalInstallments | int32 | Total number of installments. |
| tid | string | Transaction ID. |
| nsu | string | Transaction NSU. |
| authorization | string | Authorization code of the transaction. |
| canceled | boolean | Indicates if the receivable has been canceled. |
| cancellationDate | date-time | Date of cancellation of the receivable. |
| cancellationDescription | string | Reason/description for the cancellation. |
| registrationDate | date-time | Date of registration of the receivable. |
| dueDate | date-time | Due date of the installment. |
| receivingDate | date-time | Date of receipt/payment. |
| paymentType | object | Payment type used. See object receivables[].paymentType. |
receivables[].paymentType object| Field | Type | Description |
|---|---|---|
| id | int32 | ID of the payment type. |
| name | string | Name of the payment type (e.g., Credit, Debit, PIX). |
membershipTrasnferData object| Field | Type | Description |
|---|---|---|
| flTransfer | boolean | Indicates if there was a membership transfer. |
| idMemberTransfer | int32 | ID of the member to whom the membership was transferred. |
| idMemberMembershipTransfer | int32 | ID of the transferred link. |
membershipSwapData object| Field | Type | Description |
|---|---|---|
| flMembershipSwapped | boolean | Indicates if the membership was swapped. |
| idMemberMembershipSource | int32 | ID of the original membership before the swap. |