Новый обмен

Новый обмен который только создан еще не подтвержден клиентом

WebHook обмена когда юзер вошел в свой аккаунт

{
    "notifyType": "newOrder",
    "route": {
        "from": {
            "name": "Cardano",
            "symbol": "ADA",
            "image": "/img/currencies/medium/90268d099ae5ec94e03b32fae92d8b54.png",
            "decimal": 2,
            "xml": "ADA"
        },
        "to": {
            "name": "Visa/MasterCard",
            "symbol": "UAH",
            "image": "/img/currencies/medium/d1db15011ad484b475a4f2d9bfcc2e76.svg",
            "decimal": 2,
            "xml": "CARDUAH"
        }
    },
    "order": {
        "link": "/en/order/3057/px09Gp6YnvCfzQDDxX964VMv/",
        "lang": "en",
        "id": "6424bc4f1ebb0b8e0ddb494b",
        "uid": 3057,
        "secret": "px09Gp6YnvCfzQDDxX964VMv",
        "ip": "192.168.1.1",
        "statusLabel": "New exchange",
        "status": "new",
        "partner": null,
        "rate": 15.464715658694248,
        "inAmount": 1000,
        "outAmount": 15464.71,
        "expiresAt": "2023-03-29T23:01:43.769Z",
        "fromValues": [],
        "toValues": [
            {
                "field": "account_crypto",
                "name": "Card number",
                "value": "4141414141414141111",
                "_id": "6424bc4f1ebb0b8e0ddb494c"
            }
        ],
        "routeValues": [],
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36",
        "browser": "Chrome v110.0.0.0",
        "os": "Mac OS 10.15.7",
        "clientUID": "178928",
        "clientEmail": "test1@gmail.com",
        "clientId": "5fe7f9b905c4530bfc60d687",
        "clientCallbackUrl": null,
        "ipnUrl": null,
        "extraData": {}
    }
}

WebHook о публичном обмене без юзера

{
    "notifyType": "newOrder",
    "route": {
        "from": {
            "name": "Cardano",
            "symbol": "ADA",
            "image": "/img/currencies/medium/90268d099ae5ec94e03b32fae92d8b54.png",
            "decimal": 2,
            "xml": "ADA"
        },
        "to": {
            "name": "Visa/MasterCard",
            "symbol": "UAH",
            "image": "/img/currencies/medium/d1db15011ad484b475a4f2d9bfcc2e76.svg",
            "decimal": 2,
            "xml": "CARDUAH"
        }
    },
    "order": {
        "link": "/en/order/3055/mhsT3tWnD5q4H3TbvjpWr8mh/",
        "lang": "en",
        "id": "6424bb13a749bd445d518b90",
        "uid": 3055,
        "secret": "mhsT3tWnD5q4H3TbvjpWr8mh",
        "ip": "192.168.1.1",
        "statusLabel": "New exchange",
        "status": "new",
        "partner": "5fe7f9b905c4530bfc60d687",
        "rate": 14.100369188431372,
        "inAmount": 10,
        "outAmount": 141,
        "expiresAt": "2023-03-29T22:56:27.801Z",
        "fromValues": [],
        "toValues": [
            {
                "field": "account_crypto",
                "name": "Card number",
                "value": "4141414141414141",
                "_id": "6424bb13a749bd445d518b91"
            }
        ],
        "routeValues": [],
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36",
        "browser": "Chrome v110.0.0.0",
        "os": "Mac OS 10.15.7",
        "clientCallbackUrl": null,
        "ipnUrl": null,
        "extraData": {}
    }
}

Last updated