Create invoice
Create invoice item
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 |
|
Invoice ID | |
Invoice Status |
|
Payment Intent ID |
|