All fees related paths.
/fees/collections
Returns a list of fee collections.
account_id
string
Filters the list to show only fees associated with a specific account ID.
account_group_id
string
Filters the list to show only fees associated with a specific account group ID.
sort
string
Field of resource to sort by.
order
string
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
offset
int
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
limit
int
Use the limit
argument to specify the maximum number of items returned.
OK
{
"meta": {
"offset": 0,
"limit": 100,
"count": 3,
"total_count": 3,
"sort": "id",
"order": "ASC"
},
"data": [
{
"id": "d77e6924-9bb7-4db0-addc-404442258f4b",
"created_at": "2022-11-30T14:16:22Z",
"updated_at": "2022-11-30T14:16:22Z",
"account_id": "689f7566-2ca3-4007-b99d-e501be8c7783",
"account_group_id": "999f7566-2ca3-4007-b99d-e501be8c7222",
"type": "SERVICE_FEE",
"collection_amount": "12.41",
"processed_amount": {
"cash_balance": "6.50",
"sell_to_cover": "0"
},
"currency": "EUR",
"status": "PROCESSING",
"period_start": "2022-11-01",
"period_end": "2022-11-30"
},
{
"id": "7c5f2b11-7078-4bb9-8ed8-9dcf5eb7597f",
"created_at": "2022-11-30T14:16:22Z",
"updated_at": "2022-11-30T14:16:22Z",
"account_id": "5b8b1e66-cf3c-40f3-94d3-c94f2ac7abb7",
"account_group_id": "87805651-ad25-4a85-8c04-88a666164ad4",
"type": "SERVICE_FEE",
"collection_amount": "82.12",
"processed_amount": {
"cash_balance": "40.00",
"sell_to_cover": "42.12"
},
"currency": "EUR",
"status": "FINALISED",
"period_start": "2022-09-01",
"period_end": "2022-12-31"
},
{
"id": "85fba2a0-da2f-46ac-a2a8-b4e7c66cb375",
"created_at": "2022-11-30T14:16:22Z",
"updated_at": "2022-11-30T14:16:22Z",
"account_id": "c28b6611-7ac1-405a-8eb7-ab3b35caccc2",
"account_group_id": "f930f9d4-3e21-4ad5-a266-730821d9a9fc",
"type": "SERVICE_FEE_LIQUIDATION",
"collection_amount": "65.30",
"processed_amount": {
"cash_balance": "0.00",
"sell_to_cover": "0.00"
},
"currency": "EUR",
"status": "CANCELLED",
"period_start": "2022-03-01",
"period_end": "2022-07-30"
}
]
}
/fees/collections
Creates a fee collection for pre-calculated fee amounts.
account_id
string
required
Account unique identifier.
type
string
required
Type of the fee collection
collection_amount
string
required
currency
string
required
Alphabetic three-letter ISO 4217 currency code.
period_start
string
required
Start date of the fee collection period in YYYY-MM-DD format. RFC 3339, section 5.6 RFC 3339
period_end
string
required
End date of the fee collection period in YYYY-MM-DD format. RFC 3339, section 5.6 RFC 3339
{
"account_id": "689f7566-2ca3-4007-b99d-e501be8c7783",
"type": "SERVICE_FEE",
"collection_amount": "12.41",
"currency": "EUR",
"period_start": "2022-11-01",
"period_end": "2022-11-30"
}
Fee collection created.
{
"id": "d77e6924-9bb7-4db0-addc-404442258f4b",
"created_at": "2022-11-30T14:16:22Z",
"updated_at": "2022-11-30T14:16:22Z",
"account_id": "689f7566-2ca3-4007-b99d-e501be8c7783",
"account_group_id": "999f7566-2ca3-4007-b99d-e501be8c7222",
"type": "SERVICE_FEE",
"collection_amount": "12.41",
"processed_amount": {
"cash_balance": "6.50",
"sell_to_cover": "0"
},
"currency": "EUR",
"status": "PROCESSING",
"period_start": "2022-11-01",
"period_end": "2022-11-30"
}
/fees/collections/{fee_collection_id}
Returns the fee collection specified by its ID.
fee_collection_id
string
required
Fee collection unique identifier.
OK
{
"id": "d77e6924-9bb7-4db0-addc-404442258f4b",
"created_at": "2022-11-30T14:16:22Z",
"updated_at": "2022-11-30T14:16:22Z",
"account_id": "689f7566-2ca3-4007-b99d-e501be8c7783",
"account_group_id": "999f7566-2ca3-4007-b99d-e501be8c7222",
"type": "SERVICE_FEE",
"collection_amount": "12.41",
"processed_amount": {
"cash_balance": "6.50",
"sell_to_cover": "0"
},
"currency": "EUR",
"status": "PROCESSING",
"period_start": "2022-11-01",
"period_end": "2022-11-30"
}
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Event type
object
object (Fee Collection)
required
webhook_id
string
required
Webhook unique identifier.
{
"id": "38fc59d0-fc42-46ef-9512-824773219b2e",
"created_at": "2023-08-19T13:06:57.820371265Z",
"type": "FEE_COLLECTION.CREATED",
"webhook_id": "1b097e06-8a14-4181-b72a-de0972a3c57b",
"object": {
"account_group_id": "999f7566-2ca3-4007-b99d-e501be8c7222",
"account_id": "689f7566-2ca3-4007-b99d-e501be8c7783",
"collection_amount": "12.41",
"created_at": "2022-11-30T14:16:22Z",
"currency": "EUR",
"id": "d77e6924-9bb7-4db0-addc-404442258f4b",
"period_start": "2022-11-01",
"period_end": "2022-11-30",
"processed_amount": {
"cash_balance": "0",
"sell_to_cover": "0"
},
"status": "PROCESSING",
"type": "SERVICE_FEE",
"updated_at": "2022-11-30T14:16:22Z"
}
}
Request has been processed successfully.
Empty response
Was this page helpful?