|
| 1 | +attributes: |
| 2 | + - |
| 3 | + name: id |
| 4 | + type: integer |
| 5 | + description: Unique identifier for the balance update. |
| 6 | + - |
| 7 | + name: created |
| 8 | + type: datetime |
| 9 | + description: The date and time when the balance update was created. |
| 10 | + - |
| 11 | + name: creator |
| 12 | + type: object |
| 13 | + description: The user who created this balance update. |
| 14 | + children: |
| 15 | + - name: id |
| 16 | + type: integer |
| 17 | + description: Unique identifier for the object. |
| 18 | + - name: first_name |
| 19 | + type: string |
| 20 | + description: The User's first name. |
| 21 | + - name: last_name |
| 22 | + type: string |
| 23 | + description: The User's last name. |
| 24 | + - name: email |
| 25 | + type: string |
| 26 | + description: The User's email address. |
| 27 | + - name: role_type |
| 28 | + type: string |
| 29 | + description: The role type of the Balance Update creator. |
| 30 | + - name: url |
| 31 | + type: string |
| 32 | + description: URL to the Creator's object. (This field will not be present if the creator is an Administrator) |
| 33 | + - |
| 34 | + name: credit_amount |
| 35 | + type: decimal |
| 36 | + description: The amount of credit being added or removed from the client's balance. |
| 37 | + - |
| 38 | + name: description |
| 39 | + type: string |
| 40 | + description: A description explaining the reason for the balance update. |
| 41 | + - |
| 42 | + name: method |
| 43 | + type: string |
| 44 | + description: The payment method used for the balance update. Options for this field are ['cash', 'cheque', 'credit_card', 'transferwise', 'debit_card', 'bank_transfer', 'direct_debit', 'bonus_credit', 'manual', 'voucher', 'correction']. |
| 45 | + - |
| 46 | + name: related_item |
| 47 | + type: object |
| 48 | + description: Any related object that this balance update is associated with (nullable). |
| 49 | + - |
| 50 | + name: role |
| 51 | + type: object |
| 52 | + description: The user whose balance is being updated. |
| 53 | + children: |
| 54 | + - name: id |
| 55 | + type: integer |
| 56 | + description: Unique identifier for the object. |
| 57 | + - name: first_name |
| 58 | + type: string |
| 59 | + description: User's first name. |
| 60 | + - name: last_name |
| 61 | + type: string |
| 62 | + description: User's last name. |
| 63 | + - name: email |
| 64 | + type: string |
| 65 | + description: User's email address. |
| 66 | + - name: role_type |
| 67 | + type: string |
| 68 | + description: The role type of the User. |
| 69 | + - name: url |
| 70 | + type: string |
| 71 | + description: URL to the User's object. |
| 72 | + - |
| 73 | + name: update_type |
| 74 | + type: string |
| 75 | + description: The type of update being performed (e.g., "via_api", "manual"). |
| 76 | + |
| 77 | +filters: |
| 78 | + - |
| 79 | + name: client |
| 80 | + type: integer |
| 81 | + description: Filter by the Balance Updates linked Client (id). |
| 82 | + - |
| 83 | + name: contractor |
| 84 | + type: integer |
| 85 | + description: Filter by the Balance Updates linked Tutor (id). |
| 86 | + - |
| 87 | + name: method |
| 88 | + type: string |
| 89 | + description: Filter by the Balance Updates method. Options for this field are ['cash', 'cheque', 'credit_card', 'transferwise', 'debit_card', 'bank_transfer', 'direct_debit', 'bonus_credit', 'manual', 'voucher', 'correction']' |
| 90 | + - |
| 91 | + name: update_type |
| 92 | + type: string |
| 93 | + description: Filter by the Balance Updates update_type. Options for this field are ['proforma_invoice_paid', 'invoice_creation', 'invoice_payment', 'po_creation', 'po_payment', 'adjustment', 'refund', 'stripe_bank_transfer_refund', 'voucher', 'credit_note', 'debit_note', 'via_api', 'top_up', 'app_fee']' |
| 94 | + - |
| 95 | + name: credit_amount_gte |
| 96 | + type: decimal |
| 97 | + description: Filter by Balance Updates with a credit_amount greater than or equal to this value. |
| 98 | + - |
| 99 | + name: credit_amount_lte |
| 100 | + type: decimal |
| 101 | + description: Filter by Balance Updates with a credit_amount less than or equal to this value. |
| 102 | + - |
| 103 | + name: created_gte |
| 104 | + type: datetime |
| 105 | + description: Filter by Balance Updates created on or after this date and time. |
| 106 | + - |
| 107 | + name: created_lte |
| 108 | + type: datetime |
| 109 | + description: Filter by Balance Updates created on or before this date and time. |
0 commit comments