web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / 3rd Party call API in ...
Power Pages
Answered

3rd Party call API in Power App Portal

(0) ShareShare
ReportReport
Posted on by 5

hi,

I have 3rd party payment service,  when my customer purchase order in 3rd party payment service successful then 3rd party payment service must call api to update order record in my portal app 

 

I have research and found Portals Web API 

https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-overview

 

But it seem to be used only inside Power Apps portals pages 

Could you suggest me the best approach for this please?

 

Thanks

 

 

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,449 Most Valuable Professional on at

    Hi, like you mentioned, the Portals Web API has the purpose of performing operations against the CDS/Dataverse. It doesn't really have anything to do about 3rd party integrations.

     

    Power Apps Portals provides capability to add custom JS, so basically you can add any JS to perform anything, including calling a 3rd party API. When talking about payments, you really need to focus on security, you don't want users to inspect your page and have access to your client key/etc.

     

    There are a few options to achieve your requirement. I like having the Portals calling an Azure function, this will add more security and stability for the integration. Take a look at this article that might help: https://medium.com/microsoft-power-platform-tips-tricks/payments-in-powerapps-portal-part-1-2-8ac068821848

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    I haven't looked into it too indepth (I keep putting off implementing a payment gateway), but believe you may be able to make the method suggested in the link provided by @OliverRodrigues more secure (and verify the call is being made by which Portal user) by adapting it to also make use of the Portals Implicit Grant Flow functionality https://docs.microsoft.com/en-us/powerapps/maker/portals/oauth-implicit-grant-flow

    In the other article the author says he does something that is not ideal with regard to the Azure function, and I think you can remedy that by making use of the implicit grant flow functionality

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 33 Most Valuable Professional

Last 30 days Overall leaderboard