BlockonomicsAPI Reference
Payer API
POST/v2/pay/{id}/submit

Submit a transaction hash

Links a USDT transaction to the intent's open USDT quote. Required for every USDT payment: all USDT quotes on a store share its wallet address, so the transaction hash is the only way to tell which intent a transfer pays. A USDT payment whose hash is never submitted is not detected. No API key needed.

Submit the hash as soon as you have it, before broadcasting the transaction if your wallet allows it. Submitting the same hash again returns 200. A different hash replaces the first one until a payment is detected.

Not used for BTC, which is detected by its address.

Returns 200 with an empty body.

Path Parameters

idstringrequired

ID of the payment intent

Request Body

cryptostringrequired

Crypto of the quote being paid. Not case-sensitive.

txhashstringrequired

Hash of the transaction that pays the quote. On a test-mode store, TestUSDTTxid__ simulates a payment of that amount.

Responses

idpath · stringrequired

ID of the payment intent

cryptobody · stringrequired

Crypto of the quote being paid. Not case-sensitive.

txhashbody · stringrequired

Hash of the transaction that pays the quote. On a test-mode store, `TestUSDTTxid_<base units>_<unique suffix>` simulates a payment of that amount.

Response will appear here