help install [login to view URL] crypto api php

Anulat Postat la acum 3 ani S-au achitat serviciile după ce au fost prestate
Anulat S-au achitat serviciile după ce au fost prestate

i need to help install coinbase api

i have the files ready but i get this error everytime i post a request to generate a new btc address

Client error: GET [login to view URL]:accountId/addresses/:ETHaddress resulted in a 404 Not Found response:\n {"errors":[{"id":"not_found","message":"Not found"}]}

here is my code

$apiKey = "xxxxxxxxxxxxx";

$apiSecret = "xxxxxxxxxxxxxxx";

$accountId = "xxxxxxxxxxxxxxxxxxx";

$body = '';

$timestamp = time();

$message = $timestamp . 'GET' . '/v2/accounts/'. $accountId .'/addresses' . $body; $signature = hash_hmac('SHA256', $message, $apiSecret);

$version = '2020-06-23';

$headers = array(

'CB-ACCESS-SIGN: ' . $signature,

'CB-ACCESS-TIMESTAMP: ' . $timestamp,

'CB-ACCESS-KEY: ' . $apiKey,

'CB-VERSION: ' . $version,

'Content-Type: appliaction/json'

);

$api_url = "[login to view URL]'. $accountId .'/addresses";

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $api_url);

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_POST, 1);

$data = curl_exec($ch);

curl_close($ch);

the api key is correct

secret key is correct

account id is correct

PHP MySQL JavaScript AJAX

ID Proiect: #26230905

Detalii despre proiect

3 propuneri Proiect la distanță Activ acum 3 ani

3 freelanceri plasează o ofertă medie de 28$ pentru proiect

mahamadali

I am experienced PHP developer and web designer with the depth knowledge related to MySQL,Codeigniter,Laravel,WordPress,MSSQL,JSON,JAVASCRIPT,AJAX,XML,jQuery,CSS with the integration of web technologies. I have worked Mai multe

$30 USD în 1 zi
(552 recenzii)
7.8
jexxx8910

Hi, I can help you with your error. Please contact me and let's discuss more about this. Thanks.

$15 USD în 1 zi
(32 recenzii)
4.1