Discussions
REST API: Is there an endpoint to pay a pledge?
Hi,
I've could not find any endpoint in Fundraising namespace to pay a pledge.
Should I have to look in another namespace?
Thanks,
Roberto.
Hi Roberto,
Unfortunately, that functionality does not exist yet in the 2017 release. It is available in the iMIS 20 Cloud release and it will be available in the next self-hosted release of iMIS. Here are links for the feature in iMIS documentation:
2017 release documentation: https://help.imis.com/iMIS2017/Video_Library/Coming_Soon.htm?Highlight=%22Pledge%20invoices%20can%20be%20paid%20from%20the%20web%22
iMIS 20 cloud documentation: https://help.imis.com/iMIS20cloud/Features/Fundraising/Finding_gifts.htm?Highlight=%22Viewing%20gift%20and%20pledge%20invoices%22
To pay for the invoice, you will just need to add it to the Cart.ComboOrder.Invoices collection or just directly process it in a new ComboOrder if you are going to process it immediately. (The cart is really just a convention of storing a ComboOrder if you need it to persist while the customer can add multiple things, change their address, etc.) Here's more doc on creating ComboOrders: https://developer.imis.com/v0.1/reference/api-endpoints-1#postcomboorder-1
Hope this helps,
Courtney
Hi Courtney,
Thanks a lot for your response!.
Regards,
Roberto.