Is there a way to create a new Coinbase account for someone else (as a gift) using the API? - bitcoin

I'd like to know if there's a way to use the Coinbase API create a new Coinbase account for someone who doesn't have a Coinbase account and possibly even deposit some Bitcoin/Ethereum for them in it?
I've seen the API docs on Authentication but it seems like accessing one's own account or letting existing Coinbase access a 3rd party app.

The closest thing I can think of is to simply send the gift crypto currency to an email address.
https://developers.coinbase.com/api/v2#send-money
If the email address already has a coinbase account associated with it the account will simply be credited. If the email does not have a coinbase account they can easily sign up to claim the gift just by entering the password they want for their account. The account will be created using the email the gift was sent to and the password they chose after clicking the link in the email.

Related

PayPal API for “not-merchant”/private account

I start up my business so not have documents for business so I create an account personal on Paypal
so can using API or not for a private account can or not?
and I need to create something if client paid by PayPal credit card or Paypal account can't make refund again without my permission
Any suggestions?
You should upgrade to a PayPal Business account.
If you're able to obtain the necessary API credentials via https://www.payapl.com/api , you might be able to receive API-based payments with the account as it currently.
Exact specifics and potential issues can depend on your location and integration method, however--so again, you should upgrade to a PayPal Business account.

PayPal and payment implementation

I am designing a website that accepts payment through simple PayPal or Stripe buttons, but also has a section that pays out users through PayPal. What is the best way to do this?
Current setup: The user builds up coins through an action (NDA won't allow me to discuss in detail) and when their coins reach a certain amount, they can cash out in real $. I have designed this flow: Pay Me Now Button -> Screen with PayPal email address input. Repeat email for typos, then Confirm Button -> Success screen
However, the client would prefer a direct link out to PayPal instead of manual input of email addresses. The reasoning is that they would prefer it being arranged through PP's service to reduce manual errors and typing out. As far as I am aware the only way to get paid is through writing down an email address/phone number. I have researched PayPal.me buttons but it still isn't making sense. Maybe there's another service altogether that I can suggest to the client for paying out users in a no-friction way?
I'm looking at how user testing sites pay people, but not getting very far.
If the money is in your client's PayPal account and they wish to send it to a user's email address (that may or may not have a PayPal account already), this can be automated with PayPal Payouts.
If the user does not have a PayPal account already they will receive an email notification and have 30 days to create an account or add the email to an existing account. If they don't, the payment will be refunded automatically.

Can the PayPal API track inbound payments in real time?

I'm planning to create a web application that allows a user to track donation amounts to their PayPal account that are posting in real time towards a goal.
I need to know...
A. If it's possible
B. If the path I'm using is the best path
c. What is the best path is b isn't.
The flow would work like this.
1) User visits site and enters their PayPal Email address / password / goal donation amount. I'd then be able to make api calls on behalf of this user.
2) I'd use the API call and make a webhook on this users account for when donations come in (The webhooks only say it can fire when sales come in, but maybe donations count as a sale?)
3) I'd have a function on my website ready to accept the post data and update the tracker.
So if the tracker starts out saying 0/300 (user entered 300 for goal amount at the start), then a 15 dollar donation comes in it will update to 15/300, and if another donation for 5 dollars comes in it will say 20/300 etc...
Thanks for any suggestions / help!
Instead of using the user's PayPal email address and password, PayPal has something called a client id and client secret. These work like passwords to make API calls and allot safer than asking for the real email address and password from your user. If you revise your #1, then it is certainly possible to make API calls and receive webhooks just like you described.
Link to PayPal Authentication & Headers: https://developer.paypal.com/docs/api/#authentication--headers
Link to PayPal Notifications for managing webhooks: https://developer.paypal.com/docs/api/#notifications

Using Stripe Connect to facilitate transactions between users?

Specific requirements for my app:
buyers must be able to use credit card
i want to collect a portion of each transaction (fee)
I was initially using Dwolla but realized that users would not be able to pay with credit cards. Now I'm looking at Stripe and see that they have Stripe Connect.
Would Stripe Connect fit the bill? A post here says that SC "would require the [recipients] to have business licenses". Is this true?
Also, looking at the API, I don't see how to direct the received funds to a recipient account. It seems like all you can do is "charge" the card. This seems like it would just put all of the funds in my account. All I want is a portion (fee) and then have the rest somehow deposited in the recipient's account. Is this possible, and if so, how do I specifiy the recipient in the API call?
It's best to view Stripe Connect as OAuth. Merchants can connect their Stripe accounts with you, and you can authenticate to Stripe with their details, and make charges on their behalf. You can take a fee off the top using the 'application_fee' param.
As to your first question, all users would have to sign up to and abide by Stripe's terms. They don't necessarily need to be businesses though - they could be sole proprietors.
You can find more docs on Connect here. https://stripe.com/docs/connect

Get customer invite token

Annoyingly, Shopify does not allow registration until completing checkout. I want people to be able to register before buying so that I can use their logged-in state to trigger some template changes, discounts, etc.
I've worked out how to add customer accounts using the API, but this effectively only sets the account up for activation. I would have to manually approve each registration from the Shopify admin panel. Not cool!
Invitation emails contain a URL which follows this pattern:
http://shopname.myshopify.com/account/activate/14e18ab6887f4f61d8fb038bb956be99
Does anybody know if there's a way to get that activation token with the API so I can send out activation emails of my own, straight after adding the user?
This is available in the admin now.
Unfortunately there's no way to create customer accounts and send the activation emails automatically. This is an issue we're aware of and are looking to fix in a future release.
You can send an email invite now from the Shopify admin, but this is still manual. You have to go into each customer and click a link to send the invite.
There is an app available now called 'Automatic Account Invites' in Shopify that will automatically send the invites when a customer is created in Shopify.
Automatic Account Invites for Shopify