Register funding transaction
Registers a transaction hash the buyer's wallet already broadcast.
https://testnet.universal-escrow.xyz/v1/escrows/{escrowId}/funding-transactions
Returns 202, NOT 201 or 200 — the platform has accepted a claim for verification, not confirmed a payment. The escrow becomes FUNDED only once the indexer observes the funding event at the configured confirmation depth (poll GET /v1/escrows/{escrowId} or subscribe to the escrow.funded webhook). A verification failure against the chain is 422 transaction_verification_failed. Prerequisite: a funding-intent should normally have been requested first, though this route accepts any hash and verifies it independently. Supports Idempotency-Key.
Authorizations
AuthorizationstringheaderrequiredBearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:write scope.
Path Parameters
escrowIdstringrequiredHeaders
Idempotency-KeystringOptional, 8–255 characters. The same key with the same body replays the original response instead of acting twice; with a different body it is a conflict.
Body
application/jsontransactionHashstringrequiredThe 0x-prefixed 32-byte transaction hash the user's wallet broadcast. Untrusted input — verified against the chain on nine properties before any state changes; never taken on faith.
chainIdnumberrequiredChain id the transaction was sent on; must match the escrow's own chain.
Response
202 · RegisteredFundingTransaction · application/jsonAccepted for verification — not a confirmed payment.
idstringrequiredPublic id.
organizationIdstringrequiredescrowIdstringrequiredchainIdnumberrequiredhashstringrequiredfromAddressstring | nullrequiredtoAddressstring | nullrequiredpurposeTransactionPurposerequiredOne of APPROVAL, FUNDING, RELEASE, REFUND, DISPUTE_RESOLUTION.
statusBlockchainTransactionStatusrequiredOne of REGISTERED, PENDING, CONFIRMED, FAILED, DROPPED, REPLACED, REORGED.
confirmationsnumberrequiredrequiredConfirmationsnumberrequiredblockNumberstring | nullrequiredBlock height as a decimal string.
blockHashstring | nullrequiredfailureCodestring | nullrequiredMachine-readable reason for FAILED, DROPPED, REPLACED or REORGED.
failureReasonstring | nullrequiredWhat failed and where. Never payload content.
statusHistoryTransactionStatusHistory[]requiredEvery transition, oldest first.
replacedBystring | nullrequiredThe hash that superseded this transaction.
createdAtstringrequiredRFC 3339 UTC timestamp.
updatedAtstringrequiredRFC 3339 UTC timestamp.
escrowStatusstringrequiredThe escrow's status, unchanged by this call.