<p>I think you may be looking for &quot;Bitcoin Universal Resource Identifiers (URIs)&quot; as specified by <a href="https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki" rel="nofollow noreferrer">BIP21</a>, a standardized string format for bitcoin payment requests.</p>

CC BY-SA 4.0
2021-04-29T02:13:50.753Z
Excellent! Some of this stuff is hard to locate, not knowing specifically what I am looking for.
spencer741
CC BY-SA 4.0
2021-04-28T20:45:22.737Z
2021-04-29T13:35:38.733Z
2021-04-29T13:35:38.733Z
Murch
<p>Unfortunately, your app will most likely get removed from the App Store.</p>
<p>Apples has policy to take a cut for all in-app purchases and so it bans side-channel payments solutions (in this context).</p>

CC BY-SA 4.0
2021-06-29T14:35:56.057Z
2021-06-29T14:35:56.057Z
CypherpunkDev
<p>I have built a very basic custom payment gateway that accepts Bitcoin.</p>
<p>I am running a Bitcoin Core node in a Docker container. I have a backend web service that sends rpc calls to this node to read / send transactions. This web service acts as a bridge from my secured web service to my Bitcoin Core node.</p>
<p>I have an iOS app that I use to accept Bitcoin payments. (it consumes the formerly mentioned web service).</p>
<p>When I want to charge the user (in app purchase), I present the user with the amount of their bill and a QR Code (as any merchant payment gateway would do).</p>
<p>I also allow them to automatically copy the information to the clipboard to paste into their crypto exchange for sending. This is usually how they send the transactions. You can’t exactly scan a QR code if it’s on the same device you’ll be sending a payment from (via the Coinbase app or whatever).</p>
<p>Is there a better way to do this that I’m not thinking of? I really want the UX to be smoother. It would be cool if you could auto-open the Coinbase app and pass data to populate the payments screen in Coinbase, so the user can proceed from there. Maybe using iOS universal links? I can’t seem to find anything on the internet about this level of functionality.</p>

CC BY-SA 4.0
2021-04-28T19:35:30.350Z
Hi spencer741, welcome to Bitcoin SE! I'd recommend rewording your question a bit to clarify exactly what you're asking, as it currently comes across as too broad and opinion-based, asking about whether a particular UX is"good" or can be improved. Thanks!
meshcollider
<bitcoin-core><bip21-uri>
Custom Payment Gateway UX Help (in app purchases)
spencer741
# Custom Payment Gateway UX Help (in app purchases)

(Asked by: username_0 on 2021-04-23)

I have built a very basic custom payment gateway that accepts Bitcoin.

I am running a Bitcoin Core node in a Docker container. I have a backend web service that sends rpc calls to this node to read / send transactions. This web service acts as a bridge from my secured web service to my Bitcoin Core node.

I have an iOS app that I use to accept Bitcoin payments. (it consumes the formerly mentioned web service).

When I want to charge the user (in app purchase), I present the user with the amount of their bill and a QR Code (as any merchant payment gateway would do).

I also allow them to automatically copy the information to the clipboard to paste into their crypto exchange for sending. This is usually how they send the transactions. You can’t exactly scan a QR code if it’s on the same device you’ll be sending a payment from (via the Coinbase app or whatever).

Is there a better way to do this that I’m not thinking of? I really want the UX to be smoother. It would be cool if you could auto-open the Coinbase app and pass data to populate the payments screen in Coinbase, so the user can proceed from there. Maybe using iOS universal links? I can’t seem to find anything on the internet about this level of functionality.

**Tags:** bitcoin-core, bip21-uri

> **Comments:**
> **username_1**: Hi username_0, welcome to Bitcoin SE! I'd recommend rewording your question a bit to clarify exactly what you're asking, as it currently comes across as too broad and opinion-based, asking about whether a particular UX is"good" or can be improved. Thanks!  

---

## 2 answers

### Answer by username_2 on 2021-04-28. Score: 1 | Accepted answer

I think you may be looking for "Bitcoin Universal Resource Identifiers (URIs)" as specified by [BIP21](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki), a standardized string format for bitcoin payment requests.

> **Comments:**
> **username_0**: Excellent! Some of this stuff is hard to locate, not knowing specifically what I am looking for.  

---

### Answer by username_3 on 2021-06-29. Score: 0

Unfortunately, your app will most likely get removed from the App Store.

Apples has policy to take a cut for all in-app purchases and so it bans side-channel payments solutions (in this context).


---

