Callbacks log

Displays information about the sent queries for a particular address. Here you can see what requests the service sent to you and what responses you, as the client, gave to them. This is a basic tool for initial debugging and script functionality.

Bitcoin QR code icon

Contents

Request:

Parameters

{access-token}, string Token for access. Taken from the authorization request for the wallet. Required
{walletID}, string Wallet Identificator. Required
{address}, string
Cryptocurrency address. Required
{offset}, integer
The sequence number of the element from which the counting starts. Required
{limit}, integer
Number of pages displayed per page. Optional
cURL example

curl'https://apirone.com/api/v2/wallets/btc-c70afacf0b7d7808e8be36bfd7ceed71/addresses/35Gnk75DbehHXkshBX1QzpKdq4AJDW6KKv/callback-log' -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsIjoidGJ0Yy01MzNlZTljNmI0NmYzNjJhNmQ0ODg1MzgzMDc0MTFlMCIsImV4cCI6MTYxMzYyNjM3M30.KnQ2zTAuKXkdihhMYxuaR8g217rfEp5CaKyjDU0lKWM'

Success Response Reference:

{wallet}, string Wallet Identificator. Required
{address}, string Cryptocurrency wallet address. Required
{log}, array of objects Callback data. Required
{pagination}, array of objects An object containing information about pages. Required

Callback data {log}:

{log:date}, string
Date of query to the client.
Contains the full date, hours, minutes, seconds, decimal part of seconds: yyyy-mm-ddTh:mm:ss.s
Required
{log: request}, objects
Request from Processing to Client. Required
{log: response}, objects
Response from client to Processing. Required

Request from the Processing to the client {request}:

{request: method}
The method of sending data to the server. For example, GET, POST. Required
{request: url}
Website URL. Required
{request: args}
Arguments to sent. Optional
{request: args: wallet}
Wallet Identifier. Required
{request: args: value}
Amount in satoshi. Required
{request: args: input_address}
Payment address. Required
{request: args: confirmations}
The number of confirmations in the network. Required
{request: args: input_transaction_hash}
Input transaction hash. Required

Response from the client to the Processing {response}:

{response: status}
HTTP status of the client page. There may be 200 on a successful request. If you see 3xx, 4xx, and 5xx responses in response, it means a misconfiguration on the client side. Get the correct responses from your side Required
{response:headers}, objects
HTTP headers received from the client, having the form "header": "value". Required
{response:content}, string
The text from the request body, received by the processing from the client. On successful execution it should be "*ok*". Required

Pagination {pagination}:

{pagination:total}
Total number of pages. Required
{pagination: offset}
The sequence number of the element from which the counting starts. Required
{pagination: limit}
Number of items displayed per page. Optional
Response example:
    {
      "wallet": "btc-c70afacf0b7d7808e8be36bfd7ceed71",
      "address": "35Gnk75DbehHXkshBX1QzpKdq4AJDW6KKv",
      "log": [ {
        "date": "2021-01-28T06:52:37.263Z",
        "request": {
          "method": "string",
          "url": "string",
          "args": {
            "wallet": "btc-c70afacf0b7d7808e8be36bfd7ceed71",
            "value": 46113216,
            "input_address": "3QSx5y7g5DZojZbGTsNSNJ5kPBTF56h6Kz",
            "confirmations": 0,
            "input_transaction_hash": "7f7a9f74dc566aabd0df5344a552c51b2f55de8fea6a1496f627918497300d54"
          }
        },
        "response": {
          "status": 200,
          "headers": {
            "Date": "Mon, 18 Feb 2021 13:57:20 GMT",
            "Server": "Apache",
            "X-Powered-By": "PHP/7.4.10",
            "Expires": "Thu, 19 Nov 1981 08:52:00 GMT",
            "Cache-Control": "no-store, no-cache, must-revalidate",
            "Pragma": "no-cache",
            "Access-Control-Allow-Origin": "*",
            "Connection": "keep-alive",
            "Content-Length": "3",
            "Content-Type": "text/html; charset=UTF-8"
          },
          "content": "*ok*"
        }
      } ],
      "pagination": {
        "total": 2,
        "offset": 0,
        "limit": 10
      }
    }
    
  

Error Response: