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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Post Payment through API call in Business Central

(1) ShareShare
ReportReport
Posted on by 410

Hello developers,

I want to post customer payment through API. Anybody have done this? Please provide any reference. Do i need to create own on bound function? 

I have the same question (0)
  • Suggested answer
    Mohamad Vajid Profile Picture
    on at

    Hi,

    You can follow the provided examples on the API documentation:

    docs.microsoft.com/.../dynamics_create_customerpayment

    You may have to create and call your own API if it does not exist in the standard list.

  • Suggested answer
    Rehan Satti Profile Picture
    634 on at

    Hi Aisf,

    I would suggest to create a custom table and publish its page as web service. Insert your relevant data using api call.

    Then make a code-unit to handle the posting as an extension after validating the relevant data in your custom table . Finally schedule it in a job queue. 

    Now when you enter the data in your custom table using page api service, the scheduled job will take care of it and post the entery using journal (the logic you have written in your code-unit)

    Hope it will work for you. I would suggest to handle posting routine from inside Business Central. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans