API usage to add payment gateway to merchant

Oleg4
New Member
2 0 0

Hi, I'm working on custom payment gateway.

I've read information about publishing gateway written there and I want to know is there any ability to automate this process? Can I use some API to manage merchant gateways (who trusted me) somehow without giving a link to activate gateway in Shopify, be redirected on your site etc? Haven't found such info at the moment, but maybe I miss something

Thanks

Replies 3 (3)
KarlOffenberger
Shopify Partner
1873 184 889

Hi Oleg,

Can you manage merchant store configurations specifically payment provider settings via API - no, not that I am aware of.

Regardless, I am not sure what exactly you're trying to achieve. Are you trying to create a payment gateway option that isn't published on Shopify and thus doesn't use the Hosted Payment SDK, but still be able to provide your customers (who are Shopify merchants) the ability to use your gateway integration as a payment provider during regular Shopify checkout?

Best wishes!

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
Oleg4
New Member
2 0 0

Thanks for reply.

We use Hosted Payment SDK but gateway not public yet because only a small amout of shops uses it. When our gateway becomes public nothing changes except customers can install gateway from the predefined list instead of following to link generated by Shopify to install gateway given them. What do we want is to have control of payment providers for shop merchants.

Let's assume another scenario - we are shop merchant having shop and valid account on Shopify. Can I use your API to control my payment providers for my shop without UI?

Sincerely, Oleg

KarlOffenberger
Shopify Partner
1873 184 889

Thanks for explaining. Unfortunately, like I said before, there isn't a public API that can write store settings (apart from adding store countries I think). Actually, I don't think there's even a public API to simply query all payment methods that are active on a store. In fact, if we take it even further and poke around in the UI, unlike some /admin/settings/xxxxxx endpoints that can return JSON, the payments.json doesn't exist.

In general, I'd not have high hopes of doing any kind of automated configuration of stores on Shopify, be that for merchants or integration testing of apps.

Best wishes!

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie