Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Build an API for Fundraising to trigger Invoice creation from Salesforce to Stripe.

This is an invocable method that will

Invoice API with Fundraising Extension Process Flow

Invoice API Data Flow

  1. Create invoice

  2. Create invoice item

  3. Pay invoice

This API will only do the callouts unto the stripe system and not create a single gateway invoice record upon execution. When an invoice is created in the Stripe system, we utilize webhook to pass an event (with the complete invoice details) to PosiPay. PosiPay will translate the raw JSON response from the webhook and create its gateway invoice record in Salesforce.


Gateway Invoice Mapping (Salesforce → Stripe)

Gateway Invoice Field

Response Field

Amount Paid

amount_paid(Invoice)

Invoice ID

 id (Invoice)

Invoice Status

status(Invoice)

Payment Intent ID

payment_intent(Invoice)

  • No labels