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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

customerPayments endpoint does not return expected data?

(0) ShareShare
ReportReport
Posted on by 5

Hello! 

I'm working on setting up a payments webhook for an integration with Business Central. I received a notification of an updated payment with this body

{"value"=>[{"resource"=>"https://api.businesscentral.dynamics.com/v2.0/production/api/v2.0/companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments(93ec736e-e32a-ed11-97e8-0022481cbde5)", "changeType"=>"updated", "clientState"=>"bob", "subscriptionId"=>"ed3ba66f2a7c4c90a5b77897e1df4c71", "expirationDateTime"=>"2022-09-05T15:13:07Z", "lastModifiedDateTime"=>"2022-09-02T17:20:24.287Z"}]}

But then when I requested the data I received an error. The endpoint I tried is

companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments(93ec736e-e32a-ed11-97e8-0022481cbde5)

And the response I received is BadRequest_ResourceNotFound\n  message: 'Resource not found for the segment ''customerPayments''

Additionally, if I did

companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments

I would receive this response

{"@odata.context"=>"">api.businesscentral.dynamics.com/.../$metadata, "value"=>[]}

Am I doing something wrong? I'd appreciate any help you can provide!

Thanks-

-Andrew

  • Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.

    Thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 757 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 451 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 391 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans