Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get send/withdrawal queue record by Reference ID

Retrieve a send/withdrawal queue record by reference ID (refid).

Endpoint: GET /transaction/refId/:refid

Authentication: Required (x-api-key for live, x-staging-api-key for test)

Path Parameters

Parameter
Type
Required
Description

refid

string

Yes

Send reference ID

Example Request

curl -X GET https://service.roqqu.com/v1/transaction/refId/10704380386654367514 \
  -H "x-api-key: YOUR_API_KEY"

Example Response (Success)

{
  "status": "success",
  "message": "transaction retrieved for search Ref: [object Object]",
  "data": {
    "id": 1,
    "refid": "10704380386654367514",
    "checked": 0,
    "status": 0,
    "email": "merchant@business.com",
    "value": 1,
    "_to": "TUyR2sEjzDZNmbnac2ZkJ54h64m6TmVN71",
    "token": "usdt",
    "network": "trc20",
    "fee": 1,
    "contract": null,
    "tx_hash": null,
    "processed_at": null,
    "created_at": "2023-08-10T08:22:17.000Z",
    "updated_at": "2023-08-10T08:22:17.000Z"
  }
}

The success message currently stringifies the record in the message text. Prefer reading data for the full record.

Error Responses

Not found:

Missing path param:

Last updated