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.

POST
/api/v1/support-cases

Request Body

application/json
  1. body
invoice_id?string
Length1 <= length <= 60
tx_hash*string

The transaction hash of the customer's transfer.

Match^[A-Za-z0-9:_\-.]+$
Length8 <= length <= 200
chain*string

Chain code the customer actually sent on, such as tron.

Match^[a-z0-9_-]{1,30}$
Length1 <= length <= 30
kind*ReportableSupportCaseKind
Value in"wrong_chain""wrong_coin""missing_memo""stuck""not_found"
details?string
Lengthlength <= 1000

Response Body

The support case.

application/json
  1. response
id*string
kind*SupportCaseKind

swap_failed cases are opened by Solverr when NEAR Intents could not complete a swap; they cannot be reported.

Value in"wrong_chain""wrong_coin""missing_memo""stuck""swap_failed""not_found"
report_text*string

A ready-to-send report for NEAR Intents support.

support_url*string

The NEAR Intents support channel.

Formaturi
Example Request
curl -X POST 'https://example.com/api/v1/support-cases' \  -H 'Content-Type: application/json' \  -d '{  "tx_hash": "stringst",  "chain": "string",  "kind": "wrong_chain"}'
Example Response
{  "id": "case_3vN7rB2sT4mW8xQ5kL9p",  "kind": "wrong_chain",  "report_text": "string",  "support_url": "http://example.com"}