I am looking for an API to allow customers to pay a service in bitcoins by inputting their credit card number or via bank transfer. Ideally the gateway would buy the bitcoins with the credit card and deposit them on a provided bitcoin wallet address.
I found some services like https://cex.io, but their api (https://cex.io/rest-api#place-instant-order) is not offering the payment through credit card option. Any idea what would be the best way to implement something like this?