Coinbase API list real deposits - coinbase-api

I was looking into the coinbase API to find a way to list all deposits made into a specific account but the follow doesn't work for all cases:
GET https://api.coinbase.com/v2/accounts/:account_id/deposits
If the user purchased a share of BTC using a credit card for example the record won't be in deposits but in buys.
Does anyone have any idea on how to achieve this?
Thanks

The Coinbase list-deposits and list-withdraws api calls don't appear to return crypto currency transactions. They only appear to work for fiat. I can't find any docs to verify this but from my tests that appears to be the case.
However, you can see your crypto deposits and withdrawals if you use list-transactions api call.

Related

openSea NFT SDK, how to buy and sell an NFT using the api

I recently stumbled upon the OpenSeaSDK and I want to use it to buy and sell NFTs using it. But I couldn't find a single request to sell or buy, everything is in the Order keyword and they don't show how to use it easily.
Can someone point me to a tutorial or maybe a simple script that I can understand this with?
This is definitely possible in OpenSea -- I'm doing it right now! Here's the code example I'm working off that has how to use the createSellOrder API to create NFT listings with a fixed price or for auctions (the word Order means marketplace listing in their SDK).
https://github.com/ProjectOpenSea/opensea-creatures/blob/3acbd744425c9136899cd105df9591f84f9cea88/scripts/sell.js

Create API key in CoinBase

I want to develop an application that allow users to buy and sell cryptocurrency. While doing my research I found out that CoinBase provide such APIs. So, I started following the document https://developers.coinbase.com/api/v2#introduction I signed up at https://developers.coinbase.com/ and tried to create the API Key. It sends an otp on my registered mobile number, I entered the otp and then few details but when I click on Create API Key, it again sends an otp and this continues in a loop.
Can anyone here, help me how I can create an API Key in coin base to test the APIs?
Also, while going through the document, I can see that there are APIs to show, update or delete account or user but I can't find any API to create an account or user. May I know, how an account or user is created using coinbase API?
A fast response will be appreciated.

We’re sorry. This seller doesn’t accept payments in your currency. Please return to the seller and choose another way to pay in react

I have integrated react PayPal button to in my react app using live client id but when I am trying to make payment using my PayPal account it is showing error We’re sorry. This seller doesn’t accept payments in your currency. Please return to the seller and choose another way to pay..
Searched a lot in google but did not found any helpful source.
Please if you have clue about this kindly help me, struggling for the last 3 days.
Thanks in advance for you any help.
For instance AFAIK there is one possible reason for such an error:
for some countries (e.g. Russian Federation) there is an internal
law avoiding payments in other currency rather than russian rouble
between russian residents.
in this case if payer and payee are both russian residents , payment
won't work if price for product or service is set in USD/EUR .
Looks like India and Russia have similar restrictions regarding to domestic payment currencies. There are some recommendations for India which are useful for Russia as well.
To test that your integration works correctly in case of an international buyer, you may want to create one more sandbox personal PayPal account (with US country of origin). Then you'll be able to invoice and accept payments from both Russian buyer (in rubles) and US buyer (in USD).

Get live Exchange rates with coinbase api

I want to get live lists of all the exchange rates with Coinbase API. I realize that by using this: https://coinbase.com/api/v1/currencies/exchange_rates, I always get the same values, I guess these values change once per day. Is it possible to get live rates?
The simplest way to get nearly realtime data is to use one of the official or unofficial APIs. There exists a function you can use to receive the real time data you want. Coinbase API Reference
Edit 1: As an alternative, you can use the following links for receiving the Buy and Sell prices.
I don't know if this public API is as reliable as an authenticated access.
Edit 2: Even better: The spot price API Endpoint.

alternative of CIM authorized.net

I have a website(PHP) which has payment functionality with recuring/autopayment feature where user will enter their credit card detail once for shopping and from next time onward they don't need to enter their credit card detail again. Credit Card detail will not be saved to my database but will be saved in payment gateway with unique id/reference. I just need to use reference id for payment whenever user do shpping.
Earlier, i was using authorize.net payment gateway with its CIM(Customer Information Management) feature for auto payment which was working fine but now my client does want this payment gateway. I want some alternate payment gateway which support CIM feature.
If someone has already done same kind of stuff then please help me.
Authorized.net is the best option, because of reputation, costs and developer friendly environment. However there are alternatives as stripe, 2checkout, braintree...

Resources