Questions tagged [coinbase-php]

PHP wrapper for the Coinbase API

This is the PHP client library for the Coinbase Wallet API. It provides an interface to integrate Coinbase Wallet into a PHP project.

71 questions
7
votes
3 answers

Coinbase Multiple Wallets

I'm getting this error while creating new accounts. (1/2) ClientException Client error: POST https://api.coinbase.com/v2/accounts resulted in a 400 Bad Request response: {"errors":[{"id":"invalid_request","message":"Creation of multiple BTC…
Taylor
  • 2,981
  • 2
  • 29
  • 70
4
votes
3 answers

PHP authentication to Coinbase Exchange private API

I'm trying to get authenticated to the Coinbase Exchange private API to get balances and place/cancel orders. Below is a demo version of the code that I'm trying to use. I have followed the docs but I keep getting the following…
4
votes
3 answers

How do I interact with Coinbase's API? Why does it always fail?

Accessing the Coinbase API used to be really simple: all you needed was an API key. Now you need something called a "nonce" and a "signature". I pass my new API "Secret", the nonce, and the Key in my request, but it returns an "invalid_key" error.…
RobertAKARobin
  • 3,933
  • 3
  • 24
  • 46
3
votes
0 answers

{“message”:“invalid signature”} Coinbase Pro API

I've been tearing my hair out for a while now. What I have so far is cribbed from the Coinbase Pro API documentation. The Coinbase Pro API requires four different headers, one of them being a signature that's encrypted. I'm having issues forming a…
3
votes
1 answer

Verify Coinbase IPNs using HTTP_X_SIGNATURE

I have integrated Coinbase for bitcoin transactions and, in addition to other security features already implemented, would like to verify that IPNs actually came from them using their signature. Their support indicated to "Verify that the correct…
valME.io
  • 109
  • 1
  • 3
3
votes
2 answers

Get amount of Bitcoins at an address with PHP

I'm using Coinbase, but they don't have an API call to get the amount of Bitcoins per address, but only per account, which is a collection of addresses. Does anyone have an API call for this? I'd prefer to not to reinvent the wheel by setting up my…
tim peterson
  • 23,653
  • 59
  • 177
  • 299
2
votes
0 answers

Coinbase API returns Cloudflare captcha check and fails to execute

After a year of my server working perfectly fine, since last week, I am no longer able to successfully hit the Coinbase API, even though no code has been changed on my side whatsoever. The response I'm currently getting from all calls, is a HTML…
2
votes
0 answers

Deposit from paypal to coinbase

I want to transfer/deposit money from attached paypal account to coinbase. But all api methods dont work. Get payment ID - client.get_payment_methods() "label": "Daily PayPal limit" Make buy/deposit methods. Deposit return - Can't deposit with…
2
votes
0 answers

Why coinbase official library python and nodejs are deprecated in github?

Try contacting the coinbase support team but I have no answer. I am interested in using your api, but I don't understand why it changes the "python and nodejs" official libraries to "deprecated". Anyone have news? https://github.com/coinbase enter…
2
votes
1 answer

Uncaught Error: Class ApiKeyAuthentication

I am trying to use coinbase's Official PHP API but I am facing problem in using following code:
عثمان غني
  • 2,786
  • 4
  • 52
  • 79
2
votes
1 answer

How do I get a Coinbase current user's info via API calls using OAuth2 and PHP?

I've set up a site that can successfully store access tokens and grab the account balance, per the example in the Coinbase PHP library. I'm a little stuck now; It isn't obvious to me how to employ the various api calls available for Coinbase. I'm…
sersun
  • 847
  • 1
  • 7
  • 17
1
vote
0 answers

Integrating coinbase commerce API in PHP

I am integrating Coinbase Commerce API in my PHP web application for accepting payments. I am taking reference from official PHP library for the Coinbase commerce So I have a addfunds.php Where can choose the amount and payments method, here is the…
1
vote
1 answer

Coinbase API returning invalid access token (Oauth token)

I'm using PHP and I've successfully generated an access token for a user using Coinbase Oauth2 to sign in to my application. However, on using the same code to fetch the data of the user, I keep receiving the result…
1
vote
1 answer

coinbase-php api authenctation error invalid signature

When I send get request to retrieve the latest address it works fine but when I tried to send a post request to generate a new address I get this error authentication error invalid signature I'm sure everything is correct because I followed their…
Reko Mo
  • 11
  • 1
1
vote
1 answer

API Error response when creating a request transaction: Missing parameter: `type`

When creating the transaction using the Coinbase PHP Library I am getting the following error from the API; Missing parameter: type I added debug statements to double check that the library is properly sending the type, which it is. type:…
Sean Burke
  • 11
  • 1
1
2 3 4 5