Update Transaction Hash
POST/v1/offramp/orders/txnhash
Submit the blockchain transaction hash after sending crypto to Onmeta's wallet. Required for Onmeta to verify receipt and process the INR payout.
Request
Responses
- 200
- 400
- 401
- 404
- 409
Hash accepted — order is being processed.
Bad Request — the submitted txnHash is not a valid blockchain transaction hash. Verify the hash format — it must be a real on-chain transaction hash.
Unauthorized — missing or expired Bearer token or API key.
Order not found — the orderId does not exist or does not belong to this user.
Conflict — one of several terminal states:
Duplicate transaction hash— This hash is already linked to another order. Each on-chain transaction can only be submitted once.Order not in valid status— The order is not pending. A hash can only be submitted once per order.Invalid address— The on-chain sender address does not match thesenderWalletAddressregistered on the order.Sender address missing in transaction data—senderWalletAddresswas missing in the original create order request. Re-create the order withsenderWalletAddressincluded.Invalid token received. Refund process initiated— Token or amount received on-chain does not match the order. Onmeta will automatically refund the tokens.