Select
Movements
Billing API for managing different types of billing movements (adjustments, discounts, recurring charges…)
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
accountId | path | string | true | Executes the request in the context of the given account |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Retrieve a list of all account adjustments | [AccountAdjustmentResponseDTO] |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
200 - instance of AccountAdjustmentResponseDTO
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | true | none |
adjustment_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | true | none |
period_end_datetime | string(date-time) | true | none |
amount | AmountResponseDTO | true | none |
operation_type | OperationTypeDTO | true | none |
external_adjustment_unique_id | string | true | none |
transaction_type_id | string | true | none |
invoice_cycle_date | string(date-time) | true | If the invoice_id field is empty, this field indicates the expected invoice cycle date of the movement. On the other hand, if the invoice_id field is already filled, this field indicates the current invoice cycle date of the movement. |
description | string | true | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AccountAdjustmentRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
accountId | path | string | true | Executes the request in the context of the given account |
Request body - instance of AccountAdjustmentRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
adjustment_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountWithoutTaxesRequestDTO | true | none |
external_adjustment_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | true | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Resource created | GenericCreatedResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
accountId | path | string | true | Executes the request in the context of the given account |
adjustmentId | path | string | true | Executes the request in the context of the given billing adjustment |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Retrieve a single account adjustment | AccountAdjustmentResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AccountAdjustmentRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
accountId | path | string | true | Executes the request in the context of the given account |
adjustmentId | path | string | true | Executes the request in the context of the given billing adjustment |
Request body - instance of AccountAdjustmentRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
adjustment_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountWithoutTaxesRequestDTO | true | none |
external_adjustment_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | true | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
accountId | path | string | true | Executes the request in the context of the given account |
adjustmentId | path | string | true | Executes the request in the context of the given billing adjustment |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AdjustmentRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
Request body - instance of AdjustmentRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
adjustment_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | BillableAmountRequestDTO | true | none |
external_adjustment_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Resource created | GenericCreatedResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AdjustmentRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
adjustmentId | path | string | true | Executes the request in the context of the given billing adjustment |
Request body - instance of AdjustmentRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
adjustment_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | BillableAmountRequestDTO | true | none |
external_adjustment_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | MovementRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
Request body - instance of MovementRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
type | MovementTypeDTO | true | none |
movement_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountRequestDTO | true | none |
external_invoice_id | string | false | none |
external_movement_unique_id | string | true | none |
billable | boolean | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Resource created | GenericCreatedResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
movementId | path | string | true | Executes the request in the context of the given billing movement |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Retrieve a billing movement | MovementResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | MovementRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
movementId | path | string | true | Executes the request in the context of the given billing movement |
Request body - instance of MovementRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
type | MovementTypeDTO | true | none |
movement_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountRequestDTO | true | none |
external_invoice_id | string | false | none |
external_movement_unique_id | string | true | none |
billable | boolean | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
movementId | path | string | true | Executes the request in the context of the given billing movement |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | MovementNonSubscribableProductsRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
Request body - instance of MovementNonSubscribableProductsRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
type | MovementTypeDTO | true | none |
movement_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountRequestDTO | true | none |
external_invoice_id | string | false | none |
external_movement_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Resource created | GenericCreatedResponseDTO |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | MovementNonSubscribableProductsRequestDTO | true | ‘none’ |
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
movementId | path | string | true | Executes the request in the context of the given billing movement |
Request body - instance of MovementNonSubscribableProductsRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
type | MovementTypeDTO | true | none |
movement_datetime | string(date-time) | true | none |
period_start_datetime | string(date-time) | false | none |
period_end_datetime | string(date-time) | false | none |
amount | AmountRequestDTO | true | none |
external_invoice_id | string | false | none |
external_movement_unique_id | string | true | none |
transaction_type_id | string | true | none |
description | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Executes the request in the context of the given organization |
subscriptionId | path | string | true | Executes the request in the context of the given subscription |
movementId | path | string | true | Executes the request in the context of the given billing movement |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Ok with empty body | None |
400 | Bad Request | The request could not be processed because it was malformed | GenericResponseDTO |
401 | Unauthorized | The user is not authorized | GenericResponseDTO |
403 | Forbidden | The user does not have permission to access that resource | GenericResponseDTO |
404 | Not Found | The specified resource was not found | GenericResponseDTO |
500 | Internal Server Error | The request failed to be processed by the server | GenericResponseDTO |
502 | Bad Gateway | A third party connection is not responding | GenericResponseDTO |
504 | Gateway Time-out | The request timed out | GenericResponseDTO |
Endpoints
Consumptions
Movements
Refunds
Invoices
LocationTax