Skip to main content

Notifications

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 384

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? 

  • Suggested answer
    Rehan Satti Profile Picture
    634 on at
    RE: Post Payment through API call in Business Central

    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. 

  • Suggested answer
    Mohamad Vajid Profile Picture
    on at
    RE: Post Payment through API call in Business Central

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 953

#2
YUN ZHU Profile Picture

YUN ZHU 921 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 602

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans