Author

Topic: Crypto payment provider that allows split payments (Read 143 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
So there is no ready-made solution for it from payment providers?

AFAIK no. But if you're willing to do your own research (although i doubt you'll find any), you could check this list https://github.com/alexk111/awesome-bitcoin-payment-processors.
member
Activity: 276
Merit: 23
So there is no ready-made solution for it from payment providers?
legendary
Activity: 2702
Merit: 4002
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Most of marketplaces that provide such services are centralized, meaning that you do the following:

 - Create an account in the marketplace.
 - When a user purchases a certain amount from through you, 10% goes to you.
 - After a period of time, a week or a month, you can review your balance and withdraw all amounts.

Thus, the development is in the background by managing the databases, where 10% is added as an update in the database, and in the end all the money and the possibility of withdrawing to your Bitcoin address are collected.

This can be done individually for each transaction, but in this case the user will be given two addresses, the first containing the amount and the second containing 10% of that amount.
member
Activity: 276
Merit: 23
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Have you considered different approach such as
1. Seller manually send you the fee every month or after reaching X dollars? Mycelium Gear have such practice.
2. You're the one hold the coin, where miner can request withdraw manually or automatically (every day X or after reaching X dollar)

Any approach is good as long as the seller can get his money whenever he wants to, if it can be done automatically it's even better
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Have you considered different approach such as
1. Seller manually send you the fee every month or after reaching X dollars? Mycelium Gear have such practice.
2. You're the one hold the coin, where miner can request withdraw manually or automatically (every day X or after reaching X dollar)
member
Activity: 276
Merit: 23
I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller
legendary
Activity: 1932
Merit: 1273
I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself
Would you mind telling us why you want such thing? It seems like an xy problem. ~
Seems like it is. I assume OP is still trying to figure out and seek a workaround for his old problem:

Let me give you an example, let's say I have sellers and buyers on my site. Something costs 100 altcoins, when buyer wants to buy that one thing, I split payments between me and seller. I send 10 altcoins to my address and 90 altcoins to seller's address.

The same with tipping, when user A wants to tip user B with 100 altcoins, 10 altcoins goes directly to my crypto address and 90 altcoins goes directly to user B's crypto address

I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses, first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself
Would you mind telling us why you want such thing? It seems like an xy problem. There's no reason I can quickly think of where you need to get the money in two different addresses. It makes the transaction weight more, which means higher fees, and provides nothing to your privacy.
member
Activity: 276
Merit: 23
I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Thanks for this, but now I'm a little bit confused. So splitting is possible, but in the backend? How?
Yes, you could setup a program that waits for incoming transactions and when someone purchases, to spend that UTXO (Unspent Transaction Output) and create others. This requires you to be a little bit familiar with programming and Bitcoin.

Here's the easy solution for you: When you have a new purchase, send the money in to two addresses instead of keeping it in one.
member
Activity: 276
Merit: 23
The easiest solution to your problem is to just give one address and then split it, in the back-end, into two. This is what BitPay essentially does.

Thanks for this, but now I'm a little bit confused. So splitting is possible, but in the backend? How?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
You can't give a Bitcoin invoice and receive your payment directly in two addresses. An invoice looks like this:
Code:
bitcoin:bc1qm3kz3snga6cvkwemys6hqarxfzxvqvua79naxh?amount=5&time=1641332420

Once the payer scans it/loads it they can only create one output, funding the specified address with the specified amount (if any). The easiest solution to your problem is to just give one address and then split it, in the back-end, into two. This is what BitPay essentially does.
member
Activity: 276
Merit: 23
Hmm ok, is there a way to send one transaction to wallet A then automatically or somehow via API  from wallet A to wallet B another amount?
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
Hi all

By that I mean if a buyer buys something for 1BTC to send 0.5BTC to address A and 0.5BTC to address 2, thus split the payment by doing one transaction
That won't be possible. Miners will only include the transaction the buyer broadcasted, into block for it to be confirmed (I mean buyers will broadcast the transaction, while miner will will include it into block). If you create something like this, this may leave the buyer no choice than to pay into two addresses following specific instructions, but this is highly not recommendable as two transaction fees will be charged for each transaction.

Or maybe it can be in a way once the transaction sent by the buyer is confirmed, maybe it will be possible for a wallet to automatically send certain amount you expect to another wallet. I believe this will be possible but I will leave it for people that know about it to answer you.
member
Activity: 276
Merit: 23
Hi all

Do you know any crypto payment providers like BitPay that allows slit payments. By that I mean if a buyer buys something for 1BTC to send 0.5BTC to address A and 0.5BTC to address 2, thus split the payment by doing one transaction
Jump to: