Skip to content

Get reconciliation results and open discrepancies

GET
/v1/reports/reconciliation
curl --request GET \
--url 'https://api.feitpay.com/v1/reports/reconciliation?status=open&format=csv' \
--header 'Authorization: Bearer <token>' \
--header 'FeitPay-Environment: test'
FeitPay-Organization
string

Active organization for dashboard sessions. Ignored for API keys (the key determines the organization).

FeitPay-Environment
string
default: test
Allowed values: test live

test (default) or live for dashboard sessions. API keys determine the environment. Until the platform is in production, configuration (stores, webhook endpoints, payment links) is live and money movement answers payments_not_enabled.

status
string
Allowed values: open acknowledged resolved
format
string
default: json
Allowed values: csv json

Discrepancies between chain truth, expected amounts and deliveries.

object
object
required
string
Allowed value: list
data
required
Array<object>
object
id
required
string
org_id
string
org_name
string
kind
required
string
Allowed values: underpaid overpaid late_payment post_settlement_payment asset_mismatch reorg_pending webhook_undelivered stale_in_flight allocation_mismatch custody_uncredited payout_attention pix_dispute
severity
required
string
Allowed values: low medium high
status
required
string
Allowed values: open acknowledged resolved
payment_intent_id
required
string | null
transfer_event_id
required
string | null
payout_id
string | null
details
required
object
detected_at
required
string format: date-time
resolved_at
required
string | null format: date-time
resolved_by
required
string | null
resolution_note
required
string | null
resolution_kind

Why an operator closed it from the console: nothing was wrong (false_alarm), dealt with outside this flow (handled) or covered by another discrepancy (duplicate). Null for every other resolution.

string | null
Allowed values: false_alarm handled duplicate
resolved_by_name

Operator console only. Name of the operator or member who resolved it; null for automatic resolutions.

string | null

Example

{
"object": "list",
"data": [
{
"kind": "underpaid",
"severity": "low",
"status": "open",
"resolution_kind": "false_alarm"
}
]
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}

Authenticated but not permitted. Any route may also answer request_blocked when abuse protection has blocked the client IP for a while.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}

Too many requests. See Retry-After.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}
Retry-After
integer