Building blocks for group payments

Pay By Group makes it easy to accept payment from a group of customers online - in your app or on your site. Get integrated quickly by reviewing the Sample Scenarios, and select from our range of API (back-end) and JavasScript Library (front-end) integration tools.

Get Started    

2. Pay By Group's API

If you do not have an Order API for Pay By Group to use or there is certain information related to the purchase that is stored only on your system and required to create the order, you may use the Pay By Group endpoints to accept or reject purchases that are ready to complete.

When any purchase payment is ready for you to confirm, Pay By Group triggers the Payment Authorized webhook. You may use the Pay By Group ID included in the webhook to look up all the details for the purchase from the Get Purchase endpoint at any time. When you receive that webhook and have the purchase information you need to create the order in your system, you should take one of the following actions:

  1. Once you confirm the purchase details and cost match your order requirements, trigger the Accept payment endpoint.
  2. If the inventory is unavailable or the price and other details have changed, follow instructions to Modify the Purchase as appropriate.
  3. If the order cannot complete and there is no inventory alternative you would like to offer / no chance this purchase can become a completed order, then trigger the Cancel purchase endpoint.