Validate a Shopify Gift Card - shopify

So, I researched Shopify API docs and found the admin resource for Gift Cards, which enables store owners to create/list/update Gift Cards.
But what I'm trying to find is the API that can validate a Shopify Gift Card through its code, that belongs to anyone.
I know I can do this in Shopify Checkout where I can input the code and it will add the code to the checkout if it's a valid code.
Is there a way to do this through an API? If Shopify doesn't have this API, is there any online service for this?

Related

How can I send request from Shopify to an external API?

I'm trying to make an integration between Shopify and an external bank API.
The integration is simple, is just request a JWT in the bank endpoint, sending data, and receive a response. My problem is that I have never used Shopify, and I'm not sure if it has a backend to make all this process and how does it works or where could I find it. I search in Google but I didn't found a clear answer for this.
Can anybody help me? Thanks a lot.
you have multiple ways to do this, all depends what you need.
search on settings / payment methods if this bank has already a connection with shopify
Search on shopify apps store if already exist a shopify app for this bank.
If don't exists you can do your own app. there you have two options public or custom apps
If I was you I'll do a public app because I can sell to more shopify customers interested on use the same bank, you can even sell the app to the bank itself on the future.
You should follow the directives from shopify dev

Can we add credit/debit cards through paypal rest apis

I tried to find apis in paypal documentation but not found so is it possible to add cards through paypal REST APIs
You can search for PayPal vault. To process cards with it, activate Advanced Credit and Debit Cards on the live account and use the payment_source object of a v2/checkout/orders request

How to create an order from sales channel and redirect the user to Shopify store for payment?

I am working on an e-commerce website similar to E-bay or Amazon, where sellers can list their products.
I have also created a Shopify Sales Channel for my e-commerce website, which can import products from Shopify. A Shopify store installs the Sales Channel App and their products will be imported to my e-commerce website.
All of this is working fine... now I want to build the last step, which is buy the product. A buyer comes to my e-commerce website and wants to buy a product which has been imported from certain Shopify store. I want to enable the buyer to create an order from my e-commerce website.
According to Shopify documentation:
By default, your app can provide checkout links to Shopify's web
checkout for each product. This lets your platform use Shopify's web
checkout instead of building your own native checkout form. You can
direct customers to a checkout link by using the web_url parameter of
the Checkout API.
This is what I want... I want to allow a buyer in my e-commerce website to create an order and redirect him to Shopify for payment... buy how can I actually implement this? Would I be able to implement this using Order API? And how could I redirect the user to Shopify store for payment?
If redirecting user to Shopify store for payment is not an option, then do I need to implement the payment process within my e-commerce using the Checkout API? Would anyone be able to give some details about this?
Use DraftOrder API to create an order. Once created it has the invoice_url attribute which can be used to pay and complete that order.

Shopify Admin API - add sales channel to product

I have some products that I want to add them a sale channel using Shopify API, and not ask the user to do that manually from Shopify dashboard.
any way to do that?

Customize Shopify by integrating with a 3rd party gift card API

We are looking to integrate Shopify with a 3rd party gift card service. We want users to be able to buy a gift card provided by the 3rd party, and then when checking out on Shopify, to be able to use that gift card to pay for the purchase.
The 3rd party gift card has APIs we can use.
How could we do this with Shopify?
For this you will need to build an Private Shopify App.
Using Shopify API you take the gift card details on the CART PAGE (not checkout unless you are a plus store)... the app will contact the Gift Card service, then if all goes well create an order in the admin section via Shopify API.
This can be 'marked as paid' and there relevant details added to a note in the newly created order.
As we would be skipping the checkout process, if your shipping out physical goods you'd need to collect the shipping address somehow.
Cost wise, its not going to be cheap but its more then do-able...