---
title: "Confirm Stripe payment and process P2 payment in one atomic operation"
method: POST
path: "/api/v1/ExternalPayment/{guid}/confirm-and-process-payment"
tags: ["ExternalPayment"]
---

# Confirm Stripe payment and process P2 payment in one atomic operation

`POST /api/v1/ExternalPayment/{guid}/confirm-and-process-payment`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/ExternalPayment/{guid}/confirm-and-process-payment`
- Auth: none declared

## Path parameters

- `guid` string, required

## Request body

- ConfirmAndProcessPaymentRequest
  - `PaymentIntentId` string, nullable
  - `ReturnUrl` string, nullable
  - `ReceiptEmail` string, nullable
  - `Amount` number, double
  - `CustomerEmail` string, nullable
  - `PaymentMethodId` string, nullable: The Stripe PaymentMethod ID to attach for direct charges
  - `SelectedPaymentMethod` string, nullable: The payment method the user selected in the UI (creditcard/debitcard/ach). When present this takes precedence over server-side PI metadata detection.

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
