/v1/facilities/{facility_id}/processor-exceptionsAuthentication
Bearer API key or Facily session, subject to permissions and facility scope.
Authentication and scopeRequest example
Replace bracketed path values with real IDs from your environment. The body, where shown, is generated from the schema and uses illustrative values.
curl --request GET \
--url 'https://api.staging.facily.ai/v1/facilities/<FACILITY_ID>/processor-exceptions' \
--header "Authorization: Bearer $FACILY_API_KEY"Try a request
Staging · read-onlyExplore your organization with a read-only request to staging.
Parameters
facility_idpath · stringrequiredFormat: uuid
statequery · stringDefault: "open" · Values: "open", "resolved"
limitquery · integerDefault: 100 · Minimum: 1 · Maximum: 200
Responses
Expand a status to inspect its schema. Generated examples show structure and synthetic values.
200Successful Response
{
"data": [
{
"created_at": "2026-10-29T12:00:00Z",
"id": "00000000-0000-4000-8000-000000000001",
"kind": "string",
"processor_transaction_id": "string",
"provider": "string",
"amount": "<VALUE_MATCHING_PATTERN>",
"occurred_at": "2026-10-29T12:00:00Z",
"payment_id": "00000000-0000-4000-8000-000000000001",
"processor_account_id": "00000000-0000-4000-8000-000000000001",
"refund_id": "00000000-0000-4000-8000-000000000001",
"resolution_note": "string",
"resolved_at": "2026-10-29T12:00:00Z"
}
],
"meta": {
"request_id": "string"
},
"pagination": {
"has_more": false,
"limit": 0,
"cursor": "string",
"total_count": 0
},
"metrics": {
"cards": {},
"computed_at": "2026-10-29T12:00:00Z",
"is_stale": false,
"scope": "facility"
}
}application/json
dataProcessorExceptionResponse[]requiredShow data schema
amountstring | nullAmount involved, where the fact carries one.
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
Show amount schema
string | nullAmount involved, where the fact carries one.
Variant 1: string
stringVariant 2: null
nullcreated_atstringrequiredWhen Facily first recorded the discrepancy.
Format: date-time
idstringrequiredUnique identifier for this exception.
Format: uuid
kindstringrequiredWhat kind of discrepancy this is, for example unmatched_transaction, stuck_pending, or stale_ach.
occurred_atstring | nullWhen the underlying processor event happened.
Format: date-time
Show occurred_at schema
string | nullWhen the underlying processor event happened.
Variant 1: string
stringVariant 2: null
nullpayment_idstring | nullThe Facily payment this concerns, where there is one.
Format: uuid
Show payment_id schema
string | nullThe Facily payment this concerns, where there is one.
Variant 1: string
stringVariant 2: null
nullprocessor_account_idstring | nullThe merchant account it belongs to. Null when it could not be attributed to one.
Format: uuid
Show processor_account_id schema
string | nullThe merchant account it belongs to. Null when it could not be attributed to one.
Variant 1: string
stringVariant 2: null
nullprocessor_transaction_idstringrequiredThe processor's own transaction identifier, or a synthetic reference when the stall is on Facily's side.
providerstringrequiredThe processor the fact came from, for example stax.
refund_idstring | nullThe Facily refund this concerns, where there is one.
Format: uuid
Show refund_id schema
string | nullThe Facily refund this concerns, where there is one.
Variant 1: string
stringVariant 2: null
nullresolution_notestring | nullWhat the staff member did about it, in their own words.
Show resolution_note schema
string | nullWhat the staff member did about it, in their own words.
Variant 1: string
stringVariant 2: null
nullresolved_atstring | nullWhen a staff member marked it handled. Null while open.
Format: date-time
Show resolved_at schema
string | nullWhen a staff member marked it handled. Null while open.
Variant 1: string
stringVariant 2: null
nullresolved_bystring | nullThe staff member who resolved it.
Format: uuid
Show resolved_by schema
string | nullThe staff member who resolved it.
Variant 1: string
stringVariant 2: null
nullmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequiredmetricsEmbeddedMetrics | nullShow metrics schema
EmbeddedMetrics | nullVariant 1: EmbeddedMetrics
cardsobjectrequiredcomputed_atstring | nullrequiredFormat: date-time
Show computed_at schema
string | nullVariant 1: string
stringVariant 2: null
nullis_stalebooleanrequiredscopestringrequiredValues: "facility", "portfolio"
Variant 2: null
nullpaginationPaginationBlockrequiredPagination metadata for list responses.
Show pagination schema
cursorstring | nullShow cursor schema
string | nullVariant 1: string
stringVariant 2: null
nullhas_morebooleanrequiredlimitintegerrequiredtotal_countinteger | nullShow total_count schema
integer | nullVariant 1: integer
integerVariant 2: null
null400Validation error
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired401Unauthenticated
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired403Permission denied
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired404Not found
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired409Business logic error
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired503Temporary failure
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired