Error Accessing Payments API in Power Automate
I'm attempting to use the "Send an HTTP Request" to access to Payments API in Power Automate, but I'm receiving error "404 Resource Not Found."
Using the Sky API Console ("Try It" on the Payments API reference) I was able to find our Payment Transaction ID. I then tried the GET Disbursement List action in the Sky API console. That was successful and the output lists all the disbursements since we started using BBMS.
However, any attempts to access the Payments API using the Send HTTP Request action in PA result in the "404 Resource Not Found" error.
Here's an example of the action in PA:
And here's what I get in the output:
Since everything works in the Sky API Console, the issue clearly lies in PA, but I'm not clear if this is a permissions issue, if I have something incorrect in the Send HTTP Request action, or what.
@Erik Leaver , tagging you since you helped me narrow this down to PA yesterday,
Best Answer
-
Hi @James Belich we ran into some technical issues in final UAT so we had to pull the announcement. With bbdevdays wrapping up, I'll have time to refocus.
0
Answers
-
Two quick changes you'll want to make.
First, the Relative path URL should only be the part of the URL that comes after "blackbaud.com". In your case, you should change that to "/payments/v1/disbursements".
Second, you can't pass query parameters in the relative path field, so remove the "?payment_configuration_id=###" from your URL and put that information in the Query parameters section instead.
0 -
Thank you @Ben Regier , I'd forgotten about needing to use the relative path. I've updated that and put the payment configuration ID in the query parameters.
So now I'm getting a 401 error: "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." I assume this means I'm not passing in the subscription key correctly (I did double check that I'm using one of the keys for the Payments API and not the Standard API).
I'm passing in the subscription key through the headers (which is how the Sky API console seems to do it):
I'm guessing though that this might not be the right way to do this based on the error I'm getting.
0 -
The Blackbaud connector handles all the authorization and subscription parts of the call for you, so you should be able to remove your headers from the HTTP action and try it again.
0 -
I get the same 401 error about an invalid subscription key even if I remove the headers, so it's clearly not getting the correct key, but I'm not clear on where in the process that takes place. I'll keep playing around with it.
0 -
The Blackbaud HTTP action does have some restrictions on which APIs it can call. I wonder if Payments is one of the APIs that is not allowed. I've used the HTTP action quite extensively and have never had to enter my subscription key in the headers, so I think the error message you're seeing is misleading. I would guess that Payments are outside the scope of this action.
0 -
From other threads it seems like at least some people are able to call the Payments API (although I guess I can't be sure they're trying to do so through Power Automate).
@Erik Leaver , is this something you can answer? Is the Payments API accessible through PA's Send HTTP Request action?
0 -
@James Belich I'm looking to confirm the http access but I'm almost certain that you can't call the payments APIs from it.
Teaser: There will be a related announcement at bbdevdays that should create a pathway forward.0 -
Hi @Erik Leaver, I think I missed the announcement at BBDevDays regarding the Payments API. Is there now a way to access the payments API through Power Automate?
1 -
In today's Power BI user group meeting, @Rebecca Sundquist confirmed that the payments API should be be accessible using the "Send HTTP Request" action in Power Automate. I'm still getting the "401 Access denied due to invalid subscription key" error.
Has anyone been successful in connecting to the payments API in Power Automate? If so, are you able to share an example of the settings you used?
0 -
I took a closer look at how the Payments API works. I think the problem is that it uses a different subscription key than the standard API. With the Send HTTP Request action, the standard API subscription key is added to your call for you, and there's not a way to overwrite it with the Payments subscription key.
I would be happy to be proved wrong, but I don't see how the HTTP action could work for the Payments API because of this.
A custom connector would be able to make calls to the Payments API, because it gives you more control over the subscription key that is used. It's more work, but once you have created it, you could use it to access all of the Payments API endpoints.
0 -
Thanks, @Ben Regier , I may need to go that route (new territory for me, but this may be a good opportunity to learn!). I'm hoping @Rebecca Sundquist will be able to weigh in on the best way to connect to the payments API via Power Automate.
0 -
@Ben Regier is right. I spoke too soon and I forgot about the separate subscription key. I'm sorry, @James Belich , my memory was from using SKY API Console only. Thanks for tagging me into this conversation!
0 -
@Rebecca Sundquist , thanks for the update!
I guess it's back to you, @Erik Leaver . You mentioned there would be an announcement at BBDevDays regarding a path forward to access the payments API via Power Automate?
0 -
@Erik Leaver , thanks for the update. Glad to know I didn't just miss the announcement. š Sounds like a solution will be coming soon.
0
Categories
- All Categories
- New YourCause Community TEST
- New SKY Community TEST
- New Grantmaking TEST Community
- New Altru Test Community
- New bbcon Community - TEST
- 12 Blackbaud Agents for Goodā¢
- New Raiser's Edge NXT Community
- 7 Blackbaud Community Help
- 218 bbconĀ®
- 1.4K Blackbaud AltruĀ®
- 409 Blackbaud Award Management⢠and Blackbaud Stewardship Managementā¢
- 1.2K Blackbaud CRM⢠and Blackbaud Internet Solutionsā¢
- 16 donorCentricsĀ®
- 361 Blackbaud eTapestryĀ®
- 2.7K Blackbaud Financial Edge NXTĀ®
- 681 Blackbaud Grantmakingā¢
- 599 Blackbaud Education Management Solutions for Higher Education
- 3.3K Blackbaud Education Management Solutions for K-12 Schools
- 952 Blackbaud Luminate OnlineĀ® and Blackbaud TeamRaiserĀ®
- 85 JustGivingĀ® from BlackbaudĀ®
- 7K Blackbaud Raiser's Edge NXTĀ®
- 3.9K SKY Developer
- 257 ResearchPointā¢
- 123 Blackbaud Tuition Managementā¢
- 165 Organizational Best Practices
- 247 Member Lounge (Just for Fun)
- 40 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Closed) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 822 Community News
- 3.1K Jobs Board
- 57 Blackbaud SKYĀ® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)









