<ol>
<li>User creates an account on the exchange.</li>
<li>User submits KYC documentation such as their ID, bank statements, etc., and waits for exchange to review the documentation and the account to be approved.</li>
<li>User attaches their payment method: bank account/credit card.</li>
<li>User places a buy order on the site; the order gets fulfilled.</li>
<li>User withdraws their purchased crypto.</li>
</ol>

CC BY-SA 4.0
2022-01-12T10:40:38.323Z
Hi, thank you. I'm familiar with this process. What I'm trying to figure is how would I build something like MoonPay? What is the underlying process to selling crypto to users through their debit cards?
Obakeng Mosadi
CC BY-SA 4.0
2022-01-14T01:57:17.657Z
@ObakengMosadi The hardest part of doing something like that is probably getting the approval from a bank to process debit transactions for you. You'll have to work out with your acquiring bank what regulatory steps they'll need you to complete to offer that. But once you have the money from the user, you'd just buy the crypto off of an exchange and send it to the user.
ieatpizza
CC BY-SA 4.0
2022-01-05T13:54:13.673Z
2022-01-05T13:54:13.673Z
ieatpizza
<p>I am building a crypto on-ramp for users in emerging markets that allows users to buy crypto via debit/credit cards, mobile money, etc.</p>
<ol>
<li>What is the flow of buying crypto on behalf of users? From payment to acquiring the cryptocurrency to sending to a user's wallet address.</li>
</ol>
<p>I'd like some detail if possible.</p>
<p>I've looked at Binance, Blockchain, Bitfinex, Kraken, Gemini APIs as well as other APIs and so far to my understanding, buying would involve creating a trading account with an exchange, filling the account with some amount of money and then calling the exchange's API to make a market order when a user requests so.</p>
<ol start="2">
<li>Am I on the right path or is there a better way to go about this?</li>
</ol>

CC BY-SA 4.0
2022-01-07T18:43:14.063Z
Does this answer your question? [How do you obtain bitcoins?](https://bitcoin.stackexchange.com/questions/91/how-do-you-obtain-bitcoins)
dark knight
CC BY-SA 4.0
2022-01-12T10:38:35.033Z
@darkknight thank you but not it doesn't. So, what I'm trying to figure out is to facilitate the buying process for users like a Coinbase or Binance, should I start with one of these exchanges' API or should I run a full node with some liquidity to sell to users? Or is there another way? An example of what I'm talking about is MoonPay in the US.
Obakeng Mosadi
<exchanges><api><payment>
What is the flow of buying crypto on behalf of users?
Obakeng Mosadi
# What is the flow of buying crypto on behalf of users?

(Asked by: username_0 on 2022-01-05)

I am building a crypto on-ramp for users in emerging markets that allows users to buy crypto via debit/credit cards, mobile money, etc.

1. What is the flow of buying crypto on behalf of users? From payment to acquiring the cryptocurrency to sending to a user's wallet address.

I'd like some detail if possible.

I've looked at Binance, Blockchain, Bitfinex, Kraken, Gemini APIs as well as other APIs and so far to my understanding, buying would involve creating a trading account with an exchange, filling the account with some amount of money and then calling the exchange's API to make a market order when a user requests so.

2. Am I on the right path or is there a better way to go about this?

**Tags:** exchanges, api, payment

> **Comments:**
> **username_1**: Does this answer your question? [How do you obtain bitcoins?](https://bitcoin.stackexchange.com/questions/91/how-do-you-obtain-bitcoins)  
> **username_0**: @username_1 thank you but not it doesn't. So, what I'm trying to figure out is to facilitate the buying process for users like a Coinbase or Binance, should I start with one of these exchanges' API or should I run a full node with some liquidity to sell to users? Or is there another way? An example of what I'm talking about is MoonPay in the US.  

---

## 1 answers

### Answer by username_2 on 2022-01-05. Score: 1

1. User creates an account on the exchange.
2. User submits KYC documentation such as their ID, bank statements, etc., and waits for exchange to review the documentation and the account to be approved.
3. User attaches their payment method: bank account/credit card.
4. User places a buy order on the site; the order gets fulfilled.
5. User withdraws their purchased crypto.

> **Comments:**
> **username_0**: Hi, thank you. I'm familiar with this process. What I'm trying to figure is how would I build something like MoonPay? What is the underlying process to selling crypto to users through their debit cards?  
> **username_2**: @username_0 The hardest part of doing something like that is probably getting the approval from a bank to process debit transactions for you. You'll have to work out with your acquiring bank what regulatory steps they'll need you to complete to offer that. But once you have the money from the user, you'd just buy the crypto off of an exchange and send it to the user.  

---

