Skip to Content
Docs
Collaborations

List collaborations

GET/collaborations

Returns a list of collaborations, sorted by creation time, oldest first.

Only one list query per merchant can run at a time; a concurrent query returns 429.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Query parameters

created.greater_than_or_equalsstring

Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.greater_than.

created.greater_thanstring

Return objects created after this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.greater_than_or_equals.

created.less_than_or_equalsstring

Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.less_than.

created.less_thanstring

Return objects created before this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.less_than_or_equals.

limitinteger

Maximum number of objects to return. Defaults to 10.

Default: 10

ending_beforestring

A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a chrg_ ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with starting_after.

starting_afterstring

A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a chrg_ ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with ending_before.

Returns

Returns a list of collaboration objects.

resourcestring

String representing the object's type.

dataarray of objects

Array of collaboration objects.

Show 13 child attributesHide child attributes
idstringRequired

Unique identifier for the collaboration.

resourcestringRequired

String representing the object's type.

amountintegerRequired

Collaboration amount, in the smallest currency unit.

amount_human_readablestringRequired

Collaboration amount in human-readable format.

currencystringRequired

Three-letter ISO currency code, in lowercase.

statusstringRequired

Status of the collaboration. One of open, resolved, escalated, or ignored.

One of open, resolved, escalated or ignored.

createdstring

Time at which the object was created, in ISO 8601 format.

test_modeboolean

Whether the collaboration was created in the sandbox.

actionable_bystring

Time by which action must be taken on the collaboration, in ISO 8601 format. Omitted when the collaboration has no deadline.

chargestring

Unique identifier for the charge associated with this collaboration.

sourcestring

Source of the collaboration. One of ethoca, cdrn, or mc_collaboration.

One of ethoca, cdrn or mc_collaboration.

settlement_accountstring

Unique identifier for the settlement account the charge was booked to. Present only when the merchant uses settlement accounts.

settlement_account_detailsobject

Details of the settlement account and legal entity the transaction is booked to. Present only when the object is linked to a settlement account or legal entity.

Show 5 child attributesHide child attributes
processorstring

The processor of the settlement account.

currencystring

Three-letter ISO currency code of the settlement account, in lowercase. Omitted for settlement accounts without a currency.

namestring

Name of the settlement account.

entitystring

Unique identifier for the legal entity, if applicable.

entity_detailsobject

Details of the legal entity, if applicable.

Show 2 child attributesHide child attributes
legal_namestring

Legal name of the entity.

countrystring

Two-letter ISO country code of the entity's billing address.

has_moreboolean

Whether there are more collaborations available for pagination.

Errors

400
Invalid request parameters.
401
The API key or access token is missing, unknown or no longer works (invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).
403
The request was refused: the API key may not make it (for example resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.
429
Another list query is already running for the merchant. Retry after the number of seconds in the Retry-After header.
500
Internal server error.
503
Service unavailable. Retry after the number of seconds in Retry-After, or after a few seconds when there's none.
Was this page helpful?