Check Order

This endpoint allows you to check the status of an order associated with a permanent address.

Request Details

  • Endpoint: /v1/perm/getorder

  • Method: POST

Request Parameters

Parameter Name
Required
Type
Explanation

merchant_id

Yes

string

Merchant's unique identifier.

hash

Yes

string

The HMAC SHA512 hash of the request data.

data

Yes

object

Data object containing the order details.

— id

Yes

string

Unique identifier of the order.

— timestamp

Yes

number

Current timestamp to ensure the request's freshness.

Request Example

{
    "merchant_id": "a56e0-0a10c-73015-9f330",
    "hash": "Ix/meLjUjfKSZE+2X9fctOc/rGIY9mkC/a9obtVN7F1+akmpfguZQ9JqYfQK/+09gMIcmuccTZRVtCTCeiIHaA==",
    "data": {
        "id": "70141854341597913000",
        "timestamp": 1597919152
    }
}

Return Parameters

Parameter Name
Type
Explanation

symbol

string

Type of token (e.g., 'USDT').

from

string

The source address from which the tokens are sent.

address

string

The recipient's permanent address.

block

string

The block number on the blockchain where the transaction was included.

txid

string

Blockchain transaction identifier.

confirmation

number

The number of confirmations the transaction has received.

balance

decimal

The amount of tokens received.

timestamp

number

Timestamp of when the transaction was processed.

Response Example

{
    "statusCode": 200,
    "symbol": "USDT",
    "from": "0x1111111111111111111111111111111111111111",
    "address": "0x0E595b185E323Fa5019E8D73B2F7A3D0f089b582",
    "block": 7677026,
    "txid": "0x73cedead30e3949d0867986f7049923417dd42ca32872aaece85c41703927773",
    "confirmation": 12,
    "balance": 124.6261,
    "timestamp": 1586350781
}

Last updated