How to send payments to my users using Coinbase API? - coinbase-api

I am able to receive payments using Coinbase Commerce API, but in my application I need to pay/send payments to my users too. Coinbase Commerce API do not offer this functionality, just checkout and charges to receive payments. How to sent payments using Coinbase?

Coinbase offers a different API for its Coinbase Pro and regular Coinbase services.
Coinbase Commerce's API does not support sending payments because Coinbase Commerce is not a vendor managed wallet (in that Coinbase does not have the keys). This means that Coinbase does not have the cryptographic authority to send funds, since this would reduce the security of the wallet.

Related

Register a new user using the coinbase API?

We are creating a DiFi app and I'd like our customers to be able to sign up to coinbase and go through KYC/AML so they have an account in their name, but without them having to leave our site. The reason we want them to have their own account is that we are not regulated to handle customer's fiat funds - though we are able to manipulate funds in a customer's account if they give us permission,
Is it possible to register new users onto coinbase through the coinbase APIs or do users need to go to the coinbase website to sign up?
Being able to register for another service through your service can open an array of security vulnerabilities. You could do it by reverse-engineering their API, but it would certainly be questionable.
Instead, the Coinbase API does have OAuth2. This would allow your users to connect their accounts in a secure manner.
You can find the integration instructions here.

Coinbase API returning transactions from other accounts

There appears to be a problem with the Coinbase API mixing and returning transactions from both CoinBase and CoinBase Pro wallets of the same token type. I can't find a better way to report this, and supposedly Coinbase monitors this tag so let's see..
For example, I authorized the Coinbase API with Read access to my BTC wallet on Coinbase. However, it is returning transactions from both my CoinBase BTC wallet and my CoinBase Pro BTC wallet (these are two different wallets/addresses).
This seems like a real problem, that the API is returning transactions from wallets it isn't supposed to.. 😲

Gmail .NET API features

1) Does GMail API work with free GMail or only with its paid GSuites version.
2) My .NET API client will be limited to sending a few emails a day to a small fixed set of addresses, the emails won't contain any sensitive personal data. Will it be easier for me to implement this with API keys or with OAuth 2?
Thank you .
Gmail API can be used with a regular Gmail account, no G Suite version needed. The API usage limits though, might vary depending on your account.
You have to use OAuth, as you can see here (API keys are usually used to access public resources, which is not the case):
Requests to the Gmail API must be authorized using OAuth 2.0 credentials.
Reference:
Implementing Server-Side Authorization

Coinbase API - Get all of user's wallets

I'm creating an app to allow people to view their coinbase balances. Right now it seems like they'd have to authorize separately for me to view balances on each wallet. Is there any way I can allow the user to grant me access to read the balance on all of their coinbase wallets?

Is there an API to pull emails and calendars of everyone in the company in Google Apps for business?

The company I work in has Google Apps for business account and I want to create this pet project (guided by HR) in which I need to fetch all the emails and calendars of everyone in this company to do some analysis. I am not bothered with the content of the email I just need the sender's and reciever's info. Is there an API for that?
(assume I will have admin access to the account).
Gmail IMAP and Google Calendar both support OAuth 2.0 authentication with a service account allowing you to authenticate as your end users to get/set/modify their data:
Gmail OAuth 2.0 Authentication
OAuth 2.0 Service Accounts
Google Calendar v3
Google Drive Domain-wide Delegation of Authority (process is identical for Calendar v3 API all the way up to the point of building the service)

Resources