Wallet address callback

Outputs information on the saved callback for a specified address.

Bitcoin QR code icon

Contents

Request:

Parameters

{access-token}, string Token for access. Taken from the authorization request for the wallet. (learn more). Required
{WalletID}, string Wallet Identificator. Required
{address}, string
Cryptocurrency wallet address. Required

The Authorization header requires you to send a Bearer with an access token. Without the header you cannot get a successful response.

cURL example

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

Success Response Reference:

{wallet}, string Wallet Identifier to which the address is assigned. Required
{address}, string Cryptocurrency wallet address. Required
{callback}, array A callback is an array of URLs and user data. Required

{callback} contains the following data.

{callback: url} A callback URL. Required
{callback:data} Data.
An associative array consisting of key-value pairs.
Required
{callback:method} The method of referring to the server with the callback. For example, GET, POST. Required
Response example:
    {
      "wallet": "btc-c70afacf0b7d7808e8be36bfd7ceed71",
      "address": "35Gnk75DbehHXkshBX1QzpKdq4AJDW6KKv",
      "callback": {
        "method": "POST",
        "url": "http://example.com",
        "data": {
          "user": "john",
          "order": 123456
        }
      }
    }
    
  

Error Response: