Shopify App: Payments extensions - Payment URLs secure with x-api-key header?

srai
New Member
2 0 0

We are trying to find a way to secure Payments extensions - "Payment URLs" for our Shopify App for these:

  • Payment session URL
  • Refund session URL
  • Capture session URL
  • Void session URL

These are pointing to internal API endpoints on our end. We need a way to add "x-api-key" header to the requests to secure the calls on our API Gateway from Shopify redirects. How can we do that?

Or do you recommend an alternative way?

Reply 1 (1)
srai
New Member
2 0 0

Screen Shot 2021-11-09 at 2.22.42 pm.png

How do you secure the above calls from Shopify? There doesn't seem to be a way to add headers to these calls.