Skip to content
Sandbox

Enrich a transaction descriptor

View as Markdown

Returns a merchant identity for a raw bank descriptor.

At least one identifier is required — an Idempotency-Key header, an external_transaction_id, or both. Without one, the deduplication branch is skipped entirely and two identical calls would produce two billed events that nothing can tell apart. The API refuses rather than let that happen.

Request

application/jsonCreateRequest

Response

Settled. A 200 does not mean a merchant was found — read enrichment.status. not_found is a normal, complete answer.

application/jsonEnrichment

Possible errors

Code
StatusCodeTitle
400identifier_requiredIdentifier required
An economic identifier is required to resolve this transaction.
400invalid_idempotency_keyInvalid Idempotency-Key
The Idempotency-Key header is missing or malformed.
400invalid_jsonInvalid JSON body
The request body is not valid JSON.
400invalid_requestInvalid request
The request does not match the documented shape.
400unsupported_canonicalizationUnsupported canonicalization
The requested canonicalization version is not supported.
401invalid_api_keyInvalid API credential
The API credential is missing, malformed, revoked, or unknown.
402no_active_subscriptionNo active subscription
No active subscription covers this operation.
402sandbox_quota_exhaustedSandbox quota exhausted
The organization has used its Sandbox allowance. Move to Production to continue.
403account_inactiveAccount inactive
The organization or the workspace is not active.
403insufficient_scopeInsufficient scope
The credential does not carry the scope this operation requires.
403production_not_enabledProduction access not enabled
This credential is not allowed to call the production environment.
409idempotency_key_reuseIdempotency key reused
This idempotency key was already used with a different request.
409input_mismatchInput mismatch
The submitted input does not match the input stored for this identifier.
409refresh_not_availableRefresh not available
This enrichment cannot be refreshed.
409transaction_id_conflictTransaction identifier conflict
This transaction identifier was already used with a different request.
410result_content_expiredResult content expired
The result content was purged and is no longer available.
413request_entity_too_largeRequest entity too large
The request body exceeds the documented size limit.
415unsupported_media_typeUnsupported media type
The request body must be sent as application/json.
429rate_limitedRate limited
Too many requests. Retry after the delay given by Retry-After.
500internal_errorInternal error
An unexpected error occurred. Quote the request_id when contacting support.
503busyService busy
The service is temporarily contended. Retry after the delay given by Retry-After.
503engine_errorEngine error
The enrichment engine failed to produce a result. This attempt is not billable.
503pricing_not_activatedPricing not activated
Billing is not activated for this operation yet. Retry later.

All errors

Was this page helpful?