Support (public)
Open a support case
Opens a support case for a payment problem and returns a ready-to-send report for NEAR Intents support. When the payment belongs to an invoice, the business gets a dashboard alert and a support_case.created webhook while it has at most 30 support cases from the last 24 hours, counting this case and the cases Solverr opens by itself when a swap fails. Cases past that number appear only on the dashboard's Support page.
If the transaction was reported on a different chain from the quote, the case kind becomes wrong_chain. If no invoice matches, it becomes not_found. Reporting the same transaction for the same invoice again returns the open case.
Rate limits: 5 per minute per IP address, 20 per minute per network, and 5 cases per invoice per 24 hours, counting the ones Solverr opens when a swap fails. The 429 for too many cases on one invoice also carries Retry-After, the seconds until the oldest of them is 24 hours old.
application/json- body
invoice_id?string1 <= length <= 60tx_hash*stringThe transaction hash of the customer's transfer.
^[A-Za-z0-9:_\-.]+$8 <= length <= 200chain*stringChain code the customer actually sent on, such as tron.
^[a-z0-9_-]{1,30}$1 <= length <= 30kind*ReportableSupportCaseKind"wrong_chain""wrong_coin""missing_memo""stuck""not_found"details?stringlength <= 1000The support case.
application/json- response
id*stringkind*SupportCaseKindswap_failed cases are opened by Solverr when NEAR Intents could not complete a swap; they cannot be reported.
"wrong_chain""wrong_coin""missing_memo""stuck""swap_failed""not_found"report_text*stringA ready-to-send report for NEAR Intents support.
support_url*stringThe NEAR Intents support channel.
uricurl -X POST 'https://example.com/api/v1/support-cases' \ -H 'Content-Type: application/json' \ -d '{ "tx_hash": "stringst", "chain": "string", "kind": "wrong_chain"}'{ "id": "case_3vN7rB2sT4mW8xQ5kL9p", "kind": "wrong_chain", "report_text": "string", "support_url": "http://example.com"}