Ignore a collaboration
/collaborations/{collaboration_id}/ignoreIgnores a collaboration, setting its status to ignored. No refund is made.
Headers
AuthorizationstringRequiredidempotency-keystringA unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.
- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.
- If the first request is still being processed, a retry gets 409
idempotency_error(request_in_progress). - The same key on another endpoint, or with another body, gets 400
idempotency_error(invalid_parameters). - GET, PUT and PATCH requests ignore the key.
The response repeats the key in its Idempotency-Key header.
Path parameters
collaboration_idstringRequiredUnique identifier for the collaboration.
Returns
Returns the collaboration object.
idstringRequiredUnique identifier for the collaboration.
resourcestringRequiredString representing the object's type.
amountintegerRequiredCollaboration amount, in the smallest currency unit.
amount_human_readablestringRequiredCollaboration amount in human-readable format.
currencystringRequiredThree-letter ISO currency code, in lowercase.
statusstringRequiredStatus of the collaboration. One of open, resolved, escalated, or ignored.
createdstringTime at which the object was created, in ISO 8601 format.
test_modebooleanWhether the collaboration was created in the sandbox.
Show 5 more attributesShow fewer attributes
actionable_bystringTime by which action must be taken on the collaboration, in ISO 8601 format. Omitted when the collaboration has no deadline.
chargestringUnique identifier for the charge associated with this collaboration.
sourcestringSource of the collaboration. One of ethoca, cdrn, or mc_collaboration.
settlement_accountstringUnique identifier for the settlement account the charge was booked to. Present only when the merchant uses settlement accounts.
settlement_account_detailsobjectDetails 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
processorstringThe processor of the settlement account.
currencystringThree-letter ISO currency code of the settlement account, in lowercase. Omitted for settlement accounts without a currency.
namestringName of the settlement account.
entitystringUnique identifier for the legal entity, if applicable.
entity_detailsobjectDetails of the legal entity, if applicable.
Show 2 child attributesHide child attributes
legal_namestringLegal name of the entity.
countrystringTwo-letter ISO country code of the entity's billing address.
Errors
400401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403resource_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.404409idempotency-key is still being processed (request_in_progress). Wait, then retry with the same key.500503Retry-After, or after a few seconds when there's none.